doc: releases: migration-guide: add nRF52/53 regulator changes
Inform users about Kconfig options deprecation and show what is the alternative with some examples. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
d11db98d42
commit
a1fda68003
1 changed files with 41 additions and 0 deletions
|
@ -83,6 +83,47 @@ Serial
|
||||||
Regulator
|
Regulator
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
* Internal regulators present in nRF52/53 series can now be configured using
|
||||||
|
devicetree. The Kconfig options :kconfig:option:`CONFIG_SOC_DCDC_NRF52X`,
|
||||||
|
:kconfig:option:`CONFIG_SOC_DCDC_NRF52X_HV`,
|
||||||
|
:kconfig:option:`CONFIG_SOC_DCDC_NRF53X_APP`,
|
||||||
|
:kconfig:option:`CONFIG_SOC_DCDC_NRF53X_NET` and
|
||||||
|
:kconfig:option:`CONFIG_SOC_DCDC_NRF53X_HV` selected by board-level Kconfig
|
||||||
|
options have been deprecated.
|
||||||
|
|
||||||
|
Example for nRF52 series:
|
||||||
|
|
||||||
|
.. code-block:: devicetree
|
||||||
|
|
||||||
|
/* configure REG/REG1 in DC/DC mode */
|
||||||
|
®/reg1 {
|
||||||
|
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* enable REG0 (HV mode) */
|
||||||
|
®0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
Example for nRF53 series:
|
||||||
|
|
||||||
|
.. code-block:: devicetree
|
||||||
|
|
||||||
|
/* configure VREGMAIN in DC/DC mode */
|
||||||
|
&vregmain {
|
||||||
|
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* configure VREGRADIO in DC/DC mode */
|
||||||
|
&vregradio {
|
||||||
|
regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* enable VREGH (HV mode) */
|
||||||
|
&vregh {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
Bluetooth
|
Bluetooth
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue