Skip to content

Commit a9ba843

Browse files
GateworksShawn Guo
authored and
Shawn Guo
committed
arm64: dts: imx8mp: add imx8mp-venice-gw74xx-rpidsi overlay for display
Add support for the following Raspberry Pi displays: - DFROBOT DRF0678 7in 800x480 TFT DSI capacitive touch - DFROBOT DRF0550 5in 800x480 TFT DSI capacitive touch Both have the following hardware: - FocalTech FT5406 10pt touch controller (with no interrupt) - Powertip PH800480T013-IDF02 compatible panel - Toshiba TC358762 compatible DSI to DBI bridge - ATTINY based regulator used for backlight controller and panel enable Support is added via a device-tree overlay. The touch controller is not yet supported as polling mode is needed. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent d4fac9c commit a9ba843

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

arch/arm64/boot/dts/freescale/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ imx8mm-venice-gw73xx-0x-rpidsi-dtbs := imx8mm-venice-gw73xx-0x.dtb imx8mm-venice
153153
imx8mm-venice-gw73xx-0x-rs232-rts-dtbs := imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs232-rts.dtbo
154154
imx8mm-venice-gw73xx-0x-rs422-dtbs := imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs422.dtbo
155155
imx8mm-venice-gw73xx-0x-rs485-dtbs := imx8mm-venice-gw73xx-0x.dtb imx8mm-venice-gw73xx-0x-rs485.dtbo
156+
imx8mp-venice-gw74xx-rpidsi-dtbs := imx8mp-venice-gw74xx.dtb imx8mp-venice-gw74xx-rpidsi.dtbo
156157

157158
dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw72xx-0x-imx219.dtb
158159
dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw72xx-0x-rpidsi.dtb
@@ -164,6 +165,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rpidsi.dtb
164165
dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs232-rts.dtb
165166
dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs422.dtb
166167
dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x-rs485.dtb
168+
dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw74xx-rpidsi.dtb
167169

168170
dtb-$(CONFIG_ARCH_S32) += s32g274a-evb.dtb
169171
dtb-$(CONFIG_ARCH_S32) += s32g274a-rdb2.dtb
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright 2023 Gateworks Corporation
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
&{/} {
10+
compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp";
11+
12+
panel {
13+
compatible = "powertip,ph800480t013-idf02";
14+
power-supply = <&attiny>;
15+
backlight = <&attiny>;
16+
17+
port {
18+
panel_in: endpoint {
19+
remote-endpoint = <&bridge_out>;
20+
};
21+
};
22+
};
23+
};
24+
25+
&i2c4 {
26+
#address-cells = <1>;
27+
#size-cells = <0>;
28+
29+
attiny: regulator@45 {
30+
compatible = "raspberrypi,7inch-touchscreen-panel-regulator";
31+
reg = <0x45>;
32+
};
33+
};
34+
35+
&lcdif1 {
36+
status = "okay";
37+
};
38+
39+
&mipi_dsi {
40+
samsung,burst-clock-frequency = <891000000>;
41+
samsung,esc-clock-frequency = <54000000>;
42+
samsung,pll-clock-frequency = <27000000>;
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
status = "okay";
46+
47+
bridge@0 {
48+
compatible = "toshiba,tc358762";
49+
reg = <0>;
50+
vddc-supply = <&attiny>;
51+
52+
ports {
53+
#address-cells = <1>;
54+
#size-cells = <0>;
55+
56+
port@0 {
57+
reg = <0>;
58+
59+
bridge_in: endpoint {
60+
remote-endpoint = <&dsi_out>;
61+
};
62+
};
63+
64+
port@1 {
65+
reg = <1>;
66+
67+
bridge_out: endpoint {
68+
remote-endpoint = <&panel_in>;
69+
};
70+
};
71+
};
72+
};
73+
74+
ports {
75+
#address-cells = <1>;
76+
#size-cells = <0>;
77+
78+
port@1 {
79+
reg = <1>;
80+
81+
dsi_out: endpoint {
82+
data-lanes = <1 2>;
83+
remote-endpoint = <&bridge_in>;
84+
};
85+
};
86+
};
87+
};

0 commit comments

Comments
 (0)