[PATCH v2 1/5] dt-bindings: hwmon: (pmbus/max20830): add enable-gpios property and complete examples
From: Alexis Czezar Torreno
Date: Sun Jul 05 2026 - 22:10:07 EST
Adding an entry for the MAX20830 EN (enable) pin. This pin exist but
was not included before. Also edited examples entry to be more complete.
Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@xxxxxxxxxx>
---
.../devicetree/bindings/hwmon/pmbus/adi,max20830.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
index 1625dd59417f1b3ca689a9c86ca266da913d1217..f3ba6351aa5d657590d92a538910fd6b787e7a3a 100644
--- a/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/adi,max20830.yaml
@@ -39,6 +39,11 @@ properties:
description:
Optional 2.5V to 5.5V LDO input supply.
+ enable-gpios:
+ description:
+ GPIO connected to the EN (enable) pin.
+ maxItems: 1
+
pwr-good-gpios:
description:
GPIO connected to the power-good status output pin.
@@ -53,6 +58,8 @@ unevaluatedProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
+
i2c {
#address-cells = <1>;
#size-cells = <0>;
@@ -61,6 +68,10 @@ examples:
compatible = "adi,max20830";
reg = <0x30>;
vddh-supply = <&vddh>;
+ avdd-supply = <&avdd>;
+ ldoin-supply = <&ldoin>;
+ enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ pwr-good-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
};
};
...
--
2.34.1