* [PATCH] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
@ 2019-10-10 12:53 Fabio Estevam
2019-10-10 20:34 ` Andrey Smirnov
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2019-10-10 12:53 UTC (permalink / raw)
To: shawnguo
Cc: andrew.smirnov, Fabio Estevam, cphealy, linux-arm-kernel, l.stach
According to Documentation/devicetree/bindings/iio/accel/mma8452.txt,
the correct interrupt-names are "INT1" and "INT2", so fix them
accordingly.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Hi Lucas/Andrey,
I don't have access to this board, so please test it if you
have a chance.
I realized this after debugging a mma8451 issue on sabreauto board
and looking at other dts with mma8451 support.
Thanks
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index 93be00a60c88..6fc7494931b9 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -358,7 +358,7 @@
compatible = "fsl,mma8451";
reg = <0x1c>;
interrupt-parent = <&gpio1>;
- interrupt-names = "int1", "int2";
+ interrupt-names = "INT1", "INT2";
interrupts = <18 IRQ_TYPE_LEVEL_LOW>, <20 IRQ_TYPE_LEVEL_LOW>;
};
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
2019-10-10 12:53 [PATCH] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names Fabio Estevam
@ 2019-10-10 20:34 ` Andrey Smirnov
2019-10-10 20:37 ` Fabio Estevam
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Smirnov @ 2019-10-10 20:34 UTC (permalink / raw)
To: Fabio Estevam; +Cc: Shawn Guo, Chris Healy, linux-arm-kernel, Lucas Stach
On Thu, Oct 10, 2019 at 5:53 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> According to Documentation/devicetree/bindings/iio/accel/mma8452.txt,
> the correct interrupt-names are "INT1" and "INT2", so fix them
> accordingly.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> Hi Lucas/Andrey,
>
> I don't have access to this board, so please test it if you
> have a chance.
Will do. The binding documentation is actually a bit misleading since
it makes it sounds like configuring both interrupts is a meaningful
option, whereas in reality the driver will always use only one line.
I've been meaning to submit a patch to re-word the documentation,
maybe this is a good reminder that I need to do so. Do you mind if I
re-spin a v2 of this patch and modify it to specify only a single IRQ
line?
Thanks,
Andrey Smirnov
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
2019-10-10 20:34 ` Andrey Smirnov
@ 2019-10-10 20:37 ` Fabio Estevam
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2019-10-10 20:37 UTC (permalink / raw)
To: Andrey Smirnov; +Cc: Shawn Guo, Chris Healy, linux-arm-kernel, Lucas Stach
Hi Andrey,
On Thu, Oct 10, 2019 at 5:35 PM Andrey Smirnov <andrew.smirnov@gmail.com> wrote:
> Will do. The binding documentation is actually a bit misleading since
> it makes it sounds like configuring both interrupts is a meaningful
> option, whereas in reality the driver will always use only one line.
> I've been meaning to submit a patch to re-word the documentation,
> maybe this is a good reminder that I need to do so. Do you mind if I
> re-spin a v2 of this patch and modify it to specify only a single IRQ
> line?
Please re-spin it.
Thanks
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-10 20:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-10 12:53 [PATCH] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names Fabio Estevam
2019-10-10 20:34 ` Andrey Smirnov
2019-10-10 20:37 ` Fabio Estevam
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).