Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: opos6uldev: use OF graph to describe the display

To make use of the new eLCDIF DRM driver OF graph description is
required. Describe the display using OF graph nodes.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Sébastien Szymanski and committed by
Shawn Guo
d9aa4d4f 0be9af77

+16 -21
+16 -21
arch/arm/boot/dts/imx6ul-opos6uldev.dts
··· 56 56 stdout-path = &uart1; 57 57 }; 58 58 59 - backlight { 59 + backlight: backlight { 60 60 compatible = "pwm-backlight"; 61 61 pwms = <&pwm3 0 191000>; 62 62 brightness-levels = <0 4 8 16 32 64 128 255>; ··· 95 95 pinctrl-names = "default"; 96 96 pinctrl-0 = <&pinctrl_w1>; 97 97 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 98 + }; 99 + 100 + panel: panel { 101 + compatible = "armadeus,st0700-adapt"; 102 + power-supply = <&reg_3v3>; 103 + backlight = <&backlight>; 104 + 105 + port { 106 + panel_in: endpoint { 107 + remote-endpoint = <&lcdif_out>; 108 + }; 109 + }; 98 110 }; 99 111 100 112 reg_5v: regulator-5v { ··· 194 182 &lcdif { 195 183 pinctrl-names = "default"; 196 184 pinctrl-0 = <&pinctrl_lcdif>; 197 - display = <&display0>; 198 - lcd-supply = <&reg_3v3>; 199 185 status = "okay"; 200 186 201 - display0: display0 { 202 - bits-per-pixel = <32>; 203 - bus-width = <18>; 204 - 205 - display-timings { 206 - timing0: timing0 { 207 - clock-frequency = <33000033>; 208 - hactive = <800>; 209 - vactive = <480>; 210 - hback-porch = <96>; 211 - hfront-porch = <96>; 212 - vback-porch = <20>; 213 - vfront-porch = <21>; 214 - hsync-len = <64>; 215 - vsync-len = <4>; 216 - de-active = <1>; 217 - pixelclk-active = <0>; 218 - }; 187 + port { 188 + lcdif_out: endpoint { 189 + remote-endpoint = <&panel_in>; 219 190 }; 220 191 }; 221 192 };