Re: [PATCH v3 10/17] arm64: dts: mediatek: set vmc regulator as always on

From: Alexandre Mergnat
Date: Fri Mar 31 2023 - 07:23:53 EST


Le ven. 31 mars 2023 à 13:08, Alexandre Mergnat
<amergnat@xxxxxxxxxxxx> a écrit :
>
> Le mer. 29 mars 2023 à 15:25, AngeloGioacchino Del Regno
> <angelogioacchino.delregno@xxxxxxxxxxxxx> a écrit :
> >
> > Il 29/03/23 10:54, amergnat@xxxxxxxxxxxx ha scritto:
> > > From: Fabien Parent <fparent@xxxxxxxxxxxx>
> > >
> > > MSDC1 IP block is powered by VMC. Make sure it is always on.
> >
> > Why always on?
> > Can't you just set mt6357_vmc_reg as VIN of mt6357_vmch_reg? :-)
>
> I'm not sure to get it. mt6357_vmc_reg & mt6357_vmch_reg come from
> PMIC and are supposed to be independent.
> You suggest to link them in the mt8365-evk dts file using something like:
> &mt6357_vmch_reg {
> vin-supply = <&mt6357_vmc_reg>;
> };

Additionally, vin-supply is supported by fixed-regulator and
gpio-regulator, which is not the case here.
I think it isn't doable.

Regards,
Alex