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

Rob Herring posted 1 patch 4 years, 5 months ago
.../devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml     | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
Posted by Rob Herring 4 years, 5 months ago
'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(-)

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>;
         };
     };
 
-- 
2.32.0

Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
Posted by Linus Walleij 4 years, 5 months ago
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
Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
Posted by Jonathan Cameron 4 years, 5 months ago
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>;
>          };
>      };
>  

Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
Posted by Rob Herring 4 years, 5 months ago
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!