Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -5682,14 +5682,22 @@ Name: vc4-kms-dsi-waveshare-panel-v2
Info: Enable the Waveshare DSI-TOUCH series screen
Requires vc4-kms-v3d to be loaded.
Load: dtoverlay=vc4-kms-dsi-waveshare-panel-v2,<param>
Params: 5_0_inch_a 5.0" 720x1280 2lane
Params: 3_4_inch_c 3.4" 800x800 2lane
4_0_inch_c 4.0" 720x720 2lane
5_0_inch_a 5.0" 720x1280 2lane
5_5_inch_a 5.5" 720x1280 2lane
7_0_inch_a 7.0" A 720x1280 2lane
7_0_inch_b 7.0" B 720x1280 2lane
8_0_inch_a 8.0" 800x1280 2lane
8_0_inch_a_4lane 8.0" 800x1280 4lane
8_8_inch_a 8.8" 480x1920 2lane
9_0_inch_b 9.0" 720x1280 2lane
9_0_inch_b_4lane 9.0" 720x1280 4lane
10_1_inch_a 10.1" 800x1280 2lane
10_1_inch_a_4lane 10.1" 800x1280 4lane
10_1_inch_b 10.1" 720x1280 2lane
10_1_inch_b_4lane 10.1" 720x1280 4lane
12_3_inch_a_4lane 12.3" 720x1920 4lane
disable_touch Disable the touch controller
invx Touchscreen inverted x axis
invy Touchscreen inverted y axis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
reg = <0>;
compatible = "waveshare,10.1-dsi-touch-a";
reset-gpio = <&display_mcu 1 GPIO_ACTIVE_HIGH>;
iovcc-gpio = <&display_mcu 4 GPIO_ACTIVE_HIGH>;
avdd-gpio = <&display_mcu 0 GPIO_ACTIVE_HIGH>;
backlight = <&display_mcu>;

port {
Expand All @@ -76,14 +78,28 @@
};

__overrides__ {
3_4_inch_c = <&dsi_panel>, "compatible=waveshare,3.4-dsi-touch-c";
4_0_inch_c = <&dsi_panel>, "compatible=waveshare,4.0-dsi-touch-c";
5_0_inch_a = <&dsi_panel>, "compatible=waveshare,5.0-dsi-touch-a";
5_5_inch_a = <&dsi_panel>, "compatible=waveshare,5.5-dsi-touch-a";
7_0_inch_a = <&dsi_panel>, "compatible=waveshare,7.0-dsi-touch-a";
7_0_inch_b = <&dsi_panel>, "compatible=waveshare,7.0-dsi-touch-b";
8_0_inch_a = <&dsi_panel>, "compatible=waveshare,8.0-dsi-touch-a";
8_0_inch_a_4lane = <&dsi_panel>, "compatible=waveshare,8.0-dsi-touch-a-4lane";
8_8_inch_a = <&dsi_panel>, "compatible=waveshare,8.8-dsi-touch-a";
9_0_inch_b = <&dsi_panel>, "compatible=waveshare,9.0-dsi-touch-b",
<&touch>, "touchscreen-inverted-x";
9_0_inch_b_4lane = <&dsi_panel>, "compatible=waveshare,9.0-dsi-touch-b,4lane",
<&touch>, "touchscreen-inverted-x";
10_1_inch_a = <&dsi_panel>, "compatible=waveshare,10.1-dsi-touch-a";
10_1_inch_a_4lane = <&dsi_panel>, "compatible=waveshare,10.1-dsi-touch-a-4lane";
10_1_inch_b = <&dsi_panel>, "compatible=waveshare,10.1-dsi-touch-b",
<&touch>, "touchscreen-inverted-y";
10_1_inch_b_4lane = <&dsi_panel>, "compatible=waveshare,10.1-dsi-touch-b,4lane",
<&touch>, "touchscreen-inverted-y";
12_3_inch_a_4lane = <&dsi_panel>, "compatible=waveshare,12.3-dsi-touch-a,4lane",
<&touch>, "touchscreen-swapped-x-y",
<&touch>, "touchscreen-inverted-y";
disable_touch = <&touch>, "status=disabled";
invx = <&touch>,"touchscreen-inverted-x?";
invy = <&touch>,"touchscreen-inverted-y?";
Expand Down
Loading