Commit 53683f61 authored by Benedikt Schmidt's avatar Benedikt Schmidt Committed by Christopher Friedt
Browse files

dts: bindings: gpio: add binding for GPIOs in ADS114S08

Add binding for the GPIOs within the ADC ADS114S08.

Signed-off-by: default avatarBenedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
parent d2465dc6
Loading
Loading
Loading
Loading
+2 −0
Changes for dts/bindings/adc/ti,ads114s08.yaml: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ compatible: "ti,ads114s08"

include: [adc-controller.yaml, spi-device.yaml]

bus: ads114s0x

properties:
  "#io-channel-cells":
    const: 1
+27 −0
Changes for dts/bindings/gpio/ti,ads114s0x-gpio.yaml: 27 added lines, 0 removed lines.
Original line number Diff line number Diff line
#
# Copyright (c) 2022 SILA Embedded Solutions GmbH
#
# SPDX-License-Identifier: Apache-2.0
#

description: TI ADS114S0x GPIO controller binding

compatible: "ti,ads114s0x-gpio"

include: [gpio-controller.yaml, base.yaml]

on-bus: ads114s0x

properties:
  "#gpio-cells":
    const: 2

  ngpios:
    type: int
    required: true
    const: 4
    description: Number of gpios supported

gpio-cells:
  - pin
  - flags