[RESEND][PATCH 0/2 v4] Audio support for adv7511 hdmi bridge

From: John Stultz
Date: Wed Nov 02 2016 - 23:22:37 EST

Just wanted to resend the adv7511 hdmi bridge audio support for
review and consideration for merging.

I've taken the core audio work done by Lars-Peter Clausen, and
adapted by Srinivas Kandagatla and Archit Taneja, and tried to
rework it to use the hdmi-codec sound driver.

This patchset, along with the i2s driver and dts changes allows
HDMI audio to work on the HiKey board.

As suggested, I do intend to rework the dts changes (not submitted
here) to use the of graph simple-card, instead of the simple-card
method I currently use, but I don't believe that that change would
effect these patches.

I'd really appreciate any thoughts or feedback.


New in v4:
* Kconfig tweaks suggested by Lars-Peter Clausen

Cc: David Airlie <airlied@xxxxxxxx>
Cc: Archit Taneja <architt@xxxxxxxxxxxxxx>
Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
Cc: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
Cc: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
Cc: "Ville SyrjÃlÃ" <ville.syrjala@xxxxxxxxxxxxxxx>
Cc: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
Cc: Andy Green <andy@xxxxxxxxxxx>
Cc: Dave Long <dave.long@xxxxxxxxxx>
Cc: Guodong Xu <guodong.xu@xxxxxxxxxx>
Cc: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
Cc: Mark Brown <broonie@xxxxxxxxxx>
Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
Cc: Jose Abreu <joabreu@xxxxxxxxxxxx>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx

John Stultz (1):
drm/bridge: adv7511: Add Audio support.

Srinivas Kandagatla (1):
drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

drivers/gpu/drm/bridge/adv7511/Kconfig | 8 +
drivers/gpu/drm/bridge/adv7511/Makefile | 1 +
drivers/gpu/drm/bridge/adv7511/adv7511.h | 16 ++
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 213 +++++++++++++++++++++++++
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 4 +
drivers/gpu/drm/bridge/adv7511/adv7533.c | 1 +
6 files changed, 243 insertions(+)
create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7511_audio.c