[PATCH 2/2] ASoC: rt5682: add device property to control LDO2 power

Mark Brown broonie at kernel.org
Wed Jan 20 19:01:16 CET 2021


On Wed, Jan 20, 2021 at 05:12:18PM +0800, shumingf at realtek.com wrote:
> From: Shuming Fan <shumingf at realtek.com>
> 
> The application circuit shall provide MICVDD power.
> In default, the codec driver doesn't need to enable LDO2 power.
> In case, the customers use VBAT for micbias, it should enable the device property "realtek,ldo2-pow-en".

Given that this is just adding a DAPM route I think we can just skip the
property and instead simply leave the LDO registered but not connected
in the DAPM graph, if a board wants to use it then it can just add a
route from the LDO to the relevant input like is currently hard coded in
the board file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210120/781ecb92/attachment.sig>


More information about the Alsa-devel mailing list