bcm27xx: update 6.1 patches to latest version
[openwrt/staging/svanheule.git] / target / linux / bcm27xx / patches-6.1 / 950-0994-overlays-Fix-vc4-kms-dsi-7inch.patch
1 From 2ff65ffbdeb0c8764985af19df2a687a126136f4 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 29 Sep 2023 16:55:28 +0100
4 Subject: [PATCH] overlays: Fix vc4-kms-dsi-7inch
5
6 Fix the touchscreen.
7
8 See: https://github.com/raspberrypi/linux/issues/5619
9
10 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
11 ---
12 arch/arm/boot/dts/overlays/edt-ft5406.dtsi | 13 ++++---------
13 .../boot/dts/overlays/vc4-kms-dsi-7inch-overlay.dts | 2 +-
14 2 files changed, 5 insertions(+), 10 deletions(-)
15
16 --- a/arch/arm/boot/dts/overlays/edt-ft5406.dtsi
17 +++ b/arch/arm/boot/dts/overlays/edt-ft5406.dtsi
18 @@ -22,11 +22,13 @@
19 };
20 };
21
22 - fragment@12 {
23 - target = <&i2cbus>;
24 + ts_i2c_frag: fragment@12 {
25 + target = <&i2c_csi_dsi>;
26 __overlay__ {
27 #address-cells = <1>;
28 #size-cells = <0>;
29 + status = "okay";
30 +
31 ft5406: ts@38 {
32 compatible = "edt,edt-ft5506";
33 reg = <0x38>;
34 @@ -37,13 +39,6 @@
35 };
36 };
37
38 - ts_i2c_frag: fragment@13 {
39 - target = <&i2c_csi_dsi>;
40 - i2cbus: __overlay__ {
41 - status = "okay";
42 - };
43 - };
44 -
45 __overrides__ {
46 sizex = <&ft5406>,"touchscreen-size-x:0";
47 sizey = <&ft5406>,"touchscreen-size-y:0";
48 --- a/arch/arm/boot/dts/overlays/vc4-kms-dsi-7inch-overlay.dts
49 +++ b/arch/arm/boot/dts/overlays/vc4-kms-dsi-7inch-overlay.dts
50 @@ -119,6 +119,6 @@
51 <&panel_disp>, "reg:0=0",
52 <&reg_bridge>, "reg:0=0",
53 <&reg_bridge>, "regulator-name=bridge_reg_0";
54 - disable_touch = <0>, "-10-11-12";
55 + disable_touch = <&ft5406>, "status=disabled";
56 };
57 };