]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: iio: dac: ad5791: ldac gpio is active low
authorAxel Haslam <ahaslam@baylibre.com>
Wed, 6 Nov 2024 10:38:24 +0000 (11:38 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 20 Dec 2024 18:50:20 +0000 (18:50 +0000)
On the example, the ldac gpio is flagged as active high, when in reality
its an active low gpio. Fix the example by using the active low flag for
the ldac gpio.

Fixes: baaa92d284d5 ("dt-bindings: iio: dac: ad5791: Add optional reset, clr and ldac gpios")
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20241106103824.579292-1-ahaslam@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml

index 79cb4b78a88a97c812e32d2f225556c1aafbbbf0..2bd89e0aa46bce99aaca872dad97956a86757ea9 100644 (file)
@@ -91,7 +91,7 @@ examples:
             vrefn-supply = <&dac_vrefn>;
             reset-gpios = <&gpio_bd 16 GPIO_ACTIVE_LOW>;
             clear-gpios = <&gpio_bd 17 GPIO_ACTIVE_LOW>;
-            ldac-gpios = <&gpio_bd 18 GPIO_ACTIVE_HIGH>;
+            ldac-gpios = <&gpio_bd 18 GPIO_ACTIVE_LOW>;
         };
     };
 ...