summaryrefslogtreecommitdiffstats
path: root/firmware/.gitignore
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-03-06 14:54:39 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-03-31 12:44:49 +0200
commit751e2676ee9272a0fbde6566afde33c1106d7da1 (patch)
treedb63630644c046470a78af04a0ee81d5a46d5512 /firmware/.gitignore
parentdrm/imx: consolidate bus format variable names (diff)
downloadlinux-751e2676ee9272a0fbde6566afde33c1106d7da1.tar.xz
linux-751e2676ee9272a0fbde6566afde33c1106d7da1.zip
drm/imx: imx-ldb: add drm_panel support
This patch allows to optionally attach the lvds-channel to a panel supported by a drm_panel driver using of-graph bindings, instead of supplying the modes via display-timings in the device tree. This depends on of_graph_get_port_by_id and uses the OF graph to link the optional DRM panel to the LDB lvds-channel. The output port number is 1 on devices without the 4-port input multiplexer (i.MX5) and 4 on devices with the mux (i.MX6). Before: ldb { ... lvds-channel@0 { ... display-timings { native-timing = <&timing1>; timing1: etm0700g0dh6 { hactive = <800>; vactive = <480>; clock-frequency = <33260000>; hsync-len = <128>; hback-porch = <88>; hfront-porch = <40>; vsync-len = <2>; vback-porch = <33>; vfront-porch = <10>; hsync-active = <0>; vsync-active = <0>; ... }; }; ... }; }; After: ldb { ... lvds-channel@0 { ... port@4 { reg = <4>; lvds_out: endpoint { remote_endpoint = <&panel_in>; }; }; }; }; panel { compatible = "edt,etm0700g0dh6", "simple-panel"; ... port { panel_in: endpoint { remote-endpoint = <&lvds_out>; }; }; }; [Fixed build error due to missing select on DRM_PANEL --rmk] Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'firmware/.gitignore')
0 files changed, 0 insertions, 0 deletions