[PATCH v3 0/6] ASoC: Add NTP8918 and NTP8835 codecs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This series adds support for two NeoFidelity amplifiers. For both
amplifiers vendor provides software for equalizer and filters
configuration, which generates firmware files with registers values.
Since in both cases those files have same encoding, a common helper
module is added to get firmware via request_firmware() API and set
registers values.

Changes in V3:
- Added clocks to bindings and drivers
- removed unused includes
- ntp8835_reset_gpio() now only implements reset sequence and does not
  leave device in reset state
- make data const where possible
- Link to V2: https://lore.kernel.org/lkml/20240709221203.92167-5-ivprusov@xxxxxxxxxxxxxxxxx/

Changes in V2:
- Fix dt_binding_check errors
- Link to V1: https://lore.kernel.org/all/20240709172834.9785-1-ivprusov@xxxxxxxxxxxxxxxxx/

---
Igor Prusov (6):
      dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
      ASoC: codecs: Add NeoFidelity Firmware helpers
      ASoC: dt-bindings: Add NeoFidelity NTP8918
      ASoC: codecs: Add NeoFidelity NTP8918 codec
      ASoC: dt-bindings: Add NeoFidelity NTP8835
      ASoC: codecs: Add NeoFidelity NTP8835 codec

 .../bindings/sound/neofidelity,ntp8835.yaml        |  73 ++++
 .../bindings/sound/neofidelity,ntp8918.yaml        |  70 +++
 .../devicetree/bindings/vendor-prefixes.yaml       |   2 +
 sound/soc/codecs/Kconfig                           |  13 +
 sound/soc/codecs/Makefile                          |   6 +
 sound/soc/codecs/ntp8835.c                         | 480 +++++++++++++++++++++
 sound/soc/codecs/ntp8918.c                         | 397 +++++++++++++++++
 sound/soc/codecs/ntpfw.c                           | 137 ++++++
 sound/soc/codecs/ntpfw.h                           |  23 +
 9 files changed, 1201 insertions(+)
---
base-commit: c7fbbb45ef78ff349d16923b516bc8667367d1a6
change-id: 20240924-ntp-amps-8918-8835-1fb126809fa3

Best regards,
-- 
Igor Prusov <ivprusov@xxxxxxxxxxxxxxxxx>





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux