From: Nuno Sá <nuno.sa@xxxxxxxxxx> Document the bindings for the GPIO controller functions of the LTC4283 Hot Swap Controller. Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx> --- .../devicetree/bindings/gpio/adi,ltc4283.yaml | 33 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/adi,ltc4283.yaml b/Documentation/devicetree/bindings/gpio/adi,ltc4283.yaml new file mode 100644 index 0000000000000000000000000000000000000000..39ca59c53519ea3a761c75c394c56de885d63fea --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/adi,ltc4283.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/adi,ltc4283.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO LTC4283 Negative Voltage Hot Swap Controller + +maintainers: + - Nuno Sá <nuno.sa@xxxxxxxxxx> + +description: | + This module is part of the LTC4283 MFD device. + See Documentation/devicetree/bindings/mfd/adi,ltc4283.yaml + This implements the GPIO bindings for the LTC4283 negative voltage hot swap + controller. + +properties: + compatible: + enum: + - adi,ltc4283-gpio + + gpio-controller: true + + '#gpio-cells': + const: 2 + +required: + - compatible + - gpio-controller + - '#gpio-cells' + +additionalProperties: false diff --git a/MAINTAINERS b/MAINTAINERS index d5d3018b5424f403e7396f0470a12ce8c94a5e49..e492e75833564bd9065fe2422e86479553ea59dd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14505,6 +14505,7 @@ M: Nuno Sá <nuno.sa@xxxxxxxxxx> L: linux-hwmon@xxxxxxxxxxxxxxx L: linux-gpio@xxxxxxxxxxxxxxx S: Supported +F: Documentation/devicetree/bindings/gpio/adi,ltc4283.yaml F: Documentation/devicetree/bindings/hwmon/adi,ltc4283.yaml F: Documentation/devicetree/bindings/mfd/adi,ltc4283.yaml F: drivers/hwmon/ltc4283-hwmon.c -- 2.50.1