mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-23 17:47:28 +08:00

These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From 2d3903d3e151c379553db206a957776ae1f07730 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Wed, 2 Apr 2025 12:38:46 +0100
|
|
Subject: [PATCH] dtoverlays: Make piscreen consistent on swapxy
|
|
|
|
The overlay had the TI proprietary "ti,swap-xy" defined by default,
|
|
but the override for swapxy then used the generic "touchscreen-swapped-x-y"
|
|
|
|
Swap the default to use "touchscreen-swapped-x-y" to make the configuration
|
|
consistent.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/piscreen-overlay.dts | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/piscreen-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/piscreen-overlay.dts
|
|
@@ -88,7 +88,7 @@
|
|
interrupts = <17 2>; /* high-to-low edge triggered */
|
|
interrupt-parent = <&gpio>;
|
|
pendown-gpio = <&gpio 17 GPIO_ACTIVE_LOW>;
|
|
- ti,swap-xy;
|
|
+ touchscreen-swapped-x-y;
|
|
ti,x-plate-ohms = /bits/ 16 <100>;
|
|
ti,pressure-max = /bits/ 16 <255>;
|
|
};
|