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:
Nikodem Kastelik 2023-10-03 16:59:20 +02:00 committed by Carles Cufí
commit f3f2c113d1

View file

@ -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)