[PATCH v9 0/6] Add HDMI jack support on RK3288

From: Cheng-Yi Chiang
Date: Mon Oct 28 2019 - 03:19:43 EST


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

https://lore.kernel.org/patchwork/patch/1083027/

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:

1. rockchip_max98090:
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
sound card.
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(-)

--
2.24.0.rc0.303.g954a862665-goog