diff options
author | Laurent Pinchart | 2017-01-17 10:29:00 +0200 |
---|---|---|
committer | Archit Taneja | 2017-01-18 09:29:33 +0530 |
commit | 69497eb9234eb34994b9a0d2f2c17c4c09f2e969 (patch) | |
tree | 13261df8354c705f09098548496b5d2bfd1fd23b /include/drm/bridge/dw_hdmi.h | |
parent | d2ae94ae840bd0b347e417e88b1637df95d499ac (diff) |
drm: bridge: dw-hdmi: Implement DRM bridge registration
As an option for drivers not based on the component framework, register
the bridge with the DRM core with the DRM bridge API. Existing drivers
based on dw_hdmi_bind() and dw_hdmi_unbind() are not affected as those
functions are preserved with their current behaviour.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170117082910.27023-11-laurent.pinchart+renesas@ideasonboard.com
Diffstat (limited to 'include/drm/bridge/dw_hdmi.h')
-rw-r--r-- | include/drm/bridge/dw_hdmi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h index 94ff6edd070b..3bb22a849830 100644 --- a/include/drm/bridge/dw_hdmi.h +++ b/include/drm/bridge/dw_hdmi.h @@ -56,6 +56,9 @@ struct dw_hdmi_plat_data { struct drm_display_mode *mode); }; +int dw_hdmi_probe(struct platform_device *pdev, + const struct dw_hdmi_plat_data *plat_data); +void dw_hdmi_remove(struct platform_device *pdev); void dw_hdmi_unbind(struct device *dev); int dw_hdmi_bind(struct platform_device *pdev, struct drm_encoder *encoder, const struct dw_hdmi_plat_data *plat_data); |