dt-bindings: iio: dac: ad5791: ldac gpio is active low
Subsystems (3)
PATCH 1/1 dt-bindings: iio: dac: ad5791: ldac gpio is active low
From: Axel Haslam <[email protected]>
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.
--- Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml +1 -1
@@ -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>; }; }; ...
Signature · 1 line
2.34.1
Quoted 8 lines · On Wed, Nov 06, 2024 at 11:38:24AM +0100, [email protected] wrote:
From: Axel Haslam <[email protected]>
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 <[email protected]>
Jonathan Cameron
maintainerQuoted 11 lines · On Wed, 6 Nov 2024 15:47:01 +0000 Conor Dooley <[email protected]> wrote:
Quoted 8 lines · On Wed, Nov 06, 2024 at 11:38:24AM +0100, [email protected] wrote:
From: Axel Haslam <[email protected]>
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 <[email protected]>Acked-by Conor Dooley <[email protected]>
Applied thanks. I'd dropped the ball on this one, so only noticed when reviewing the older stuff in patchwork for dependencies that had resolved.
Jonathan
David Lechner
reviewerQuoted 17 lines · On 11/6/24 4:38 AM, [email protected] wrote:
From: Axel Haslam <[email protected]>
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 <[email protected]>--- Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml +0
-0
Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml examples: · line 96
Quoted 8 lines
Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml +1
-1@@ -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>; }; };
Hi Jonathan, any reason this one didn't get picked up yet?