.../devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml | 9 +++++++++ 1 file changed, 9 insertions(+)
From: Jonathan Stroud <jonathan.stroud@amd.com>
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>
---
.../devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml
index e8feee38c76c..f8bea1c0e94a 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml
@@ -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
--
2.43.0
On Mon, Feb 24, 2025 at 09:06:26AM +0100, Michal Simek wrote: > From: Jonathan Stroud <jonathan.stroud@amd.com> > > 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> Applied. Thanks, Guenter
On Mon, 24 Feb 2025 09:06:26 +0100, Michal Simek wrote: > From: Jonathan Stroud <jonathan.stroud@amd.com> > > 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> > --- > > .../devicetree/bindings/hwmon/pmbus/ti,ucd90320.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
© 2016 - 2026 Red Hat, Inc.