dts: bindings: gpio: add TLE9104

Add binding for the powertrain switch TLE9104.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2023-07-17 16:29:20 +02:00 committed by Fabio Baltieri
parent b6a996d00a
commit 4d554dd30c

View File

@ -0,0 +1,50 @@
#
# Copyright (c) 2023 SILA Embedded Solutions GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
description: Infineon TLE9104 4-channel powertrain switch
compatible: "infineon,tle9104"
include: [gpio-controller.yaml, spi-device.yaml]
properties:
"#gpio-cells":
const: 2
ngpios:
type: int
required: true
const: 4
description: Number of GPIOs supported
en-gpios:
type: phandle-array
description: "GPIO for enable"
resn-gpios:
type: phandle-array
required: true
description: "GPIO for reset"
in1-gpios:
type: phandle-array
description: "GPIO for controlling OUT1"
in2-gpios:
type: phandle-array
description: "GPIO for controlling OUT2"
in3-gpios:
type: phandle-array
description: "GPIO for controlling OUT3"
in4-gpios:
type: phandle-array
description: "GPIO for controlling OUT4"
gpio-cells:
- pin
- flags