Skip to content

Add Allwinner H3/H5/H6/A64 HDMI audio

Clément Péron alsa-devel linux-arm-kernel linux-devicetree lkml 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest15 patches 8 repliesIn review
  2. v914 patches 5 repliesSuperseded
  3. v814 patches 5 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v714 patches1 replySuperseded
v614 patches11 repliesSuperseded
v520 patches19 repliesSuperseded
v422 patches16 repliesSuperseded
v319 patches6 repliesSuperseded
v220 patches4 repliesSuperseded
v116 patches23 repliesSuperseded

Changes in v10 from the cover letter

- fix lrck_period computation for I2S justified mode

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ASoC: sun4i-i2s: Fix lrck_period computation for I2S justified modesound/soc/sunxi/sun4i-i2s.c+2 -22 replies
2/15ASoC: sun4i-i2s: Change set_chan_cfg() paramssound/soc/sunxi/sun4i-i2s.c+18 -140 replies
3/15ASoC: sun4i-i2s: Add support for H6 I2Ssound/soc/sunxi/sun4i-i2s.c+222 -00 replies
4/15ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicitsound/soc/sunxi/sun4i-i2s.c+44 -250 replies
5/15ASoC: sun4i-i2s: Set sign extend samplesound/soc/sunxi/sun4i-i2s.c+17 -00 replies
6/15ASoC: sun4i-i2s: Add 20 and 24 bit supportsound/soc/sunxi/sun4i-i2s.c+9 -20 replies
7/15ASoC: sun4i-i2s: Fix sun8i volatile regssound/soc/sunxi/sun4i-i2s.c+11 -40 replies
8/15ASoC: sun4i-i2s: Fix setting of FIFO modessound/soc/sunxi/sun4i-i2s.c+7 -70 replies
9/15ASoC: sun4i-i2s: fix coding-style for callback definitionsound/soc/sunxi/sun4i-i2s.c+2 -20 replies
10/15dt-bindings: ASoC: sun4i-i2s: Add H6 compatibleDocumentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml+2 -00 replies
11/15arm64: dts: allwinner: h6: Add I2S1 nodearch/arm64/boot/dts/allwinner/sun50i-h6.dtsi+13 -00 replies
12/15arm64: dts: allwinner: a64: Add I2S2 nodearch/arm64/boot/dts/allwinner/sun50i-a64.dtsi+14 -00 replies
13/15arm64: defconfig: Enable Allwinner i2s driverarch/arm64/configs/defconfig+1 -00 replies
14/15dt-bindings: sound: sun4i-i2s: Document H3 with missing RX channel possibilityDocumentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml+3 -13 replies
15/15arm: dts: sunxi: h3/h5: Add I2S2 nodearch/arm/boot/dts/sunxi-h3-h5.dtsi+13 -00 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchMaxime RipardChen-Yu TsaiRob Herring
1/15A-b
2/15A-b
3/15A-b R-b
4/15A-b R-b
5/15A-b R-b
6/15A-b R-b
7/15A-b R-b
8/15A-b R-b
9/15A-b
10/15A-b A-b A-b
11/15A-b
12/15A-b
13/15A-b
14/15A-b
15/15A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v10 thread

Cover letter [PATCH v10 00/15] Add Allwinner H3/H5/H6/A64 HDMI audio

Hi,

This series add H6 I2S support and the I2S node missing to support HDMI audio in different Allwinner SoC.

As we first use some TDM property to make the I2S working with the simple soundcard. We have now drop this simple sound card and a proper dedicated soundcard will be introduce later.

This make the title of this series wrong now but to be able to follow the previous release I keep the same name.

Regards,
Clement

Change since v9:
- fix lrck_period computation for I2S justified mode

Change since v8:
- move the comment near the function prototype
- collect Maxime Ripard tags

Change since v7:
- rebase on next-20201026
- comment about slots and slot_width

Change since v6:
- move set_channel_cfg() in first position
- convert return value to decimal

Change since v5:
- Drop HDMI simple soundcard
- Collect Chen-Yu Tsai tags
- Configure channels from 9 to 15.
- Remove DMA RX for H3/H5
- Fix Documentation for H3/H5

Change since v4:
- add more comment on get_wss() and set_channel_cfg() patch
- merge soundcard and DAI HDMI patches

Change since v3:
- add Samuel Holland patch to reconfigure FIFO_TX_REG when suspend is enabled
- readd inversion to H6 LRCK sun50i_h6_i2s_set_soc_fmt()
- Fix get_wss() for sun4i
- Add a commit to fix checkpatch warning

Change since v2:
- rebase on next-20200918
- drop revert LRCK polarity patch
- readd simple-audio-card,frame-inversion in dts
- Add patch for changing set_chan_cfg params

Change since v1:
- rebase on next-20200828
- add revert LRCK polarity
- remove all simple-audio-card,frame-inversion in dts
- add Ondrej patches for Orange Pi board
- Add arm64 defconfig patch

Clément Péron (7):
ASoC: sun4i-i2s: Fix lrck_period computation for I2S justified mode
ASoC: sun4i-i2s: Change set_chan_cfg() params
ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit
ASoC: sun4i-i2s: Fix sun8i volatile regs
ASoC: sun4i-i2s: fix coding-style for callback definition
arm64: defconfig: Enable Allwinner i2s driver
dt-bindings: sound: sun4i-i2s: Document H3 with missing RX channel
possibility

Jernej Skrabec (3):
ASoC: sun4i-i2s: Add support for H6 I2S
dt-bindings: ASoC: sun4i-i2s: Add H6 compatible
arm64: dts: allwinner: h6: Add I2S1 node

Marcus Cooper (4):
ASoC: sun4i-i2s: Set sign extend sample
ASoC: sun4i-i2s: Add 20 and 24 bit support
arm64: dts: allwinner: a64: Add I2S2 node
arm: dts: sunxi: h3/h5: Add I2S2 node

Samuel Holland (1):
ASoC: sun4i-i2s: Fix setting of FIFO modes

 .../sound/allwinner,sun4i-a10-i2s.yaml        |   6 +-
 arch/arm/boot/dts/sunxi-h3-h5.dtsi            |  13 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi |  14 +
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  |  13 +
 arch/arm64/configs/defconfig                  |   1 +
 sound/soc/sunxi/sun4i-i2s.c                   | 388 +++++++++++++++---
 6 files changed, 378 insertions(+), 57 deletions(-)
Signature · 1 line
2.25.1