diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2023-12-23 23:12:13 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2024-02-05 14:30:10 +0800 |
commit | a2921599ecfae1bd627d0f2692dd3e26a3182863 (patch) | |
tree | 2cb561cc0a6f34152917caadfa055f2f463b5c17 | |
parent | 38c0483d08aa905852b3fd7d62334223daf90079 (diff) | |
download | linux-stable-a2921599ecfae1bd627d0f2692dd3e26a3182863.tar.gz linux-stable-a2921599ecfae1bd627d0f2692dd3e26a3182863.tar.bz2 linux-stable-a2921599ecfae1bd627d0f2692dd3e26a3182863.zip |
ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation
The display is in landscape orientation, but the touchscreen is in portrait
orientation. Specify that properly in the devicetree.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts index 815119c12bd4..5636fb3661e8 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts @@ -141,8 +141,10 @@ interrupts = <6 IRQ_TYPE_EDGE_FALLING>; vdd-supply = <&ldo1_reg>; reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; - x-size = <1072>; - y-size = <1448>; + touchscreen-size-x = <1072>; + touchscreen-size-y = <1448>; + touchscreen-swapped-x-y; + touchscreen-inverted-x; }; /* TODO: TPS65185 PMIC for E Ink at 0x68 */ |