mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
ARM: dts: stm32: Remove buck3 regulator-always-on on AV96
In case the regulator-always-on is present in regulator DT node,
the regulator is always reconfigured to the voltage set in DT on
probe, even if regulator_set_value() has been called before. Drop
the property from AV96 U-Boot DT and enable the regulator manually
in code, as the board already reconfigures the Buck3 regulator in
code per PMIC NVM content instead.
Fixes: 0adf10a87b
("ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
This commit is contained in:
parent
0e49f5c26c
commit
34be2ada13
2 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,10 @@
|
|||
hnp-srp-disable;
|
||||
};
|
||||
|
||||
&vdd {
|
||||
/delete-property/ regulator-always-on;
|
||||
};
|
||||
|
||||
&vdd_io {
|
||||
u-boot,dm-spl;
|
||||
};
|
||||
|
|
|
@ -595,6 +595,7 @@ static void board_init_regulator_av96(void)
|
|||
|
||||
/* Adjust Buck3 per preconfigured PMIC voltage from NVM. */
|
||||
regulator_set_value(rdev, uv);
|
||||
regulator_set_enable(rdev, true);
|
||||
}
|
||||
|
||||
static void board_init_regulator(void)
|
||||
|
|
Loading…
Reference in a new issue