Message ID | 20230203-evk-board-support-v5-7-1883c1b405ad@baylibre.com |
---|---|
State | Superseded |
Headers | show |
Series | Improve the MT8365 SoC and EVK board support | expand |
On 11/04/2023 10:23, AngeloGioacchino Del Regno wrote: > Il 07/04/23 14:59, amergnat@baylibre.com ha scritto: >> From: Fabien Parent <fparent@baylibre.com> >> >> MSDC1 IP block is powered by VMC. Make sure it is always on. >> > > Can't we set vmc as parent of vemc? I don't find parent property for regulators. AFAIK, vin-supply is used in other DTS to do that but is it supported by fixed-regulator and gpio-regulator, which is not the case here. Based on this, I don't think so, but I'm probably missing something. Regards, Alexandre
diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts index cd920d09c3fe..1c36d8f19525 100644 --- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts +++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts @@ -137,6 +137,11 @@ &mt6357_pmic { #interrupt-cells = <2>; }; +/* Needed by MSDC1 */ +&mt6357_vmc_reg { + regulator-always-on; +}; + &pio { gpio_keys: gpio-keys-pins { pins {