linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
@ 2022-01-06 18:25 Rob Herring
  2022-01-09 11:49 ` Linus Walleij
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-06 18:25 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Linus Walleij
  Cc: linux-iio, devicetree, linux-kernel

'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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
  2022-01-06 18:25 [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example Rob Herring
@ 2022-01-09 11:49 ` Linus Walleij
  2022-01-09 15:14 ` Jonathan Cameron
  2022-01-10  1:07 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-01-09 11:49 UTC (permalink / raw)
  To: Rob Herring
  Cc: Jonathan Cameron, Lars-Peter Clausen, linux-iio, devicetree,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
  2022-01-06 18:25 [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example Rob Herring
  2022-01-09 11:49 ` Linus Walleij
@ 2022-01-09 15:14 ` Jonathan Cameron
  2022-01-10  1:07 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2022-01-09 15:14 UTC (permalink / raw)
  To: Rob Herring
  Cc: Lars-Peter Clausen, Linus Walleij, linux-iio, devicetree, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example
  2022-01-06 18:25 [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example Rob Herring
  2022-01-09 11:49 ` Linus Walleij
  2022-01-09 15:14 ` Jonathan Cameron
@ 2022-01-10  1:07 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-01-10  1:07 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-iio, Jonathan Cameron, linux-kernel, devicetree,
	Lars-Peter Clausen, Linus Walleij

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-10  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 18:25 [PATCH] dt-bindings: iio/magnetometer: yamaha,yas530: Fix invalid 'interrupts' in example Rob Herring
2022-01-09 11:49 ` Linus Walleij
2022-01-09 15:14 ` Jonathan Cameron
2022-01-10  1:07 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).