dt-bindings: hwmon: Add UCD90320 gpio description
authorJonathan Stroud <jonathan.stroud@amd.com>
Mon, 24 Feb 2025 08:06:26 +0000 (09:06 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 2 Mar 2025 16:39:45 +0000 (08:39 -0800)
Add optional gpio device tree bindings to the UCD90320.
The binding's description is already mentioning the number of GPIOs but
without actual gpio controller description.

Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/662a050f3f8160fe7c80d4f19e45eb4fac0f2f0a.1740384385.git.michal.simek@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml

index e8feee38c76c8e3cadf054e9dcb7610c2e2ec062..f8bea1c0e94ad1920660c7bd5fac023ccae86ffc 100644 (file)
@@ -28,6 +28,15 @@ properties:
   reg:
     maxItems: 1
 
+  gpio-controller: true
+
+  gpio-line-names:
+    minItems: 84
+    maxItems: 84
+
+  '#gpio-cells':
+    const: 1
+
 required:
   - compatible
   - reg