* [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor
@ 2020-01-20 16:12 ` Guido Günther
0 siblings, 0 replies; 4+ messages in thread
From: Guido Günther @ 2020-01-20 16:12 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Angus Ainslie (Purism),
Guido Günther, Martin Kepplinger, Anson Huang, devicetree,
linux-arm-kernel, linux-kernel
Support for the vcnl4040 landet a while ago so add it and the
corresponding pinmux. The irq is currently unused in the driver so don't
configure it yet.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
.../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index c8627f6614ae..b87c2e39b16c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -448,6 +448,12 @@
VDDIO-supply = <®_1v8_p>;
};
+ prox@60 {
+ compatible = "vishay,vcnl4040";
+ reg = <0x60>;
+ pinctrl-0 = <&pinctrl_prox>;
+ };
+
accel-gyro@6a {
compatible = "st,lsm9ds1-imu";
reg = <0x6a>;
@@ -550,6 +556,12 @@
>;
};
+ pinctrl_prox: proxgrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */
+ >;
+ };
+
pinctrl_pwr_en: pwrengrp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06
--
2.23.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor
@ 2020-01-20 16:12 ` Guido Günther
0 siblings, 0 replies; 4+ messages in thread
From: Guido Günther @ 2020-01-20 16:12 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Angus Ainslie (Purism),
Guido Günther, Martin Kepplinger, Anson Huang, devicetree,
linux-arm-kernel, linux-kernel
Support for the vcnl4040 landet a while ago so add it and the
corresponding pinmux. The irq is currently unused in the driver so don't
configure it yet.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
.../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index c8627f6614ae..b87c2e39b16c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -448,6 +448,12 @@
VDDIO-supply = <®_1v8_p>;
};
+ prox@60 {
+ compatible = "vishay,vcnl4040";
+ reg = <0x60>;
+ pinctrl-0 = <&pinctrl_prox>;
+ };
+
accel-gyro@6a {
compatible = "st,lsm9ds1-imu";
reg = <0x6a>;
@@ -550,6 +556,12 @@
>;
};
+ pinctrl_prox: proxgrp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */
+ >;
+ };
+
pinctrl_pwr_en: pwrengrp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06
--
2.23.0
_______________________________________________
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] 4+ messages in thread
* Re: [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor
2020-01-20 16:12 ` Guido Günther
@ 2020-02-14 2:24 ` Shawn Guo
-1 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-02-14 2:24 UTC (permalink / raw)
To: Guido Günther
Cc: Rob Herring, Mark Rutland, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, NXP Linux Team, Angus Ainslie (Purism),
Martin Kepplinger, Anson Huang, devicetree, linux-arm-kernel,
linux-kernel
On Mon, Jan 20, 2020 at 05:12:55PM +0100, Guido Günther wrote:
> Support for the vcnl4040 landet a while ago so add it and the
> corresponding pinmux. The irq is currently unused in the driver so don't
> configure it yet.
>
> Signed-off-by: Guido Günther <agx@sigxcpu.org>
> ---
> .../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> index c8627f6614ae..b87c2e39b16c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> @@ -448,6 +448,12 @@
> VDDIO-supply = <®_1v8_p>;
> };
>
> + prox@60 {
I changed node name to proximity-sensor and applied the patch.
Shawn
> + compatible = "vishay,vcnl4040";
> + reg = <0x60>;
> + pinctrl-0 = <&pinctrl_prox>;
> + };
> +
> accel-gyro@6a {
> compatible = "st,lsm9ds1-imu";
> reg = <0x6a>;
> @@ -550,6 +556,12 @@
> >;
> };
>
> + pinctrl_prox: proxgrp {
> + fsl,pins = <
> + MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */
> + >;
> + };
> +
> pinctrl_pwr_en: pwrengrp {
> fsl,pins = <
> MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06
> --
> 2.23.0
>
>
> _______________________________________________
> 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] 4+ messages in thread
* Re: [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor
@ 2020-02-14 2:24 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2020-02-14 2:24 UTC (permalink / raw)
To: Guido Günther
Cc: Mark Rutland, devicetree, Anson Huang, Sascha Hauer,
Angus Ainslie (Purism),
linux-kernel, Rob Herring, NXP Linux Team,
Pengutronix Kernel Team, Martin Kepplinger, Fabio Estevam,
linux-arm-kernel
On Mon, Jan 20, 2020 at 05:12:55PM +0100, Guido Günther wrote:
> Support for the vcnl4040 landet a while ago so add it and the
> corresponding pinmux. The irq is currently unused in the driver so don't
> configure it yet.
>
> Signed-off-by: Guido Günther <agx@sigxcpu.org>
> ---
> .../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> index c8627f6614ae..b87c2e39b16c 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
> @@ -448,6 +448,12 @@
> VDDIO-supply = <®_1v8_p>;
> };
>
> + prox@60 {
I changed node name to proximity-sensor and applied the patch.
Shawn
> + compatible = "vishay,vcnl4040";
> + reg = <0x60>;
> + pinctrl-0 = <&pinctrl_prox>;
> + };
> +
> accel-gyro@6a {
> compatible = "st,lsm9ds1-imu";
> reg = <0x6a>;
> @@ -550,6 +556,12 @@
> >;
> };
>
> + pinctrl_prox: proxgrp {
> + fsl,pins = <
> + MX8MQ_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x80 /* prox intr */
> + >;
> + };
> +
> pinctrl_pwr_en: pwrengrp {
> fsl,pins = <
> MX8MQ_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x06
> --
> 2.23.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2020-02-14 2:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20 16:12 [PATCH] arm64: dts: imx8mq-librem5-devkit: Add proximity sensor Guido Günther
2020-01-20 16:12 ` Guido Günther
2020-02-14 2:24 ` Shawn Guo
2020-02-14 2:24 ` Shawn Guo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.