mbox series

[0/3,v4] HiKey i2s bindings, driver and dts changes

Message ID 1490997961-31937-1-git-send-email-john.stultz@linaro.org
Headers show
Series HiKey i2s bindings, driver and dts changes | expand

Message

John Stultz March 31, 2017, 10:05 p.m. UTC
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@linaro.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Green <andy@warmcat.com>
Cc: Dave Long <dave.long@linaro.org>
Cc: Guodong Xu <guodong.xu@linaro.org>

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