Skip to content

Commit f9f5518

Browse files
aford173tmlind
authored andcommitted
ARM: dts: logicpd-torpedo-baseboard: Fix missing video
A previous commit removed the panel-dpi driver, which made the Torpedo video stop working because it relied on the dpi driver for setting video timings. Now that the simple-panel driver is available in omap2plus, this patch migrates the Torpedo dev kits to use a similar panel and remove the manual timing requirements. Fixes: 8bf4b16 ("drm/omap: Remove panel-dpi driver") Signed-off-by: Adam Ford <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 4957ecc commit f9f5518

File tree

1 file changed

+6
-31
lines changed

1 file changed

+6
-31
lines changed

arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
&dss {
109109
status = "ok";
110110
vdds_dsi-supply = <&vpll2>;
111-
vdda_video-supply = <&video_reg>;
112111
pinctrl-names = "default";
113112
pinctrl-0 = <&dss_dpi_pins1>;
114113
port {
@@ -124,44 +123,20 @@
124123
display0 = &lcd0;
125124
};
126125

127-
video_reg: video_reg {
128-
pinctrl-names = "default";
129-
pinctrl-0 = <&panel_pwr_pins>;
130-
compatible = "regulator-fixed";
131-
regulator-name = "fixed-supply";
132-
regulator-min-microvolt = <3300000>;
133-
regulator-max-microvolt = <3300000>;
134-
gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */
135-
};
136-
137126
lcd0: display {
138-
compatible = "panel-dpi";
127+
/* This isn't the exact LCD, but the timings meet spec */
128+
/* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */
129+
compatible = "newhaven,nhd-4.3-480272ef-atxl";
139130
label = "15";
140-
status = "okay";
141-
/* default-on; */
142131
pinctrl-names = "default";
143-
132+
pinctrl-0 = <&panel_pwr_pins>;
133+
backlight = <&bl>;
134+
enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;
144135
port {
145136
lcd_in: endpoint {
146137
remote-endpoint = <&dpi_out>;
147138
};
148139
};
149-
150-
panel-timing {
151-
clock-frequency = <9000000>;
152-
hactive = <480>;
153-
vactive = <272>;
154-
hfront-porch = <3>;
155-
hback-porch = <2>;
156-
hsync-len = <42>;
157-
vback-porch = <3>;
158-
vfront-porch = <4>;
159-
vsync-len = <11>;
160-
hsync-active = <0>;
161-
vsync-active = <0>;
162-
de-active = <1>;
163-
pixelclk-active = <1>;
164-
};
165140
};
166141

167142
bl: backlight {

0 commit comments

Comments
 (0)