[PATCH v9 0/6] Add HDMI jack support on RK3288
cychiang at chromium.org
Mon Oct 28 07:19:24 UTC 2019
This patch series supports HDMI jack reporting on RK3288, which uses
DRM dw-hdmi driver and hdmi-codec codec driver.
The previous discussion about reporting jack status using hdmi-notifier
and drm_audio_component is at
The new approach is to use a callback mechanism that is
specific to hdmi-codec.
The dependent change on hdmi-codec.c
commit 6fa5963c37a2 ("ASoC: hdmi-codec: Add an op to set callback function for plug event")
has been merged to upstream.
Changes from v8 to v9:
Use the presence of rockchip,audio-codec to determine the presense of max98090
in sound card.
Use the presence of rockchip,hdmi-codec to determine the presence of HDMI in
Remove the compatible strings added in v8.
2. #include <sound/hdmi-codec.h> should be in the patch of adding HDMI jack support.
Cheng-Yi Chiang (6):
drm: bridge: dw-hdmi: Report connector status using callback
ASoC: rockchip-max98090: Support usage with and without HDMI
ASoC: rockchip_max98090: Optionally support HDMI use case
ASoC: rockchip_max98090: Add HDMI jack support
ARM: dts: rockchip: Add HDMI support to rk3288-veyron-analog-audio
ARM: dts: rockchip: Add HDMI audio support to rk3288-veyron-mickey.dts
.../bindings/sound/rockchip-max98090.txt | 27 +-
.../boot/dts/rk3288-veyron-analog-audio.dtsi | 1 +
arch/arm/boot/dts/rk3288-veyron-mickey.dts | 7 +
.../drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 11 +
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 41 ++-
include/drm/bridge/dw_hdmi.h | 4 +
sound/soc/rockchip/Kconfig | 3 +-
sound/soc/rockchip/rockchip_max98090.c | 313 ++++++++++++++----
8 files changed, 338 insertions(+), 69 deletions(-)
More information about the dri-devel