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

Add binding for the GPIOs within the ADC ADS114S08.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2023-03-14 21:56:16 +01:00 committed by Christopher Friedt
commit 53683f6195
2 changed files with 29 additions and 0 deletions

View file

@ -7,6 +7,8 @@ compatible: "ti,ads114s08"
include: [adc-controller.yaml, spi-device.yaml]
bus: ads114s0x
properties:
"#io-channel-cells":
const: 1

View file

@ -0,0 +1,27 @@
#
# 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