Commit 20cb7198456d99daa65b4d08eff302968de912b4
Committed by
Greg Kroah-Hartman
1 parent
4e5a37c496
ARM: dts: am437x-sk-evm.dts: fix LCD timings
commit d73f825e6efa723e81d9ffcc4949fe9f03f1df29 upstream. The lcd0 node for am437x-sk-evm.dts contains bad LCD timings, and while they seem to work with a quick test, doing for example blank/unblank will give you a black display. This patch updates the timings to the 'typical' values from the LCD spec sheet. Also, the compatible string is completely bogus, as "osddisplays,osd057T0559-34ts" is _not_ a 480x272 panel. The panel on the board is a newhaven one. Update the compatible string to reflect this. Note that this hasn't caused any issues, as the "panel-dpi" matches the driver. Tested-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 1 changed file with 6 additions and 6 deletions Side-by-side Diff
arch/arm/boot/dts/am437x-sk-evm.dts
... | ... | @@ -100,7 +100,7 @@ |
100 | 100 | }; |
101 | 101 | |
102 | 102 | lcd0: display { |
103 | - compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; | |
103 | + compatible = "newhaven,nhd-4.3-480272ef-atxl", "panel-dpi"; | |
104 | 104 | label = "lcd"; |
105 | 105 | |
106 | 106 | pinctrl-names = "default"; |
... | ... | @@ -112,11 +112,11 @@ |
112 | 112 | clock-frequency = <9000000>; |
113 | 113 | hactive = <480>; |
114 | 114 | vactive = <272>; |
115 | - hfront-porch = <8>; | |
116 | - hback-porch = <43>; | |
117 | - hsync-len = <4>; | |
118 | - vback-porch = <12>; | |
119 | - vfront-porch = <4>; | |
115 | + hfront-porch = <2>; | |
116 | + hback-porch = <2>; | |
117 | + hsync-len = <41>; | |
118 | + vfront-porch = <2>; | |
119 | + vback-porch = <2>; | |
120 | 120 | vsync-len = <10>; |
121 | 121 | hsync-active = <0>; |
122 | 122 | vsync-active = <0>; |