soc: arm: nordic_nrf: nrf53: align nrf_regulators calls to new scheme
Now more generic regulators API is available. Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
This commit is contained in:
parent
6a315a4b17
commit
f3f2c113d1
1 changed files with 3 additions and 3 deletions
|
@ -554,13 +554,13 @@ static int nordicsemi_nrf53_init(void)
|
|||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_DCDC_NRF53X_APP)
|
||||
nrf_regulators_dcdcen_set(NRF_REGULATORS, true);
|
||||
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_MAIN, true);
|
||||
#endif
|
||||
#if defined(CONFIG_SOC_DCDC_NRF53X_NET)
|
||||
nrf_regulators_dcdcen_radio_set(NRF_REGULATORS, true);
|
||||
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_RADIO, true);
|
||||
#endif
|
||||
#if defined(CONFIG_SOC_DCDC_NRF53X_HV)
|
||||
nrf_regulators_dcdcen_vddh_set(NRF_REGULATORS, true);
|
||||
nrf_regulators_vreg_enable_set(NRF_REGULATORS, NRF_REGULATORS_VREG_HIGH, true);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_NRF_GPIO_FORWARDER_FOR_NRF5340)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue