Skip to content

ASoC: Add Richtek rt9123 and rt9123p support

[email protected] linux-devicetree linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 10 repliesSuperseded

Since v2 from the cover letter

[PATCH 2/4]
- include bitfield header file to fix kernel test robot issue
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Use #ifdef CONFIG_PM to only inlucde 'runtime_resume' and 'runtime_suspend', this will fix kernel test robot issue
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Check vendor-id before triggering SW_RST
- Fix 'SW_RST' write date non swap issue and add the wait delay for sw_reset
- Rename control name from 'SPK Gain Volume' to 'Speaker Volume'
- Change regmap cache type to _MAPLE
- Since ID check run once, to speed up regmap cache init, modify num_reg_defaults_raw from 0xf2 'COMBOID' to 0x36 'ANAFLAG'
- Add comments to describe why use pm runtime for RG special handling [PATCH 3/4]
- Modify the property name from 'enable-delay' to 'enable-delay-ms' to make the time unit more specific
[PATCH 4/4]
- Update the property parsing from 'enable-delay' to 'enable-delay-ms'

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: dt-bindings: Add bindings for Richtek rt9123Documentation/devicetree/bindings/sound/richtek,rt9123.yaml+56 -01 reply
2/4ASoC: codecs: Add support for Richtek rt9123sound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/rt9123.c+514 -00 replies
3/4ASoC: dt-bindings: Add bindings for Richtek rt9123pDocumentation/devicetree/bindings/sound/richtek,rt9123p.yaml+48 -01 reply
4/4ASoC: codecs: Add support for Richtek rt9123psound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/rt9123p.c+179 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/4R-b
2/4
3/4R-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] ASoC: Add Richtek rt9123 and rt9123p support

From: ChiYuan Huang <[email protected]>

This patch series adds Richtek rt9123 and rt9123p support. It's a 3.2W mono Class-D audio amplifier.

Since v2
[PATCH 2/4]
- include bitfield header file to fix kernel test robot issue
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Use #ifdef CONFIG_PM to only inlucde 'runtime_resume' and 'runtime_suspend', this will fix kernel test robot issue
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Check vendor-id before triggering SW_RST
- Fix 'SW_RST' write date non swap issue and add the wait delay for sw_reset
- Rename control name from 'SPK Gain Volume' to 'Speaker Volume'
- Change regmap cache type to _MAPLE
- Since ID check run once, to speed up regmap cache init, modify num_reg_defaults_raw from 0xf2 'COMBOID' to 0x36 'ANAFLAG'
- Add comments to describe why use pm runtime for RG special handling [PATCH 3/4]
- Modify the property name from 'enable-delay' to 'enable-delay-ms' to make the time unit more specific
[PATCH 4/4]
- Update the property parsing from 'enable-delay' to 'enable-delay-ms'

ChiYuan Huang (4):
ASoC: dt-bindings: Add bindings for Richtek rt9123
ASoC: codecs: Add support for Richtek rt9123
ASoC: dt-bindings: Add bindings for Richtek rt9123p
ASoC: codecs: Add support for Richtek rt9123p

 .../bindings/sound/richtek,rt9123.yaml        |  56 ++
 .../bindings/sound/richtek,rt9123p.yaml       |  48 ++
 sound/soc/codecs/Kconfig                      |  15 +
 sound/soc/codecs/Makefile                     |   4 +
 sound/soc/codecs/rt9123.c                     | 503 ++++++++++++++++++
 sound/soc/codecs/rt9123p.c                    | 171 ++++++
 6 files changed, 797 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/richtek,rt9123.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/richtek,rt9123p.yaml
 create mode 100644 sound/soc/codecs/rt9123.c
 create mode 100644 sound/soc/codecs/rt9123p.c

base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8

Signature · 1 line
2.34.1