public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Anbernic RG-DS AW87391 Speaker Amps
@ 2026-01-23 15:47 Chris Morgan
  2026-01-23 15:47 ` [PATCH 1/2] ASoC: dt-bindings: aw87390: Add Anbernic RG-DS Amplifier Chris Morgan
  2026-01-23 15:47 ` [PATCH 2/2] ASoC: codecs: aw87390: Add Anbernic RG-DS amplifier driver Chris Morgan
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Morgan @ 2026-01-23 15:47 UTC (permalink / raw)
  To: linux-sound
  Cc: devicetree, wangweidong.a, tiwai, perex, conor+dt, krzk+dt, robh,
	broonie, lgirdwood, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add support for the Anbernic RG-DS Speaker Amplifiers. The Anbernic
RG-DS uses two AW87391 ICs at 0x58 and 0x5B on i2c2. However, the
manufacturer did not provide a firmware file, only a sequence of
register writes to each device to enable and disable them.

Add support for this *specific* configuration in the AW87390 driver.
Since we are relying on a device specific sequence I am using a
device specific compatible string. This driver does not currently
support the aw87391 for any other device as I have none to test
with valid firmware. Attempts to create firmware with the AwinicSCPv4
have not been successful.

Chris Morgan (2):
  ASoC: dt-bindings: aw87390: Add Anbernic RG-DS Amplifier
  ASoC: codecs: aw87390: Add Anbernic RG-DS amplifier driver

 .../bindings/sound/awinic,aw87390.yaml        |  34 +++-
 sound/soc/codecs/aw87390.c                    | 176 +++++++++++++++++-
 sound/soc/codecs/aw87390.h                    |  86 +++++++++
 3 files changed, 283 insertions(+), 13 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-01-23 23:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-23 15:47 [PATCH 0/2] Anbernic RG-DS AW87391 Speaker Amps Chris Morgan
2026-01-23 15:47 ` [PATCH 1/2] ASoC: dt-bindings: aw87390: Add Anbernic RG-DS Amplifier Chris Morgan
2026-01-23 17:09   ` Conor Dooley
2026-01-23 15:47 ` [PATCH 2/2] ASoC: codecs: aw87390: Add Anbernic RG-DS amplifier driver Chris Morgan
2026-01-23 23:32   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox