Skip to content

Anbernic RG-DS AW87391 Speaker Amps

Chris Morgan linux-devicetree linux-rockchip linux-sound 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Correct an uninitalized ret value error identified by kernel test robot. [1]
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Added devicetree binding for the Anbernic RG-DS. This is based on the following commit that has since been accepted. [2]

[1] https://lore.kernel.org/oe-kbuild-all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?id=9e3f8ae040009f66367b2ba1081b7e313b39aeff

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ASoC: dt-bindings: aw87390: Add Anbernic RG-DS AmplifierDocumentation/devicetree/bindings/sound/awinic,aw87390.yaml+29 -50 replies
2/3ASoC: codecs: aw87390: Add Anbernic RG-DS amp driversound/soc/codecs/aw87390.c sound/soc/codecs/aw87390.h+253 -80 replies
3/3arm64: dts: rockchip: add Awinic aw87391 for Anbernic RG-DSarch/arm64/boot/dts/rockchip/rk3568-anbernic-rg-ds.dts+40 -40 replies

Reviews trailers per patch

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

PatchConor Dooley
1/3A-b
2/3
3/3

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/3] Anbernic RG-DS AW87391 Speaker Amps

From: Chris Morgan <[email protected]>

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.

Changes since V1:
- Correct an uninitalized ret value error identified by kernel test robot. [1]
https://lore.kernel.org/oe-kbuild-all/[email protected]/
- Added devicetree binding for the Anbernic RG-DS. This is based on the following commit that has since been accepted. [2]

[1] https://lore.kernel.org/oe-kbuild-all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?id=9e3f8ae040009f66367b2ba1081b7e313b39aeff

Chris Morgan (3):
ASoC: dt-bindings: aw87390: Add Anbernic RG-DS Amplifier
ASoC: codecs: aw87390: Add Anbernic RG-DS amp driver
arm64: dts: rockchip: add Awinic aw87391 for Anbernic RG-DS

 .../bindings/sound/awinic,aw87390.yaml        |  34 +++-
 .../dts/rockchip/rk3568-anbernic-rg-ds.dts    |  44 ++++-
 sound/soc/codecs/aw87390.c                    | 175 +++++++++++++++++-
 sound/soc/codecs/aw87390.h                    |  86 +++++++++
 4 files changed, 322 insertions(+), 17 deletions(-)
Signature · 1 line
2.43.0