Add SDCA register map support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | regcache: Add support for sorting defaults arraysdrivers/ include/ | +38 | 0 replies | |
| 2/4 | ASoC: SDCA: Add generic regmap SDCA helpersinclude/ sound/ sound/ | +214 | 0 replies | |
| 3/4 | ASoC: SDCA: Add regmap helpers for parsing for DisCo Constant valuesinclude/ sound/ | +86 | 0 replies | |
| 4/4 | ASoC: SDCA: Add helper to write out defaults and fixed valuesinclude/ sound/ | +53 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Pierre-Louis Bossart |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Add SDCA register map support
This series is the next step of adding SDCA support. Here we add helper functions to allow drivers to easily use the SDCA DisCo information to create a register map for the device.
The basic idea here is the code takes the list of SDCA controls parsed from DisCo and uses primarily the Access Mode to determine if the register should be marked as readable/writable etc. Further more some additional concepts such as DisCo Constants and Defaults are handled. There is some potential confusion, as DisCo Constants are handled as an entry in the regmap defaults table, whereas a DisCo Default is simply handled as a write to the register. Alas the naming confusion is an unavoidable result of the slight impedance mismatch between the two systems.
Thanks,
Charles
Charles Keepax (4):
regcache: Add support for sorting defaults arrays
ASoC: SDCA: Add generic regmap SDCA helpers
ASoC: SDCA: Add regmap helpers for parsing for DisCo Constant values
ASoC: SDCA: Add helper to write out defaults and fixed values
drivers/base/regmap/regcache.c | 31 ++++ include/linux/regmap.h | 7 + include/sound/sdca_regmap.h | 31 ++++ sound/soc/sdca/Makefile | 2 +- sound/soc/sdca/sdca_regmap.c | 321 +++++++++++++++++++++++++++++++++ 5 files changed, 391 insertions(+), 1 deletion(-) create mode 100644 include/sound/sdca_regmap.h create mode 100644 sound/soc/sdca/sdca_regmap.c
Signature · 1 line
2.39.5