ARM: dts: imx6: phytec-mira: phyBOARD-Mira fixes
Subsystems (2)
v3 cover ARM: dts: imx6: phytec-mira: phyBOARD-Mira fixes
Two small fixes for the PHYTEC phyBOARD-Mira-i.MX6 boards:
- Since commit 888e5fad9b78 ("Input: stmpe - add axis inversion and swapping capability") landed, the touchscreen axis inversion these boards need can be described in devicetree instead of userspace (2/2).
- Fix uart3 CTS/RTS pinmuxing since pins were swapped.
Link to v2: https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Drop patch #1 from v1
- Add new patch #2 (CTS/RTS swap fix)
Changes in v3:
- Add Fixes tag to patch #2
Primoz Fiser (2):
ARM: dts: imx6qdl-phytec-mira: Add touchscreen-inverted properties
ARM: dts: imx6qdl-phytec-mira: Fix uart3 CTS/RTS pinmuxing
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1
PATCH v3 1/2 ARM: dts: imx6qdl-phytec-mira: Add touchscreen-inverted properties
Since commit 888e5fad9b78 ("Input: stmpe - add axis inversion and swapping capability") we can handle touchscreen x- and y-axis inversion directly in the kernel instead of user-space on phyBOARD-Mira-i.MX6.
---
Changes in v3:
- no changes
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi +2 -0
@@ -164,6 +164,8 @@ stmpe: touchctrl@44 { touchscreen { compatible = "st,stmpe-ts"; + touchscreen-inverted-x; + touchscreen-inverted-y; st,sample-time = <4>; st,mod-12b = <1>; st,ref-sel = <0>;
Signature · 1 line
2.34.1
PATCH v3 2/2 ARM: dts: imx6qdl-phytec-mira: Fix uart3 CTS/RTS pinmuxing
In reply to Primoz FiserThe pin muxing of the UART3 CTS and RTS pins on the phyBOARD-Mira is wrong. They are swapped. Pad EIM_EB3 has to be muxed as RTS and pad EIM_D23 as CTS.
---
Changes in v3:
- add Fixes tag
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi +2 -2
@@ -374,8 +374,8 @@ MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1 pinctrl_uart3: uart3grp { fsl,pins = < - MX6QDL_PAD_EIM_EB3__UART3_CTS_B 0x1b0b1 - MX6QDL_PAD_EIM_D23__UART3_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 >;
Signature · 1 line
2.34.1
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 8 lines · Primoz Fiser
Two small fixes for the PHYTEC phyBOARD-Mira-i.MX6 boards:
- Since commit
888e5fad9b78("Input: stmpe - add axis inversion and swapping capability") landed, the touchscreen axis inversion these boards need can be described in devicetree instead of userspace (2/2).
- Fix uart3 CTS/RTS pinmuxing since pins were swapped.[...]
Applied to imx/dt-intend (will appear to linux-next after v7.4-rc1), thanks!
[1/2] ARM: dts: imx6qdl-phytec-mira: Add touchscreen-inverted properties
commit: d8e221cde0d5f166bf32a280c60609e95de327ff
[2/2] ARM: dts: imx6qdl-phytec-mira: Fix uart3 CTS/RTS pinmuxing
commit: 14706ff23ee6174de7a95d127fd613137014d0c8Best regards,
--
Frank Li <[email protected]>