devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description
@ 2025-02-24  8:06 Michal Simek
  2025-02-24 20:09 ` Rob Herring (Arm)
  2025-03-02 16:39 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2025-02-24  8:06 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Jonathan Stroud, Conor Dooley, Guenter Roeck, Jean Delvare,
	Jim Wright, Krzysztof Kozlowski, Rob Herring,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list:HARDWARE MONITORING

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description
  2025-02-24  8:06 [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description Michal Simek
@ 2025-02-24 20:09 ` Rob Herring (Arm)
  2025-03-02 16:39 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-02-24 20:09 UTC (permalink / raw)
  To: Michal Simek
  Cc: Jonathan Stroud, linux-kernel, Guenter Roeck, monstr,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, git,
	michal.simek, Conor Dooley, Krzysztof Kozlowski, Jean Delvare,
	open list:HARDWARE MONITORING, Jim Wright


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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description
  2025-02-24  8:06 [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description Michal Simek
  2025-02-24 20:09 ` Rob Herring (Arm)
@ 2025-03-02 16:39 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2025-03-02 16:39 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Jonathan Stroud,
	Conor Dooley, Jean Delvare, Jim Wright, Krzysztof Kozlowski,
	Rob Herring,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list:HARDWARE MONITORING

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-02 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24  8:06 [PATCH] dt-bindings: hwmon: Add UCD90320 gpio description Michal Simek
2025-02-24 20:09 ` Rob Herring (Arm)
2025-03-02 16:39 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).