[PATCH v2 1/2] ARM: dts: imx6qdl-phytec-mira: Add touchscreen-inverted properties

From: Primoz Fiser

Date: Thu Oct 01 2026 - 04:10:21 EST


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.

Signed-off-by: Primoz Fiser <primoz.fiser@xxxxxxxxx>
---
Changes in v2:
- no changes

arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
index a3c2811e9c6f..a7d6af162731 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi
@@ -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>;
--
2.34.1