mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
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:
@@ -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>;
|
||||
};
|
||||
Reference in New Issue
Block a user