]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i2c: adv7511: Create mipi_dsi_device for ADV7533
authorArchit Taneja <architt@codeaurora.org>
Thu, 9 Jul 2015 05:17:05 +0000 (10:47 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:43 +0000 (09:54 +0000)
commit41fece55c17c867598cbe625bc9c1223d7d75647
tree7588e5fe64c65dfc883990a0db519ab3f8ece5c7
parentc463163b68f160afe69331f4ef85041013d27edb
drm/i2c: adv7511: Create mipi_dsi_device for ADV7533

In order to pass DSI specific parameters to the DSI host, we need the
driver to create a mipi_dsi_device that attaches to the host.

Use of_graph helpers to get the DSI host DT node. Create a dummy dsi
device using this host. Finally, attach this device to the host.

Populate few other DT parameters (number of data lanes etc) that are
required for DSI RX to work correctly. Hardcode few other parameters
(rgb, embedded_sync) for now.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/i2c/adv7511.c