summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@flipper.net>2026-05-25 12:20:46 +0300
committerMark Brown <broonie@kernel.org>2026-06-01 17:13:56 +0300
commitf8e7cd48e5b3b38ec5e1542b73b670a7770d2d7c (patch)
tree3e7fa53b58b4cf29e98b8269a9afba3b9ca61f78 /include/linux
parentcaba9259a22b4da6beeeb48c84292870dbcff978 (diff)
downloadlinux-f8e7cd48e5b3b38ec5e1542b73b670a7770d2d7c.tar.xz
ASoC: codecs: nau8822: add support for supply regulators
NAU8822 has four power supply pins: VDDA, VDDB, VDDC, and VDDSPK, which need to be online and stable before communication with the device is attempted. Request and enable these regulators at init time, if provided. Also wait for 100 us after powering up the supply regulators before attempting to access the device registers, as recommended by the datasheet. This helps avoid -ENXIO errors when the codec is probed before the regulators are ready. Signed-off-by: Alexey Charkov <alchark@flipper.net> Link: https://patch.msgid.link/20260525-nau8822-reg-v2-2-7d37ae393e46@flipper.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions