ARM: dts: imx6: phytec-mira: phyBOARD-Mira fixes
Subsystems (2)
v2 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 v1: https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Drop patch #1 from v1
- Add new patch #2 (CTS/RTS swap fix)
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 v2 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 v2:
- 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 v2 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 v2:
- new patch
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
Fabio Estevam
reviewerHi Primoz,
Quoted 2 lines · Primoz Fiser
Two small fixes for the PHYTEC phyBOARD-Mira-i.MX6 boards:
Shouldn't they have a Fixes tag, then?
Hi Fabio,
Quoted 7 lines · Fabio Estevam
Hi Primoz,
Quoted 2 lines · Primoz Fiser
Two small fixes for the PHYTEC phyBOARD-Mira-i.MX6 boards:
Shouldn't they have a Fixes tag, then?
For patch #1 it think it is pointless because those properties didn't exist until aforementioned commit 888e5fad9b78 ("Input: stmpe - add axis inversion and swapping capability"). So it is an addition not a fix as commit message suggests.
For patch #2 I could add:
phyBOARD-Mira")
in v3 if you want?
BR,
Primoz
Signature · 9 lines
Primoz Fiser phone: +386-41-390-545 email: [email protected] -- Norik systems d.o.o. Your embedded software partner Slovenia, EU phone: +386-41-540-545 email: [email protected]