[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201218103131.22013-3-martin.kepplinger@puri.sm>
Date: Fri, 18 Dec 2020 11:31:29 +0100
From: Martin Kepplinger <martin.kepplinger@...i.sm>
To: robh@...nel.org, shawnguo@...nel.org, festevam@...il.com
Cc: kernel@...gutronix.de, linux-imx@....com, krzk@...nel.org,
kernel@...i.sm, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Martin Kepplinger <martin.kepplinger@...i.sm>
Subject: [PATCH 2/4] arm64: dts: imx8mq-librem5: add pinctrl for the touchscreen description
Add the pinctrl description for the interrupt.
Signed-off-by: Martin Kepplinger <martin.kepplinger@...i.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 55268fc0622e..a60df09d90f7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -459,6 +459,13 @@
>;
};
+ pinctrl_touch: touchgrp {
+ fsl,pins = <
+ /* TP_INT */
+ MX8MQ_IOMUXC_ENET_RD1_GPIO1_IO27 0x80
+ >;
+ };
+
pinctrl_typec: typecgrp {
fsl,pins = <
/* TYPEC_MUX_EN */
@@ -880,6 +887,8 @@
touchscreen@38 {
compatible = "edt,edt-ft5506";
reg = <0x38>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_touch>;
interrupt-parent = <&gpio1>;
interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <720>;
--
2.20.1
Powered by blists - more mailing lists