Skip to content

Commit bb9f192

Browse files
committed
[nrf fromtree] doc: release: migration-guide-4.2: add npm13xx changes
Add notes about change in API and file locations from npm1300 to npm13xx Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit 1bfeaba)
1 parent 86a1fc8 commit bb9f192

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,42 @@ GPIO
212212
* ``arduino-nano-header-r3`` is renamed to :dtcompatible:`arduino-nano-header`.
213213
Because the R3 comes from the Arduino UNO R3, which has changed the connector from
214214
the former version, and is unrelated to the Arduino Nano.
215+
* Moved file ``include/zephyr/dt-bindings/gpio/nordic-npm1300-gpio.h`` to
216+
:zephyr_file:`include/zephyr/dt-bindings/gpio/nordic-npm13xx-gpio.h` and renamed all instances of
217+
``NPM1300`` to ``NPM13XX`` in the defines
218+
* Renamed ``CONFIG_GPIO_NPM1300`` to :kconfig:option:`CONFIG_GPIO_NPM13XX`,
219+
``CONFIG_GPIO_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_GPIO_NPM13XX_INIT_PRIORITY`
215220

216221
I2S
217222
===
218223
* The :dtcompatible:`nxp,mcux-i2s` driver added property ``mclk-output``. Set this property to
219224
* configure the MCLK signal as an output. Older driver versions used the macro
220225
* ``I2S_OPT_BIT_CLK_SLAVE`` to configure the MCLK signal direction. (:github:`88554`)
221226

227+
LED
228+
===
229+
230+
* Renamed ``CONFIG_LED_NPM1300`` to :kconfig:option:`CONFIG_LED_NPM13XX`
231+
232+
MFD
233+
===
234+
235+
* Moved file ``include/zephyr/drivers/mfd/npm1300.h`` to :zephyr_file:`include/zephyr/drivers/mfd/npm13xx.h`
236+
and renamed all instances of ``npm1300``/``NPM1300`` to ``npm13xx``/``NPM13XX`` in the enums and
237+
function names
238+
* Renamed ``CONFIG_MFD_NPM1300`` to :kconfig:option:`CONFIG_MFD_NPM13XX`,
239+
``CONFIG_MFD_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_MFD_NPM13XX_INIT_PRIORITY`
240+
241+
Regulator
242+
=========
243+
244+
* Moved file ``include/zephyr/dt-bindings/regulator/npm1300.h`` to
245+
:zephyr_file:`include/zephyr/dt-bindings/regulator/npm13xx.h` and renamed all instances of
246+
``NPM1300`` to ``NPM13XX`` in the defines
247+
* Renamed ``CONFIG_REGULATOR_NPM1300`` to :kconfig:option:`CONFIG_REGULATOR_NPM13XX`,
248+
``CONFIG_REGULATOR_NPM1300_COMMON_INIT_PRIORITY`` to :kconfig:option:`REGULATOR_NPM13XX_COMMON_INIT_PRIORITY`,
249+
``CONFIG_REGULATOR_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_REGULATOR_NPM13XX_INIT_PRIORITY`
250+
222251
Sensors
223252
=======
224253

@@ -255,6 +284,12 @@ Sensors
255284
* The binding file for :dtcompatible:`raspberrypi,pico-temp.yaml` has been renamed to have a name
256285
matching the compatible string.
257286

287+
* Moved file ``include/zephyr/drivers/sensor/npm1300_charger.h`` to
288+
:zephyr_file:`include/zephyr/drivers/sensor/npm13xx_charger.h` and renamed all instances of
289+
``NPM1300`` to ``NPM13XX`` in the enums
290+
291+
* Renamed ``CONFIG_NPM1300_CHARGER`` to :kconfig:option:`CONFIG_NPM13XX_CHARGER`
292+
258293
Serial
259294
=======
260295

@@ -304,6 +339,11 @@ Timer
304339
reg-names = "mtime", "mtimecmp";
305340
};
306341
342+
Watchdog
343+
========
344+
* Renamed ``CONFIG_WDT_NPM1300`` to :kconfig:option:`CONFIG_WDT_NPM13XX`,
345+
``CONFIG_WDT_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_WDT_NPM13XX_INIT_PRIORITY`
346+
307347
Modem
308348
=====
309349

0 commit comments

Comments
 (0)