Skip to content

ASoC: Add TAS67524 quad-channel Class-D amplifier driver

Sen Wang linux-devicetree linux-sound lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 1 replyIn review
  2. v54 patches 4 repliesSuperseded
  3. v44 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches1 replySuperseded
v24 patches8 repliesSuperseded
v1 RFC4 patches3 repliesSuperseded

Changes in v6 from the cover letter

- Cancel fault_check_work and disable IRQ in i2c_remove (2/4)
- (Report by Sashiko) Use regmap_bulk_read for RTLDG impedance to prevent data tearing (2/4)
- Add Fault Monitoring documentation section with register decoding (3/4)
- Links to v5: https://lore.kernel.org/all/[email protected]/

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: dt-bindings: Add ti,tas67524Documentation/devicetree/bindings/sound/ti,tas67524.yaml+280 -00 replies
2/4ASoC: codecs: Add TAS67524 quad-channel audio amplifier driversound/soc/codecs/Kconfig sound/soc/codecs/Makefile sound/soc/codecs/tas675x.c +1 more+2575 -00 replies
3/4Documentation: sound: Add TAS675x codec mixer controls documentationDocumentation/sound/codecs/tas675x.rst+820 -00 replies
4/4MAINTAINERS: add entry for TAS67524 audio amplifierMAINTAINERS+4 -00 replies

Reviews trailers per patch

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

PatchKrzysztof Kozlowski
1/4R-b
2/4
3/4
4/4

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

Read the v6 thread

Cover letter [PATCH v6 0/4] ASoC: Add TAS67524 quad-channel Class-D amplifier driver

This series adds support for the TI TAS675x (TAS6754, TAS67524) quad-channel automotive Class-D amplifiers. The devices have an integrated DSP and load diagnostics, and are controlled over I2C.

Patch 1 adds the dt-binding, patch 2 the codec driver, patch 3 the ALSA mixer controls documentation, and patch 4 adds the MAINTAINERS entry.

Tested on AM62D-EVM with a TAS67CD-AEC daughter card. For setup & test procedures, refer to the GitHub repository.

GitHub: https://github.com/SenWang125/tas67-linux

Changes in v6:
- Cancel fault_check_work and disable IRQ in i2c_remove (2/4)
- (Report by Sashiko) Use regmap_bulk_read for RTLDG impedance to prevent data tearing (2/4)
- Add Fault Monitoring documentation section with register decoding (3/4)
- Links to v5: https://lore.kernel.org/all/[email protected]/

Changes in v5:
- Drop ti,tas6754 device id reference (2/4)
- Restrict RTLDG threshold max to 24bit (2/4)
- Complete error checking for set_dcldg_trigger (2/4)
- Add runtime PM reference in IRQ handler (2/4)
- Links to v4: https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Correct dt-binding compatibles (1/4)
- Revert v3's change and made tas67524.c back to tas675x.c (2/4)
- Links to v3: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Rename ALL tas675x filenames to tas67524, removed tas6754 compatible instance
- Change pd-gpios to powerdown-gpios, cleanup unnessary .yaml formatting (1/4)
- Opt to use disable delayed_work and re-enable on runtime suspend/resume, similarly, use disable/enable IRQ on system suspend/resume. (2/4)
- Include IRQ_NONE on ISR returns. (2/4)
- Clarify _check_faults() function which now returns need_clear boolean (2/4)
- Add register section (3/4)
- Add addintional notes: for clarification (3/4)
- Links to v2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Remove redundant DAPM event function (2/4)
- Move IRQ request past power_on, so regs can be set in a clean state (2/4)
- Add delayed_work at probe time to accomdate no PM configs (2/4)
- Change .set_fmt and .dapm_routes callbacks to the same tas675x_set_fmt name (2/4)
- Links to v1: https://lore.kernel.org/all/[email protected]/

Sen Wang (4):
ASoC: dt-bindings: Add ti,tas67524
ASoC: codecs: Add TAS67524 quad-channel audio amplifier driver
Documentation: sound: Add TAS675x codec mixer controls documentation
MAINTAINERS: add entry for TAS67524 audio amplifier

 .../bindings/sound/ti,tas67524.yaml           |  280 +++
 Documentation/sound/codecs/tas675x.rst        |  820 ++++++
 MAINTAINERS                                   |    4 +
 sound/soc/codecs/Kconfig                      |   12 +
 sound/soc/codecs/Makefile                     |    2 +
 sound/soc/codecs/tas675x.c                    | 2194 +++++++++++++++++
 sound/soc/codecs/tas675x.h                    |  367 +++
 7 files changed, 3679 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti,tas67524.yaml
 create mode 100644 Documentation/sound/codecs/tas675x.rst
 create mode 100644 sound/soc/codecs/tas675x.c
 create mode 100644 sound/soc/codecs/tas675x.h

--
2.43.0