[PATCH 0/2] ASoC: es8316: Add regulator support
Hongyang Zhao <[email protected]>
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260723-es8316-regulator-next-20260722-v1-0-721f757879a0@thundersoft.com> |
Add regulator support for the four ES8316 power domains so board descriptions can model and control the codec supplies. The binding patch documents AVDD, CPVDD, DVDD and PVDD as optional supplies to preserve compatibility with existing device-tree descriptions. The driver patch requests and enables them before clocking or accessing the codec, and unwinds them on failure and removal. The supplies remain enabled over system suspend because the existing suspend and resume callbacks do not handle a complete power loss. Powering the codec down would require separate reset and reinitialization support. The missing supply model was identified while reviewing the RubikPi 3 audio support: https://lore.kernel.org/linux-arm-msm/[email protected]/ Signed-off-by: Hongyang Zhao <[email protected]> --- Hongyang Zhao (2): ASoC: dt-bindings: es8316: Add regulator supplies ASoC: codecs: es8316: Add regulator support .../devicetree/bindings/sound/everest,es8316.yaml | 16 ++++++++++ sound/soc/codecs/es8316.c | 35 ++++++++++++++++++++-- 2 files changed, 49 insertions(+), 2 deletions(-) --- base-commit: b4515cf4156356e8f4fe6e0fdc17f59adab9772f change-id: 20260723-es8316-regulator-next-20260722-7d96badfd4da Best regards, -- Hongyang Zhao <[email protected]>