Commit graph

9459 commits

Author SHA1 Message Date
Lucien Zhao
1695dc04cc dts: bindings: hwinfo: Modify bindings name
Modify the name of the binding yml file to ensure
it is consistent with "compatible".

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-08-20 07:42:31 +02:00
Zhaoxiang Jin
fe9272c150 dts: nxp: Enable dac for nxp rt118x
Enable dac for nxp rt118x

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-20 07:39:31 +02:00
Mahesh Mahadevan
c3058ec765 dts: nxp_rw6xx: Use device tree property to configure XTAL32
Switch the XTAL32 configuration from Kconfig to devicetree

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-20 07:38:27 +02:00
Declan Snyder
ad39866b12 soc: mcxw: Add LPIT support
Enable LPIT peripheral on MCXW7x socs.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-19 23:36:06 +02:00
Neil Chen
501c6abaac boards: frdm_mcxn236: Support sai for NXP frdm_mcxn236
1. Support sai for NXP frdm_mcxn236.
2. Verified tests/drivers/i2s/i2s_speed

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-08-19 23:35:24 +02:00
Neil Chen
c9ce1a7d9c boards: frdm_mcxn236: add ewm support
1. Add EWM Support for frdm_mcxn236
2. verified tests/drivers/watchdog/wdt_basic_reset_none

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-08-19 23:35:24 +02:00
Neil Chen
31656330e0 soc: mcxn23x: Add HWINFO support
1.Add HWINFO support by reading the UUID from Flash Bank0_IFR1.
2.Verified tests/drivers/hwinfo/api

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-08-19 23:35:24 +02:00
Michael Estes
f8330b5589 dts: xilinx: add cadence spi controllers to zynqmp.dtsi
Adds spi controller nodes for Cadence SPI controllers in zynqmp.dtsi.

Signed-off-by: Michael Estes <michael.estes@byteserv.io>
2025-08-19 20:47:27 +02:00
John Lin
0ad98e9edb dts: vendor: raspberrypi: 4M partitions for raspberrypi
4M partitions for Raspberry Pi Pico 2/W series.

Signed-off-by: John Lin <john.lin@beechwoods.com>
2025-08-19 19:14:12 +02:00
Andreas Schmidt
62d9e618fa dts: arm: st: stm32g4: add quadspi node
The STM32G4 variants g473, g474, g483, g484, g491 and g4a1 do support QSPI
interface. All mentioned variants include the stm32g491.dtsi.

Signed-off-by: Andreas Schmidt <andreas.schmidt@dormakaba.com>
2025-08-19 19:13:51 +02:00
Hans Binderup
0b7db98317 dts: mspm0: add uart1,2 and 3 to generic mspm0.dtsi
It's now possible to describe and enable the other HW uarts.

Adding interrupts to uart0 as well.

Signed-off-by: Hans Binderup <habi@bang-olufsen.dk>
2025-08-19 19:13:34 +02:00
Jackson Farley
bfdfa2086f serial: Add error checking and interrupt support on mspm0 driver
It is now possible to enable CONFIG_UART_INTERRUPT_DRIVEN for mspm0
uart driver.

Signed-off-by: Jackson Farley <j-farley@ti.com>
Co-authored-by: Hans Binderup <habi@bang-olufsen.dk>
2025-08-19 19:13:34 +02:00
Joel Guittet
3e3ceeae49 drivers: serial: add uart-bitbang support
Initial support for uart bitbang driver.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2025-08-19 19:13:19 +02:00
Lucien Zhao
7fbebea81d boards: mimxrt700_evk: add hwinfo reset_cause support on cm33_cpu0
1. enable hwinfo support
- get_reset_cause
- get_supported_reset_cause
- clear_reset_cause
2. verified tests/drivers/hwinfo

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-08-19 18:00:53 +02:00
Lucien Zhao
5aa600d117 drivers: hwinfo: add hwinfo_mcux_rstctl.c drivers
Implementation is specific to RSTCTL module.
Code mostly copied from hwinfo_mcux_rcm driver.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-08-19 18:00:53 +02:00
Sri Surya
ad322030a2 dts: arm: ambiq: Add DTSI for Apollo2 SOC
Added DTSI for Apollo2 SOC family

Signed-off-by: Sri Surya <srisurya@linumiz.com>
2025-08-19 18:00:41 +02:00
Sri Surya
1a27391c46 dts: bindings: pinctrl: Add pinctrl bindings for Apollo2 SOC
Add pinctrl bindings for apollo2 soc

Signed-off-by: Sri Surya <srisurya@linumiz.com>
2025-08-19 18:00:41 +02:00
Khaoula Bidani
8e3f133eae dts: arm: st: u3: add fdcan
Add FDCAN support to STM32U3

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-08-19 14:15:57 +02:00
Quy Tran
53cb4fcb05 dts: renesas: rx: Add dts property node for adc on RX130
Add ADC node on RX130-common dts file

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-08-19 14:15:41 +02:00
Minh Tang
3f13f25752 drivers: adc: Initial support for ADC driver on RX130
Add driver code and devicetree for 12-bit ADC on
RX130 MCU

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-08-19 14:15:41 +02:00
Khoa Nguyen
9e66dfef44 dts: arm: renesas: ra: Add support for Renesas RA4C1 soc
Add support for Renesas r7fa4c1bd3cfp soc

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-19 13:02:29 +02:00
Aksel Skauge Mellbye
93d33faa5c soc: silabs: silabs_s2: Align power states with HAL
The definition of the EM3 energy mode is that software switches
off the LFRCO and LFXO before entering deep sleep. On Series 2,
oscillators are clocked on-demand based on peripheral requests
from hardware. Requesting EM3 will result in EM2 if any active
peripheral uses one of the oscillators, and requesting EM2
will result in EM3 if no peripherals use the oscillators.

In version 2025.6 of the HAL, this was reflected in the API
of the power manager by making EM3 an alias of EM2. Reflect
this in Zephyr by removing the separate EM3 power state.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-19 11:39:52 +02:00
Khaoula Bidani
11c0826419 dts: arm: st: l0: update hsi clock node to use hsi divider
Updated the clk_hsi node to use the "st,stm32l0-hsi-clock"
compatible to use hsi divider.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-08-19 12:27:17 +03:00
Khaoula Bidani
2e368d1bba dts: bindings: clocks: Add clocks bindings for stm32l0 series
Add hsi clock for stm32l0.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-08-19 12:27:17 +03:00
Pete Dietl
c407fbcfc9 [drivers]: gpios: SN74HC595: Extend to allow for chained shift registers
The current driver has a few limitations:
1. The `ngpios` DT property is fixed at eight.
   Since the SN74HC595 and kin are designed to be
   easily daisychain-able, the upper bound on `ngpios`
   should be limited only by the maximum number of pins
   that Zephyr supports per GPIO port, which is 32.
2. In the case of having no control over the shift register's
   reset input, the device tree node should accept a default
   value to shift into the register(s) during init.
3. There seems to be an assumption that the serial clock
   and load clock are tied together. While this is often the
   case, the device tree node should be more flexible in
   allowing the specification of a separate load clock GPIO pin.
4. The device tree node should also be able to accept a GPIO pin
   to drive the enable input pin of the shift register(s).

This commit addresses all of these issues.

Signed-off-by: Pete Dietl <petedietl@gmail.com>
2025-08-19 09:13:12 +02:00
Peter Wang
d172b9d76b boards: nxp: Renamed MCXA276 to MCXA266
1. Renamed MCXA276 to MCXA266
2. NXP frdm_mcxa276 is renamed to frdm_mcxa266,
add this information to migration-guide-4.3.rst.

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-08-18 22:00:19 +02:00
Zhaoxiang Jin
7d3fc2b176 boards: nxp: Renamed MCXA166 to MCXA346
1. Renamed MCXA166 to MCXA346.
2. NXP frdm_mcxa166 is renamed to frdm_mcxa346,
add this information to migration-guide-4.3.rst.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-18 22:00:19 +02:00
Emil Dahl Juhl
44929f7089 dts: arm: st: n6: describe rng block
The stm32n6 features an RNG block. The RNG is a true NIST SP800-90B
compliant entropy source according to the stm32n657x0 reference manual[1].

Per Table 3 in the reference manual, the RNG peripheral register boundary
address (secure) is 0x54020000 to 0x540203FF. That is, base address
0x54020000 and size 0x400.

Per Table 73 in the reference manual, the RNG peripheral has only a single
rng_clk option (hsis_osc_ck).
Per section 14.10.66 (and more) the RNG peripheral control is performed
through AHB3 using bit 0.
As such, the `clocks` property contains a single phandle to the RCC AHB3
bit 0 entries.

Per Table 135 in the reference manual, the RNG peripheral interrupt is
located at position 40 in the NVIC.

[1] RM0486 Rev 2: https://www.st.com/resource/en/reference_manual/rm0486-stm32n647657xx-armbased-32bit-mcus-stmicroelectronics.pdf

Signed-off-by: Emil Dahl Juhl <emil@s16s.ai>
2025-08-18 17:49:45 +02:00
Jordan Yates
827da4a9e0 disk: sdmmc_stm32: support clock bypass
Add support for the SDMMC clock bypass feature for those SoCs that have
it. This provides a SDMMC bus speed double that of `clk-div = <0>`.

Updated the `clk-div` documentation at the same time to be clearer on
how the bus clock speed is determined.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-08-18 17:49:14 +02:00
Henrik Lindblom
97356ad45c dts: stm32u5: add stm32u595xx
Add variants of the stm32u595 chip with 2M (u595XI) and 4M (u595XJ) of
flash.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2025-08-18 16:00:05 +02:00
Mario Paja
cfe0b9a3d8 dts: st: h7rs: add sai node for stm32h7rs
Define SAI1 A & B nodes for STM32H7RS series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-08-18 15:59:08 +02:00
Mario Paja
faf5eb18a6 dts: st: h7rs: add gpdma1 node
This PR adds gpdma node on stm32h7rs series

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-08-18 15:59:08 +02:00
Mario Paja
85b408edf1 drivers: i2s: add sai support for stm32h7xx
Define SAI1 node for STM32H7xx series.
Add STM32H7xx related DMA configs.
Enable samples/drivers/i2s/output for nucleo_h745zi_q/m7

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-08-18 15:58:58 +02:00
Quang Le
c03b9b1abc dts: renesas: Add external interrupt support for Renesas RZ/A3UL, V2L
Add external interrupt nodes to Renesas RZ/A3UL, V2L

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 15:58:44 +02:00
Quang Le
be9fabb967 dts: renesas: Update interrupt nodes for Renesas RZ/G3S, N2L, T2M, T2L
- Change node's name, node's register size, node's address cells
of intc node for Renesas RZ/G3S
- Add `renesas, rz-intc` compatible and #size-cells of 0 to intc node
of Renesas RZ/G3S
- Add `reg` property to irq nodes for Renesas RZ/G3S
- Add `renesas, rz-icu` compatible for Renesas RZ/N2L, T2M, T2L

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 15:58:44 +02:00
Quang Le
efe6812ec5 drivers: intc: Add external interrupt support for Renesas RZ/A3UL, V2L
Add external interrupt support for Renesas RZ/A3UL, V2L

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 15:58:44 +02:00
Phuc Pham
1fa1565aed dts: renesas: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC nodes to Renesas RZ/A3UL, T2M, N2L, V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
41e78de206 dts: renesas: Fix ADC register size for Renesas RZ/G3S
Change the adc node's compatible of RZ/G3S to renesas,rz-adc-c
Fix ADC node register size for Renesas RZ/G3S

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
371f2925dc drivers: adc: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC driver support for Renesas RZ/A3UL, T2M, N2L, V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
MA Junyi
c552847a2f boards: embedsky: add support for TQ‑H503A
This patch introduces a new board definition for embedsky’s
TQ‑H503A development board, based on the STM32H503CBT6 SoC.

Tested: successfully built, ran and debug
`hello_world` and `blinky` samples.

Signed-off-by: MA Junyi <mjysci@live.com>
2025-08-18 10:54:55 +02:00
Camille BAUD
36f2436206 drivers: display: greyscale -> grayscale for ssd1363
british english -> american english

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-16 21:38:13 +02:00
Biwen Li
0e830e84ec boards: nxp: imx943_evk: m33: add i2c support
Add i2c support for m33(in NETCMIX) of imx943_evk

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-08-16 10:19:31 +02:00
jacob kung
a0adc1f7f5 drivers: spi: add et171 spi driver
The Egis ET171 SPI controller was based on Andes ATCSPI200,
but has since been modified. In particular, the WrTranCnt and RdTranCnt
fields from the SPI Transfer Control Register have been moved to dedicated
Wr_Tran_Cnt and Rd_Tran_Cnt registers.

Signed-off-by: jacob kung <jacob.kung@egistec.com>
2025-08-16 10:18:58 +02:00
Jeppe Odgaard
ec02138402 drivers: sensor: ti: tmp11x: add optional attribute storage
Enable optional storage of sensor attribute values in EEPROM. On reset, the
device goes through a POR sequence that loads the values programmed in the
EEPROM into the respective register map locations.

The driver stores sample frequency, offset, oversampling, lower threshold,
upper threshold, alert pin polarity, alert mode and conversion mode if the
value is continuous or shutdown.

The functionality has been tested with sensor shell and power cycling
sensor:

Test (undocumented) temperature offset is stored:
```shell
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp offset 0
ti_tmp11x@48 channel=ambient_temp, attr=offset set to value=0
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (25.523436)
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp offset 50
ti_tmp11x@48 channel=ambient_temp, attr=offset set to value=50
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.617186)
uart:~$
[15:12:20.088] Disconnected
[15:12:36.106] Connected
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.554686)
uart:~$ sensor attr_get ti_tmp11x@48 ambient_temp offset
ti_tmp11x@48(channel=ambient_temp, attr=offset) value=50.000000
```

Test one-shot mode is not stored:
```shell
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp 18 1
ti_tmp11x@48 channel=ambient_temp, attr=accel_x set to value=1
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.562499)
uart:~$ sensor get ti_tmp11x@48 ambient_temp
Read failed
[00:00:21.332,000] <wrn> sensor_compat: Failed to fetch samples
uart:~$
[15:16:24.529] Disconnected
[15:16:33.540] Connected
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.406249)
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.351561)
```

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-08-15 15:34:12 +02:00
Hieu Nguyen
7bb772b9ea dts: renesas: Add PWM support for Renesas RZ/A3UL
Add MTU nodes to Renesas RZ/A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Hieu Nguyen
8e40b8a057 drivers: pwm: Add PWM support for Renesas RZ/A3UL
Add PWM driver support for Renesas RZ/A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Richard Wheatley
d00a734c0c drivers: entropy: add puf-trng entropy driver
add puf-trng entropy driver to apollo510

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2025-08-15 10:10:45 +03:00
Bayrem Gharsellaoui
8a901edc85 boards: stm32: Enable HASH peripheral for nucleo_u575zi_q
Add device tree support for STM32 HASH peripheral on the nucleo_u575zi_q

Signed-off-by: Bayrem Gharsellaoui <bayrem.gharsellaoui@protonmail.com>
2025-08-15 10:10:24 +03:00
Bayrem Gharsellaoui
95934d2abd drivers: crypto: Add STM32 HASH hardware driver
Add STM32 HASH driver with SHA-224/256 support for STM32U5

Signed-off-by: Bayrem Gharsellaoui <bayrem.gharsellaoui@protonmail.com>
2025-08-15 10:10:24 +03:00
Dylan Philpot
e1526c9d13 dts: add support MSPM0Gx51x SOC family
Includes device tree files for SOCs and updates
to common MSPM0 device tree

Signed-off-by: Dylan Philpot <d-philpot@ti.com>
2025-08-14 18:03:16 +02:00