drm/vc4: hdmi: Add reset callback
The BCM2711 and BCM283x HDMI controllers use a slightly different reset sequence, so let's add a callback to reset the controller. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Tested-by: Chanwoo Choi <cw00.choi@samsung.com> Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com> Tested-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Link: https://patchwork.freedesktop.org/patch/msgid/a34bcb493da07eae58ed704f65e72ce0748e8952.1599120059.git-series.maxime@cerno.tech
This commit is contained in:
@@ -35,6 +35,9 @@ struct vc4_hdmi_variant {
|
||||
* clocks, etc) for that variant.
|
||||
*/
|
||||
int (*init_resources)(struct vc4_hdmi *vc4_hdmi);
|
||||
|
||||
/* Callback to reset the HDMI block */
|
||||
void (*reset)(struct vc4_hdmi *vc4_hdmi);
|
||||
};
|
||||
|
||||
/* HDMI audio information */
|
||||
|
Reference in New Issue
Block a user