]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: adv7533: Create a MIPI DSI device
authorArchit Taneja <architt@codeaurora.org>
Wed, 15 Jun 2016 11:31:27 +0000 (17:01 +0530)
committerArchit Taneja <architt@codeaurora.org>
Wed, 13 Jul 2016 08:54:37 +0000 (14:24 +0530)
commitc61e69ce1e56db990efaba56f6b1b250b837b078
tree9b3522f349f458ab29374c639352781caad81246
parentbe9dcd80444281fc1afda130f835b1edbc85dd2d
drm/bridge: adv7533: Create a MIPI DSI device

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

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

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

Select DRM_MIPI_DSI config option only when ADV7533 support is enabled.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/bridge/adv7511/Kconfig
drivers/gpu/drm/bridge/adv7511/adv7511.h
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
drivers/gpu/drm/bridge/adv7511/adv7533.c