diff options
author | Fancy Fang <chen.fang@nxp.com> | 2019-09-05 15:54:33 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 16:07:25 +0800 |
commit | a2b73852d130d8e08fadaff4bf001b6bc55bcb59 (patch) | |
tree | 9022f1301b4f00883bdcc4e1c838ca5c0272a7c6 /arch/arm/boot/dts/imx7d-sdb.dts | |
parent | 89a272efb13f1801f2ff864d57f0892fde1610e9 (diff) |
ARM: dts: imx7d-sdb: add 'display' property for lcdif
Since the mxsfb framebuffer driver requires 'display'
property to exist, so add this property to lcdif1,
otherwise there will be below errors printed:
[ 3.617194] mxsfb 2220000.lcdif: failed to find display phandle
[ 3.623254] mxsfb 2220000.lcdif: Failed to initialize fbinfo: -2
[ 3.640538] mxsfb: probe of 2220000.lcdif failed with error -2
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx7d-sdb.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index f09fff920766..131b13b53e6b 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -519,8 +519,34 @@ &lcdif { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcdif>; + display = <&display0>; status = "okay"; + display0: display@0 { + bits-per-pixel = <16>; + bus-width = <24>; + + display-timings { + native-mode = <&timing0>; + + timing0: timing0 { + clock-frequency = <9200000>; + hactive = <480>; + vactive = <272>; + hfront-porch = <8>; + hback-porch = <4>; + hsync-len = <41>; + vback-porch = <2>; + vfront-porch = <4>; + vsync-len = <10>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <0>; + }; + }; + }; + port { display_out: endpoint { remote-endpoint = <&panel_in>; |