Skip to content

Commit

Permalink
overlays: Fix vc4-kms-dsi-7inch
Browse files Browse the repository at this point in the history
Fix the touchscreen.

See: #5619

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Sep 29, 2023
1 parent 9730a2e commit 2ff65ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
13 changes: 4 additions & 9 deletions arch/arm/boot/dts/overlays/edt-ft5406.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
};
};

fragment@12 {
target = <&i2cbus>;
ts_i2c_frag: fragment@12 {
target = <&i2c_csi_dsi>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

ft5406: ts@38 {
compatible = "edt,edt-ft5506";
reg = <0x38>;
Expand All @@ -37,13 +39,6 @@
};
};

ts_i2c_frag: fragment@13 {
target = <&i2c_csi_dsi>;
i2cbus: __overlay__ {
status = "okay";
};
};

__overrides__ {
sizex = <&ft5406>,"touchscreen-size-x:0";
sizey = <&ft5406>,"touchscreen-size-y:0";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/vc4-kms-dsi-7inch-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@
<&panel_disp>, "reg:0=0",
<&reg_bridge>, "reg:0=0",
<&reg_bridge>, "regulator-name=bridge_reg_0";
disable_touch = <0>, "-10-11-12";
disable_touch = <&ft5406>, "status=disabled";
};
};

0 comments on commit 2ff65ff

Please sign in to comment.