Skip to content

Commit 1bfeaba

Browse files
seov-nordicfabiobaltieri
authored andcommitted
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]>
1 parent 645159d commit 1bfeaba

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
@@ -234,13 +234,42 @@ GPIO
234234
* ``arduino-nano-header-r3`` is renamed to :dtcompatible:`arduino-nano-header`.
235235
Because the R3 comes from the Arduino UNO R3, which has changed the connector from
236236
the former version, and is unrelated to the Arduino Nano.
237+
* Moved file ``include/zephyr/dt-bindings/gpio/nordic-npm1300-gpio.h`` to
238+
:zephyr_file:`include/zephyr/dt-bindings/gpio/nordic-npm13xx-gpio.h` and renamed all instances of
239+
``NPM1300`` to ``NPM13XX`` in the defines
240+
* Renamed ``CONFIG_GPIO_NPM1300`` to :kconfig:option:`CONFIG_GPIO_NPM13XX`,
241+
``CONFIG_GPIO_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_GPIO_NPM13XX_INIT_PRIORITY`
237242

238243
I2S
239244
===
240245
* The :dtcompatible:`nxp,mcux-i2s` driver added property ``mclk-output``. Set this property to
241246
* configure the MCLK signal as an output. Older driver versions used the macro
242247
* ``I2S_OPT_BIT_CLK_SLAVE`` to configure the MCLK signal direction. (:github:`88554`)
243248

249+
LED
250+
===
251+
252+
* Renamed ``CONFIG_LED_NPM1300`` to :kconfig:option:`CONFIG_LED_NPM13XX`
253+
254+
MFD
255+
===
256+
257+
* Moved file ``include/zephyr/drivers/mfd/npm1300.h`` to :zephyr_file:`include/zephyr/drivers/mfd/npm13xx.h`
258+
and renamed all instances of ``npm1300``/``NPM1300`` to ``npm13xx``/``NPM13XX`` in the enums and
259+
function names
260+
* Renamed ``CONFIG_MFD_NPM1300`` to :kconfig:option:`CONFIG_MFD_NPM13XX`,
261+
``CONFIG_MFD_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_MFD_NPM13XX_INIT_PRIORITY`
262+
263+
Regulator
264+
=========
265+
266+
* Moved file ``include/zephyr/dt-bindings/regulator/npm1300.h`` to
267+
:zephyr_file:`include/zephyr/dt-bindings/regulator/npm13xx.h` and renamed all instances of
268+
``NPM1300`` to ``NPM13XX`` in the defines
269+
* Renamed ``CONFIG_REGULATOR_NPM1300`` to :kconfig:option:`CONFIG_REGULATOR_NPM13XX`,
270+
``CONFIG_REGULATOR_NPM1300_COMMON_INIT_PRIORITY`` to :kconfig:option:`REGULATOR_NPM13XX_COMMON_INIT_PRIORITY`,
271+
``CONFIG_REGULATOR_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_REGULATOR_NPM13XX_INIT_PRIORITY`
272+
244273
Sensors
245274
=======
246275

@@ -277,6 +306,12 @@ Sensors
277306
* The binding file for :dtcompatible:`raspberrypi,pico-temp.yaml` has been renamed to have a name
278307
matching the compatible string.
279308

309+
* Moved file ``include/zephyr/drivers/sensor/npm1300_charger.h`` to
310+
:zephyr_file:`include/zephyr/drivers/sensor/npm13xx_charger.h` and renamed all instances of
311+
``NPM1300`` to ``NPM13XX`` in the enums
312+
313+
* Renamed ``CONFIG_NPM1300_CHARGER`` to :kconfig:option:`CONFIG_NPM13XX_CHARGER`
314+
280315
Serial
281316
=======
282317

@@ -326,6 +361,11 @@ Timer
326361
reg-names = "mtime", "mtimecmp";
327362
};
328363
364+
Watchdog
365+
========
366+
* Renamed ``CONFIG_WDT_NPM1300`` to :kconfig:option:`CONFIG_WDT_NPM13XX`,
367+
``CONFIG_WDT_NPM1300_INIT_PRIORITY`` to :kconfig:option:`CONFIG_WDT_NPM13XX_INIT_PRIORITY`
368+
329369
Modem
330370
=====
331371

0 commit comments

Comments
 (0)