rg-arc: swap touch screen axes in dts

This is probably a hack, and I am somehow compensating for it being
rotated elsewhere. But until that is figured out this gets the job done.
This commit is contained in:
sydarn
2025-11-10 19:45:56 +01:00
parent 674c84e2ad
commit 078f4bb898

View File

@@ -0,0 +1,13 @@
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts
index ab83e8a61615..74efd941b474 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-d.dts
@@ -33,7 +33,7 @@ touchscreen@14 {
pinctrl-0 = <&touch_int>;
pinctrl-names = "default";
reset-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
- touchscreen-inverted-y;
+ touchscreen-swapped-x-y;
touchscreen-size-x = <640>;
touchscreen-size-y = <480>;
};