mirror_ubuntu-kernels/drivers/gpu/drm/bridge/synopsys
Cheng-Yi Chiang a9c82d63ca
drm: bridge: dw-hdmi: Report connector status using callback
Allow codec driver register callback function for plug event.

The callback registration flow:
dw-hdmi <--- hw-hdmi-i2s-audio <--- hdmi-codec

dw-hdmi-i2s-audio implements hook_plugged_cb op
so codec driver can register the callback.

dw-hdmi exports a function dw_hdmi_set_plugged_cb so platform device
can register the callback.

When connector plug/unplug event happens, report this event using the
callback.

Make sure that audio and drm are using the single source of truth for
connector status.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Link: https://lore.kernel.org/r/20191028071930.145899-2-cychiang@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-10-29 12:30:22 +00:00
..
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: move audio channel setup out of ahb 2019-08-14 15:03:11 +02:00
dw-hdmi-audio.h drm/bridge: dw-hdmi-i2s: add .get_eld support 2019-08-14 15:03:36 +02:00
dw-hdmi-cec.c dw-hdmi-cec: use cec_notifier_cec_adap_(un)register 2019-08-20 09:47:06 +02:00
dw-hdmi-cec.h drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-i2s-audio.c drm: bridge: dw-hdmi: Report connector status using callback 2019-10-29 12:30:22 +00:00
dw-hdmi.c drm: bridge: dw-hdmi: Report connector status using callback 2019-10-29 12:30:22 +00:00
dw-hdmi.h drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes 2019-08-14 15:03:33 +02:00
dw-mipi-dsi.c drm/bridge/synopsys: dsi: Allow VPG to be enabled via debugfs 2019-06-24 13:41:07 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00