devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: Add Richtek rt9123 and rt9123p support
@ 2025-04-10  0:58 cy_huang
  2025-04-10  0:58 ` [PATCH v2 1/4] ASoC: dt-bindings: Add bindings for Richtek rt9123 cy_huang
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: cy_huang @ 2025-04-10  0:58 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, ChiYuan Huang,
	Otto lin, Allen Lin, devicetree, linux-sound, linux-kernel

From: ChiYuan Huang <cy_huang@richtek.com>

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/202504052206.HFqFRXUk-lkp@intel.com/
- 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/202504052244.bgS5yxev-lkp@intel.com/
- 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
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-04-14 13:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10  0:58 [PATCH v2 0/4] ASoC: Add Richtek rt9123 and rt9123p support cy_huang
2025-04-10  0:58 ` [PATCH v2 1/4] ASoC: dt-bindings: Add bindings for Richtek rt9123 cy_huang
2025-04-11 16:09   ` Rob Herring
2025-04-10  0:58 ` [PATCH v2 2/4] ASoC: codecs: Add support " cy_huang
2025-04-10  0:58 ` [PATCH v2 3/4] ASoC: dt-bindings: Add bindings for Richtek rt9123p cy_huang
2025-04-11 16:09   ` Rob Herring (Arm)
2025-04-10  0:58 ` [PATCH v2 4/4] ASoC: codecs: Add support " cy_huang
2025-04-14 13:56 ` [PATCH v2 0/4] ASoC: Add Richtek rt9123 and rt9123p support Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).