Skip to content

Add a new SoundWire enumeration helper

Charles Keepax linux-sound lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest18 patches 1 replyIn review
  2. v318 patches 2 repliesSuperseded
  3. v218 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v117 patches5 repliesSuperseded

Changes in v4 from the cover letter

- Actually fix kernel doc

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18soundwire: Add a helper function to wait for device initialisationdrivers/soundwire/bus.c include/linux/soundwire/sdw.h+39 -00 replies
2/18ASoC: cs35l56: Use new SoundWire enumeration helpersound/soc/codecs/cs35l56-sdw.c+4 -60 replies
3/18ASoC: cs42l42: Use new SoundWire enumeration helpersound/soc/codecs/cs42l42-sdw.c+4 -70 replies
4/18ASoC: max98363: Use new SoundWire enumeration helpersound/soc/codecs/max98363.c+4 -130 replies
5/18ASoC: max98373: Use new SoundWire enumeration helpersound/soc/codecs/max98373-sdw.c+4 -140 replies
6/18ASoC: rt700: Use new SoundWire enumeration helpersound/soc/codecs/rt700-sdw.c+4 -140 replies
7/18ASoC: rt711: Use new SoundWire enumeration helpersound/soc/codecs/rt711-sdca-sdw.c sound/soc/codecs/rt711-sdw.c+8 -220 replies
8/18ASoC: rt712: Use new SoundWire enumeration helpersound/soc/codecs/rt712-sdca-dmic.c sound/soc/codecs/rt712-sdca-sdw.c+8 -270 replies
9/18ASoC: rt715: Use new SoundWire enumeration helpersound/soc/codecs/rt715-sdca-sdw.c sound/soc/codecs/rt715-sdw.c+8 -280 replies
10/18ASoc: rt721: Use new SoundWire enumeration helpersound/soc/codecs/rt721-sdca-sdw.c+4 -120 replies
11/18ASoC: rt722: Use new SoundWire enumeration helpersound/soc/codecs/rt722-sdca-sdw.c+4 -120 replies
12/18ASoC: rt1017: Use new SoundWire enumeration helpersound/soc/codecs/rt1017-sdca-sdw.c+4 -140 replies
13/18ASoC: rt1308: Use new SoundWire enumeration helpersound/soc/codecs/rt1308-sdw.c+4 -140 replies
14/18ASoC: rt1316: Use new SoundWire enumeration helpersound/soc/codecs/rt1316-sdw.c+4 -140 replies
15/18ASoC: rt1318: Use new SoundWire enumeration helpersound/soc/codecs/rt1318-sdw.c+4 -120 replies
16/18ASoC: rt1320: Use new SoundWire enumeration helpersound/soc/codecs/rt1320-sdw.c+4 -120 replies
17/18ASoC: rt5682: Use new SoundWire enumeration helpersound/soc/codecs/rt5682-sdw.c+4 -120 replies
18/18ASoC: tas2783: Use new SoundWire enumeration helpersound/soc/codecs/tas2783-sdw.c+4 -140 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchVinod Koul
1/18A-b
2/18
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/18] Add a new SoundWire enumeration helper

Add a new SoundWire enumeration helper function, many drivers have almost identical code in runtime resume so it makes sense to move this to the core.

It is worth noting this is really step one of a larger process, there are a few drivers that do more custom things and are not covered by this series. But this series picks up the low hanging fruit and moves things in a good direction.

The next step is to look at drivers that also wait at probe time, where the unattached_request flag is not going to be valid.

Thanks,
Charles

Changes since v1:
- Add a stub for sdw_slave_wait_for_init()
- Add kerneldoc for sdw_slave_wait_for_init()
- Update cs35l56 as well
- Correct bug in the update of cs42l42

Changes since v2:
- Corrected timeout_us to timeout_ms

Changes since v3:
- Actually fix kernel doc

Charles Keepax (18):
soundwire: Add a helper function to wait for device initialisation
ASoC: cs35l56: Use new SoundWire enumeration helper
ASoC: cs42l42: Use new SoundWire enumeration helper
ASoC: max98363: Use new SoundWire enumeration helper
ASoC: max98373: Use new SoundWire enumeration helper
ASoC: rt700: Use new SoundWire enumeration helper
ASoC: rt711: Use new SoundWire enumeration helper
ASoC: rt712: Use new SoundWire enumeration helper
ASoC: rt715: Use new SoundWire enumeration helper
ASoc: rt721: Use new SoundWire enumeration helper
ASoC: rt722: Use new SoundWire enumeration helper
ASoC: rt1017: Use new SoundWire enumeration helper
ASoC: rt1308: Use new SoundWire enumeration helper
ASoC: rt1316: Use new SoundWire enumeration helper
ASoC: rt1318: Use new SoundWire enumeration helper
ASoC: rt1320: Use new SoundWire enumeration helper
ASoC: rt5682: Use new SoundWire enumeration helper
ASoC: tas2783: Use new SoundWire enumeration helper

 drivers/soundwire/bus.c            | 31 ++++++++++++++++++++++++++++++
 include/linux/soundwire/sdw.h      |  8 ++++++++
 sound/soc/codecs/cs35l56-sdw.c     | 10 ++++------
 sound/soc/codecs/cs42l42-sdw.c     | 11 ++++-------
 sound/soc/codecs/max98363.c        | 17 ++++------------
 sound/soc/codecs/max98373-sdw.c    | 18 ++++-------------
 sound/soc/codecs/rt1017-sdca-sdw.c | 18 ++++-------------
 sound/soc/codecs/rt1308-sdw.c      | 18 ++++-------------
 sound/soc/codecs/rt1316-sdw.c      | 18 ++++-------------
 sound/soc/codecs/rt1318-sdw.c      | 16 ++++-----------
 sound/soc/codecs/rt1320-sdw.c      | 16 ++++-----------
 sound/soc/codecs/rt5682-sdw.c      | 16 ++++-----------
 sound/soc/codecs/rt700-sdw.c       | 18 ++++-------------
 sound/soc/codecs/rt711-sdca-sdw.c  | 16 ++++-----------
 sound/soc/codecs/rt711-sdw.c       | 14 ++++----------
 sound/soc/codecs/rt712-sdca-dmic.c | 19 ++++--------------
 sound/soc/codecs/rt712-sdca-sdw.c  | 16 ++++-----------
 sound/soc/codecs/rt715-sdca-sdw.c  | 18 ++++-------------
 sound/soc/codecs/rt715-sdw.c       | 18 ++++-------------
 sound/soc/codecs/rt721-sdca-sdw.c  | 16 ++++-----------
 sound/soc/codecs/rt722-sdca-sdw.c  | 16 ++++-----------
 sound/soc/codecs/tas2783-sdw.c     | 18 ++++-------------
 22 files changed, 119 insertions(+), 247 deletions(-)
Signature · 1 line
2.47.3