Commit graph

126,787 commits

Author SHA1 Message Date
Peter Wang
769f73bf17 drivers: reset: nxp: add nxp_mrcc_reset driver
1. the MCXA family use MRCC to reset peripheral
2. MRCC register, 0: hold in reset, 1: release from reset
3. usage as blow
syscon: syscon@xxx {
    ...
    reset: reset {
        compatible = "nxp,mrcc-reset";
        #reset-cells = <1>;
    };
};

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-25 09:22:06 +02:00
Yongxu Wang
b3e04f00ff samples: ipc: openamp: fix typo in samples comment
Fixing a typo in openamp samples comment

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-25 09:21:52 +02:00
Mike J. Chen
c6206c220d bluetooth: BAP: fix select bug
Change 4c86a5cc8d moved a select
from Kconfig.asc to Kconfig.bap (amongst some other changes
from select to depends), but inverted the PAC_{SRC,SNK} from
ASCS_ASE_{SRC,SNK} condition.

Signed-off-by: Mike J. Chen <mjchen@google.com>
2025-09-25 09:21:42 +02:00
Benjamin Cabé
6610b8c8b2 tests: ram_context_for_isr: pick an available IRQ for nxp_k32l2b3 soc
(NUM_IRQS-1) IRQ is taken on this soc, so set CONFIG_TEST_IRQ_NUM to a
different available IRQ to avoid test failure.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-25 09:21:29 +02:00
Zhaoxiang Jin
78c6ae2175 tests: drivers: regulator: Enable nxp vref test
Enable nxp vref test.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Zhaoxiang Jin
49e7e2db9a boards: Enable vref on frdm_mcxc242
Enable vref on frdm_mcxc242

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Zhaoxiang Jin
5447679c03 drivers: regulator: Enable nxp vrefv1
Enable nxp vrefv1 driver

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Zhaoxiang Jin
16db983408 drivers: sim: Enable vref clock through sim driver
Enable vref clock through sim driver

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Zhaoxiang Jin
bf12516cb4 drivers: adc16: Enhance ADC16 driver.
1. Add new 'has-differential-mode' property to indicate
whether the ADC16 instance supports differential mode.
2. Enabled ADC16 differential mode.
3. Enabled ADC16 reference voltage selection.
4. Enabled ADC16 acquisition time configuration.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Zhaoxiang Jin
6b2e1a47c8 tests: regulator: Use microvolt in test case
DT properties like 'tolerance-microvolt', 'min-microvolt',
'max-microvolt' are using microvolt unit, so update the
test case to use microvolt. In addition, using uv is more
accurate than mv. For some regulators, using mv will lose
precision and cause the test case to fail.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-25 09:21:18 +02:00
Khoa Nguyen
4e5cf920f1 samples: subsys: ipc: ipc_service: Add support for ek_ra8p1
Add support sample app `ipc_service/icmsg` and
`ipc_service/static_vrings` for ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
f8fbc6b788 samples: subsys: ipc: openamp: Add support for ek_ra8p1
Add support sample app `openamp` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
3e4e46e2e4 samples: drivers: mbox_data: Add support mbox_data for ek_ra8p1
Add support sample app `mbox_data` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
e17ee8ccc8 samples: drivers: mbox: Add support sample mbox for ek_ra8p1
Add support sample app `drivers/mbox` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
5361c273f1 tests: drivers: mbox: Add support mbox_data for ek_ra8p1
Add support test app `mbox_data` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
db6af416f6 dts: arm: renesas: ra: Add support MBOX for Renesas RA8P1
Add support MBOX for Renesas RA8P1 (r7ka8p1kflcac)

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
2d661e1c19 drivers: mbox: Add support MBOX driver for Renesas IPC
Add support MBOX driver for Renesas IPC hardware IP

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Declan Snyder
1ac480cc2b tests: hotfix mcxn qspi target exclude ram_context_for_isr
This platform is enabled incorrectly and it is not trivial to fix, but
need to hotfix CI because issue is related to linkage and causing a
build error

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 09:19:47 +02:00
Benjamin Cabé
b79b5366ee boards: nxp: mcx_n9xx_evk: deactivate eth phy on cpu1
deactivate eth phy on cpu1, because
mdio is also only activated on cpu0.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-25 09:19:47 +02:00
Declan Snyder
fba91d05ba boards: mcx_nx4x_evk: Add MCX-N5XX-EVK
Rename this board folder to a more generic name since some other similar
boards will be added.

Add MCX-N5XX-EVK to MCXN EVK board folder. It is an almost identical
board to MCXN 9XX EVK with some slightly different things populated and
of course having the MCXN547 SOC instead of MCXN947.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 09:19:47 +02:00
Vinit Mehta
80a05768b9 samples: bluetooth: bap_broadcast: add LIBLC3 support for MIMXRT1062
-Add LC3 encode/decode support for bap broadcast examples for
i.MXRT1062 based platform

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2025-09-25 09:19:38 +02:00
Benjamin Cabé
453cba7f13 include: drivers: sensor: improve docs for veml6031
complete doxygen docs for this sensor

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-25 01:30:46 +02:00
Emil Gydesen
2e48903e83 doc: releases: Remove double backticks in Audio mig guide
Some references to GH PRs had an additional backtick.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-24 19:21:42 -04:00
Declan Snyder
88c61d3668 include: hooks.h: Add mocks
Add mocks of platform hooks so that #ifdef are not needed around calls
to these functions.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-24 19:21:07 -04:00
Jason Kridner
1f03dcfa0c cc13xx_cc26xx: select CRC with SubG driver
This was previously only selected when the 2.4GHz driver was
enabled, but SubG can be enabled without the 2.4GHz driver.

Build tested using:

```
west build -b beagleconnect_freedom -d \
 build/bcf/ot_coap samples/net/openthread/coap
west flash -d build/bcf/ot_coap
```

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
2025-09-24 19:20:49 -04:00
Manoj Purushothama
2591942fe7 boards: adafruit: metro_rp2350: Fix the Arduino spi node label
Fix the Arduino spi node typo

Signed-off-by: Manoj Purushothama <hpmanoj@umich.edu>
2025-09-24 19:20:28 -04:00
Manoj Purushothama
bf8456e0d1 samples: sensor: qdec: Fix Arduino typo
Fix the typo in the comments

Signed-off-by: Manoj Purushothama <hpmanoj@umich.edu>
2025-09-24 19:20:28 -04:00
Manoj Purushothama
ce828abc98 tests: boards: nrf: qdec: Fix Arduino typo
Fix the typo in the comments

Signed-off-by: Manoj Purushothama <hpmanoj@umich.edu>
2025-09-24 19:20:28 -04:00
Grzegorz Chwierut
51cba9d11f twister: Add unit tests for required applications
Added tests for sharing of build application feature
added in #94167

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-09-24 19:20:15 -04:00
Gerard Marull-Paretas
4a4a94bbff drivers: clock_control: sf32lb_rcc: add support for DLL2
Add support for configuring and enabling DLL2. A few things have been
simplified (common PMUC, just store frequency, etc.).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-24 19:19:58 -04:00
Gerard Marull-Paretas
ebb316dadd dts: arm: sifli: sf32lb52x: define dll2
Add dll2 node so we can configure DLL2.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-24 19:19:58 -04:00
Fin Maaß
6838e0cb5e dts: common: add DT_SIZE_G macro
add DT_SIZE_G macro

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-09-24 19:19:39 -04:00
Gerard Marull-Paretas
01ecd1ade5 dt-bindings: pinctrl: sf32lb52x: add all pinmux combinations
Information extracted from UM5201‐SF32LB52x‐EN, Table 5.1 and Table 5.5.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-09-24 19:19:26 -04:00
Aksel Skauge Mellbye
d3f531ca9a samples: basic: button: Disable led on bg27 boards
Button 0 and LED 0 share a GPIO pin on bg27 boards. Remove the
`led0` alias in a board overlay to make the button sample work
out of the box.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
dedd21eda6 boards: silabs: Add xg27 radio boards
Add 3 xg27 radio boards:

* bg27_rb4110b
* bg27_rb4111b
* xg27_rb4194a

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
d52ff0894a drivers: entropy: gecko: Configure for all xg27 socs
Use cryptoacc variant on all xg27 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
82318f0aab soc: silabs: Add complete xg27 soc family
Add efr32bg27 and efr32mg27 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
027eadba75 dts: arm: silabs: xg27: Add missing nodes
Add missing peripheral and clock nodes for xg27.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
072161266b dts: arm: silabs: xg27: Reformat dtsi files
Reformat devicetree files:
 * Sort nodes by unit address or name
 * Sort properties by category and name

Add missing properties to existing nodes.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Aksel Skauge Mellbye
55c8a7443b boards: silabs: xg27_dk2602a: Set cells properties on usart0
Set #address-cells and #size-cells on usart0. Since usarts can
be used for both UART and SPI, this property shouldn't be set
in SoC-level DTS, since it makes it harder to switch compatible.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-24 19:19:16 -04:00
Arunprasath P
43f1c27bdd drivers: pinctrl: microchip: Fix header include style
Fixed the include directive for mchp_pinctrl_pinmux_sam.h
by replacing quotes with angle brackets.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-09-24 19:19:04 -04:00
Arunprasath P
b65a0ffca8 modules: Reorganize directory structure and update Kconfig symbols
- Update the path of pinctrl.h in sama7g54_ek.dts
- Select CONFIG_MICROCHIP_SAM for sama7g5 family devices
- Add SAM group Kconfig symbol for proper family grouping
- Rename PIC32C Kconfig symbol to MICROCHIP_PIC32C
  and update references
- Update west.yml for hal-microchip re-organization

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-09-24 19:19:04 -04:00
Emil Dahl Juhl
980db8e6e8 tests: rtio: test early signalling of RTIO_OP_AWAIT
The brief on the existing test_rtio_await_ function mentioned testing
that an await operation would immediately complete ("be skipped") if
the SQE were signalled prior to being submitted. The function didn't
actually test this, though.

Add a new test function for testing this specific case.

Remove the misleading part of the brief around the existing test.

Rename test_rtio_await_ to be more concise on the test it performs.

Signed-off-by: Emil Dahl Juhl <emil@s16s.ai>
2025-09-24 19:18:55 -04:00
Emil Dahl Juhl
a7be8c4d6e tests: rtio: use TRANSACTION for iodev await test
The intention behind using an RTIO_OP_AWAIT tied to an rtio_iodev is
to get a guarantee that an entire transaction can be handled without
interruptions or parallel work taking place on the rtio_iodev.

This guarantee can only be met when SQEs are bundled together using
RTIO_SQE_TRANSACTION as they will otherwise be considered individual
pieces of work, hence allowing some unrelated piece of work to get
scheduled in-between the rest.
When just using RTIO_SQE_CHAINED, the rtio_iodev would still block
during the entire RTIO_OP_AWAIT, but the following SQE in the chain can
be preempted by an unrelated SQE.

Modify this specific test case to use RTIO_SQE_TRANSACTION as this will
match the intention.

Signed-off-by: Emil Dahl Juhl <emil@s16s.ai>
2025-09-24 19:18:55 -04:00
Thomas Schmid
bab5484ed8 sensor: mcp9600: extend driver functionality
Add support for runtime and devicetree configuration of themocouple
type, ADC resolution, filter coefficient and cold junction temperature
resolution. Extend device specific sensor channels to include cold
junction temperature, delta tempereature, hot junction temperature and
raw ADC values while still maintaining backwards compability with the
existing SENSOR_CHAN_AMBIENT_TEMP channel.

Signed-off-by: Thomas Schmid <tom@lfence.de>
2025-09-24 19:18:43 -04:00
Luis Ubieda
c1f0403262 boards: vmu_rt1170: Change ICM4268X LPSPIs to use native PCS
Moving away from GPIO CS configuration.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-09-24 19:18:23 -04:00
Zhaoxiang Jin
857347a2bb samples: boards: nxp: add new sample for frdm_mcxa156
Add new sample lpdac_opamp_lpadc for frdm_mcxa156.

In this example:
1. The LPDAC outputs a 300mv voltage to the
non-inverting terminal of the OPAMP.

2. The OPAMP operates in the non-inverting amplifier
mode, the inverting terminal of the OPAMP is grounded.

3. The channel 0 of the LPADC is connected to the output
of the OPAMP, and the channel 1 of the LPADC is connected
to the output of the DAC (the non-inverting input terminal
of the OPAMP).

4. The ideal sampling range of OPAMP output channel is
specified by 'ideal-sample-range', and 'nxp,opamps' are
used to specify LPADC samples which OPAMP's output and
which ADC channel is connected to the OPAMP output.

5. The OPAMP non-inverting input is 300mV, and the OPAMP
gain is initialized to 1. Therefore, the first round OPAMP
output (~300mV) will not reach the minimum value of the
'ideal-sampling-range'. Therefore, the ADC driver will
increase the OPAMP gain through 'opamp_set_gain'. The second
round OPAMP output (~900mV) is still below the minimum value,
so the gain will continue to increase. The third round OPAMP
output (~1500mV) is already in the ideal range, so the gain
will not be adjusted later.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-24 19:18:11 -04:00
Zhaoxiang Jin
ece35a420b drivers: adc: Add DT properties to lpadc binding
Introduce new binding properties for the LPADC DT
and update the driver to consume them.
Users can use these properties to obtain the opamp
device bound to the ADC and dynamically adjust the
opamp gain so that the opamp output is within the
ADC ideal sample range.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-24 19:18:11 -04:00
Zhaoxiang Jin
08f8e48ef5 driver: opamp: Add new property for opamp
Add new property for OPAMP, opamp consumers
can bind opamps through this property.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-24 19:18:11 -04:00
Zhaoxiang Jin
01328f62b8 doc: release notes: added opamp release notes
1. Added opamp driver and example support to release
notes for release 4.3.
2. Add documentation for the opamp peripheral.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-09-24 19:18:11 -04:00