• Archit Taneja's avatar
    drm/bridge: adv7533: Create a MIPI DSI device · 1e4d58cd
    Archit Taneja authored
    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: default avatarArchit Taneja <architt@codeaurora.org>
    1e4d58cd
adv7533.c 4.24 KB