]> git.hungrycats.org Git - linux/commit
ASoC: codecs: es8316: Add regulator support
authorHongyang Zhao <hongyang.zhao@thundersoft.com>
Wed, 12 Aug 2026 09:35:44 +0000 (17:35 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 12 Aug 2026 10:48:39 +0000 (11:48 +0100)
commitc60279912ef005fe3ebaf2c139c19a14ccb42b5e
tree93314c91d0d290284671a2aafe370ebc16dfa9ad
parente9966d450b4612423ad2f60827c47cd7657a14f9
ASoC: codecs: es8316: Add regulator support

ES8316 has separate AVDD, CPVDD, DVDD and PVDD supply inputs.

Request and enable the supplies during I2C probe, before initializing
the regmap. Keep them enabled for the lifetime of the I2C device so the
regmap cannot access an unpowered device and its cache remains
synchronized if the ASoC component is unbound and rebound.

Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
Link: https://patch.msgid.link/20260812-es8316-regulator-next-20260722-v2-2-e7078bc9bc9c@thundersoft.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8316.c