diff mbox series

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

Message ID 20220106182518.1435497-4-robh@kernel.org (mailing list archive)
State Handled Elsewhere
Headers show
Series dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example | expand

Commit Message

Rob Herring Jan. 6, 2022, 6:25 p.m. UTC
'interrupts' does not take a phandle, so remove it in the example.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Jan. 9, 2022, 11:49 a.m. UTC | #1
On Thu, Jan 6, 2022 at 7:25 PM Rob Herring <robh@kernel.org> wrote:

> 'interrupts' does not take a phandle, so remove it in the example.
>
> Signed-off-by: Rob Herring <robh@kernel.org>

Oops
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Jonathan Cameron Jan. 9, 2022, 3:14 p.m. UTC | #2
On Thu,  6 Jan 2022 12:25:12 -0600
Rob Herring <robh@kernel.org> wrote:

> 'interrupts' does not take a phandle, so remove it in the example.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
I can pick this up, but if you want to take it.

Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Thanks,

Jonathan

> ---
>  .../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml b/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
> index 4b0ef1ef5445..9438fffaf0ba 100644
> --- a/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
> +++ b/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
> @@ -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>;
>          };
>      };
>
Rob Herring Jan. 10, 2022, 1:07 a.m. UTC | #3
On Thu, 06 Jan 2022 12:25:12 -0600, Rob Herring wrote:
> 'interrupts' does not take a phandle, so remove it in the example.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml b/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
index 4b0ef1ef5445..9438fffaf0ba 100644
--- a/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
+++ b/Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml
@@ -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>;
         };
     };