Skip to contentSkip to conversation

dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example

PATCH Applied Rob Herring 3 participants 4 messages Jan 6, 2022 – Jan 10, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example

'interrupts' does not take a phandle, so remove it in the example.

---
 .../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml +1 -1
index 4b0ef1ef5445..9438fffaf0ba 100644
@@ -96,7 +96,7 @@ examples:
           vdd-supply = <&ldo1_reg>;
           iovdd-supply = <&ldo2_reg>;
           reset-gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
-          interrupts = <&gpio6 13 IRQ_TYPE_EDGE_RISING>;
+          interrupts = <13 IRQ_TYPE_EDGE_RISING>;
         };
     };
 
Signature · 1 line
2.32.0
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 3 lines · On Thu, 6 Jan 2022 12:25:12 -0600 Rob Herring <[email protected]> wrote:

'interrupts' does not take a phandle, so remove it in the example.

I can pick this up, but if you want to take it.

Thanks,

Jonathan

Quoted 17 lines
---
 .../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml +1 -1
index 4b0ef1ef5445..9438fffaf0ba 100644
@@ -96,7 +96,7 @@ examples:
           vdd-supply = <&ldo1_reg>;
           iovdd-supply = <&ldo2_reg>;
           reset-gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
-          interrupts = <&gpio6 13 IRQ_TYPE_EDGE_RISING>;
+          interrupts = <13 IRQ_TYPE_EDGE_RISING>;
         };
     };