Skip to content

HiKey i2s bindings, driver and dts changes

John Stultz lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesIn review
  2. v3 posting 2/22 patches 1 replySuperseded
  3. v3 RFC posting 1/22 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: add hi6210-i2s DT bindingsDocumentation/devicetree/bindings/sound/hisilicon,hi6210-i2s.txt+34 -03 replies
2/3ASoC: hisilicon: Add hi6210 i2s audio driversound/soc/Kconfig sound/soc/Makefile sound/soc/hisilicon/Kconfig +3 more+912 -01 reply
3/3arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio supportarch/arm64/boot/dts/hisilicon/hi6220-hikey.dts arch/arm64/boot/dts/hisilicon/hi6220.dtsi+42 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

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.

Quoted 1 line

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 <[email protected]>
Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Jaroslav Kysela <[email protected]>
Cc Takashi Iwai <[email protected]>
Cc Wei Xu <[email protected]>
Cc Rob Herring <[email protected]>
Cc Andy Green <[email protected]>
Cc Dave Long <[email protected]>
Cc Guodong Xu <[email protected]>

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
Signature · 1 line
2.7.4