[PATCH 0/2] ASoC: nau8822: add support for supply regulators

Alexey Charkov posted 2 patches 1 month ago
There is a newer version of this series
.../devicetree/bindings/sound/nuvoton,nau8822.yaml         | 14 ++++++++++++++
sound/soc/codecs/nau8822.c                                 | 11 ++++++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
[PATCH 0/2] ASoC: nau8822: add support for supply regulators
Posted by Alexey Charkov 1 month ago
The Nuvoton NAU8822 codec has four power supply pins: VDDA, VDDB, VDDC
and VDDSPK, which must be online and stable before the device can be
accessed over I2C. On boards where these rails are software-controlled,
probing the codec before the regulators are up results in -ENXIO errors
during register access.

This short series adds optional regulator support to both the device
tree binding and the driver, so platforms that need explicit power
sequencing can describe and enforce it:

Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
Alexey Charkov (2):
      ASoC: dt-bindings: nau8822: Add supply regulators
      ASoC: codecs: nau8822: add support for supply regulators

 .../devicetree/bindings/sound/nuvoton,nau8822.yaml         | 14 ++++++++++++++
 sound/soc/codecs/nau8822.c                                 | 11 ++++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
---
base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83
change-id: 20260513-nau8822-reg-becf5b766d80

Best regards,
-- 
Alexey Charkov <alchark@flipper.net>