[PATCH 0/3 v4] HiKey i2s bindings, driver and dts changes
From: John Stultz
Date: Fri Mar 31 2017 - 18:06:16 EST
This patchset provides i2s audio driver and dts changes in order
to enable HDMI audio on the HiKey board.
Its been a few months since I last sent this out, but I wanted
to try to get some thoughts after trying to integrate some of
the feedback I've gotten since then.
Overally, the current i2s driver is somewhat limited, as the SoC
supports three different i2s routes. However, without
documentation this driver was originally developed by Andy Green
with only an old 3.10 era vendor driver for reference, so the
driver only supports one i2s route (S2) which goes to the HDMI
bridge on HiKey.
>From previous feedback, I have reworked the DTS binding a tiny
bit, to allow multi dais to be specified, which will allow other
i2s routes/dai links (such as is available on the LS connector)
to be used once we manage to figure out how to enable them
properly.
Further feedback would be greatly appreciated! Though audio is
not an area of my expertise, so the more specific the better :)
thanks
-john
Cc: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
Cc: Liam Girdwood <lgirdwood@xxxxxxxxx>
Cc: Mark Brown <broonie@xxxxxxxxxx>
Cc: Jaroslav Kysela <perex@xxxxxxxx>
Cc: Takashi Iwai <tiwai@xxxxxxxx>
Cc: Wei Xu <xuwei5@xxxxxxxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: Andy Green <andy@xxxxxxxxxxx>
Cc: Dave Long <dave.long@xxxxxxxxxx>
Cc: Guodong Xu <guodong.xu@xxxxxxxxxx>
Andy Green (1):
ASoC: hisilicon: Add hi6210 i2s audio driver
John Stultz (2):
ASoC: add hi6210-i2s DT bindings
arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio support
.../bindings/sound/hisilicon,hi6210-i2s.txt | 34 ++
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 16 +
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 26 +
sound/soc/Kconfig | 1 +
sound/soc/Makefile | 1 +
sound/soc/hisilicon/Kconfig | 5 +
sound/soc/hisilicon/Makefile | 1 +
sound/soc/hisilicon/hi6210-i2s.c | 628 +++++++++++++++++++++
sound/soc/hisilicon/hi6210-i2s.h | 276 +++++++++
9 files changed, 988 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt
create mode 100644 sound/soc/hisilicon/Kconfig
create mode 100644 sound/soc/hisilicon/Makefile
create mode 100644 sound/soc/hisilicon/hi6210-i2s.c
create mode 100644 sound/soc/hisilicon/hi6210-i2s.h
--
2.7.4