Commit 842822d3 authored by Archit Taneja's avatar Archit Taneja Committed by Srinivas Kandagatla
Browse files

drm/mipi_dsi: Get DSI host by DT device node



mipi_dsi_devices are inherently aware of their host because they
share a parent-child hierarchy in the device tree.

Non-dsi drivers that create a dummy dsi device don't have this data.
In order to get this information, they require to a phandle to the dsi
host in the device tree.

Maintain a list of all the hosts DSI that are currently registered.

This list will be used to find the mipi_dsi_host corresponding to the
device_node passed in of_find_mipi_dsi_host_by_node.

Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
parent e5819a24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment