Applied "ASoC: cs4271: add regulator consumer support" to the regulator tree
Subsystems (4)
Mark Brown
maintainerThe patch
ASoC: cs4271: add regulator consumer support
has been applied to the regulator tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
9a397f473657ad47449b6ab94ff2bb3f1f2de48fMon Sep 17 00:00:00 2001
From: Pascal Huerst <[email protected]>
Date: Tue, 16 Feb 2016 16:19:06 +0100
Subject: [PATCH] ASoC: cs4271: add regulator consumer support
The cs4271 has three power domains: vd, vl and va. Enable them all, as long as the codec is in use.
While at it, factored out the reset code into its own function.
--- Documentation/devicetree/bindings/sound/cs4271.txt | 7 +++ sound/soc/codecs/cs4271.c | 69 +++++++++++++++++++--- 2 files changed, 68 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/cs4271.txt +7 -0
@@ -33,12 +33,19 @@ Optional properties: Note that this is not needed in case the clocks are stable throughout the entire runtime of the codec. + - vd-supply: Digital power + - vl-supply: Logic power + - va-supply: Analog Power + Examples: codec_i2c: cs4271@10 { compatible = "cirrus,cs4271"; reg = <0x10>; reset-gpio = <&gpio 23 0>; + vd-supply = <&vdd_3v3_reg>; + vl-supply = <&vdd_3v3_reg>; + va-supply = <&vdd_3v3_reg>; }; codec_spi: cs4271@0 {
sound/soc/codecs/cs4271.c +61 -8
134 lines not on this page · raw message
Signature · 1 line
2.7.0