Skip to contentSkip to conversation

dt-bindings: iio: dac: ad5791: ldac gpio is active low

PATCH In review [email protected] 4 participants 4 messages Nov 6, 2024 – Dec 15, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Fixes baaa92d284d5 ("dt-bindings: iio: dac: ad5791: Add optional reset, clr and ldac gpios")
---
 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
index 79cb4b78a88a..2bd89e0aa46b 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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")
maintainer
#2 lore raw
Quoted 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")

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

reviewer
#3 lore raw
In reply to [email protected]
Quoted 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")
---
 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
index 79cb4b78a88a..2bd89e0aa46b 100644

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?