Skip to content

ASoC: sun4i-i2s: Updates to the driver

[email protected] alsa-devel linux-arm-kernel lkml 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/27 patches 6 repliesIn review
  2. v6 posting 1/23 patches 9 repliesSuperseded
  3. v515 patches 27 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v49 patches24 repliesSuperseded
v39 patches10 repliesSuperseded
v26 patches11 repliesSuperseded
v13 patches12 repliesSuperseded

Patches in v6 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ASoC: sun4i-i2s: Move channel select offsetsound/soc/sunxi/sun4i-i2s.c+11 -113 replies
2/7ASoC: sun4i-i2s: Add functions for RX and TX channel offsetssound/soc/sunxi/sun4i-i2s.c+25 -63 replies
3/7ASoC: sun4i-i2s: Add functions for RX and TX channel enablessound/soc/sunxi/sun4i-i2s.c+29 -30 replies
4/7ASoC: sun4i-i2s: Add functions for RX and TX channel selectssound/soc/sunxi/sun4i-i2s.c+56 -120 replies
5/7ASoC: sun4i-i2s: Add functions for RX and TX channel mappingsound/soc/sunxi/sun4i-i2s.c+41 -40 replies
6/7dt-bindings: ASoC: sun4i-i2s: Add H6 compatibleDocumentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml+2 -00 replies
7/7ASoC: sun4i-i2s: Add support for H6 I2Ssound/soc/sunxi/sun4i-i2s.c+143 -00 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/7] ASoC: sun4i-i2s: Updates to the driver

From: Marcus Cooper <[email protected]>

Hi All,
To be able to add support for the Allwinner H6 I've changed some of the original reg fields into function calls as this made it easier to setup for multi-channel audio especially across different SoCs. I've also stripped out all the other patches unrelated to this which I will deliver after support for the H6 has gone in.

These other patches are required for HDMI audio which is driving this patchset and they can be found here
https://github.com/codekipper/linux-sunxi/commits/upstream-i2s
BR,
CK

---
v6 changes compared to v5 are:
- rebased onto the recent tdm delivery
- stripped out patches not required for the H6 delivery

v5 changes compared to v4 are:
- removed delivered patches.
- Added more details to commit messages.
- replaced some reg fields with function calls.
- Added DSP_A and DSP_B support for H3 and later SoCs.
- Added support for the Allwinner H6.

v4 changes compared to v3 are:
- Moved patches around so that the more controversial of patches are at the top of the stack.
- Added more details to commit messages.
- Fixed 20bit audio PCM format to use 4 bytes.
- Reduced number of flags used to indicate a new SoC.

v3 changes compared to v2 are:
- added back slave mode changes
- added back the use of tdm properties
- changes to regmap and caching
- removed loopback functionality
- fixes to the channel offset mask

v2 changes compared to v1 are:
- removed slave mode changes which didn't set mclk and bclk div.
- removed use of tdm and now use a dedicated property.
- fix commit message to better explain reason for sign extending
- add divider calculations for newer SoCs.
- add support for multi-lane i2s data output.
- add support for 20, 24 and 32 bit samples.
- add loopback property so blocks can be tested without a codec.

---
Jernej Skrabec (2):
dt-bindings: ASoC: sun4i-i2s: Add H6 compatible
ASoC: sun4i-i2s: Add support for H6 I2S

Marcus Cooper (5):
ASoC: sun4i-i2s: Move channel select offset
ASoC: sun4i-i2s: Add functions for RX and TX channel offsets
ASoC: sun4i-i2s: Add functions for RX and TX channel enables
ASoC: sun4i-i2s: Add functions for RX and TX channel selects
ASoC: sun4i-i2s: Add functions for RX and TX channel mapping

 .../sound/allwinner,sun4i-a10-i2s.yaml        |   2 +
 sound/soc/sunxi/sun4i-i2s.c                   | 337 ++++++++++++++++--
 2 files changed, 305 insertions(+), 34 deletions(-)
Signature · 1 line
2.23.0