Commit graph

17,121 commits

Author SHA1 Message Date
Krzysztof Chruściński
4b374ec7f5 drivers: pinctrl: Allow keeping pinctrl sleep state
When PM or PM_DEVICE is enabled pinctrl sleep state is using for
device suspension. However, there are cases where power management is
not used but we still want to be able to put pins to sleep state, e.g.
device deinit.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-22 12:35:42 +02:00
Benjamin Cabé
bd98c836eb include: drivers: video: doxygen fixes for video-controls.h
A bit of doxygen love to this header to improve documentation coverage,
mainly focusing on missing documentation for a few enumerations, as well
as making sure javadoc-style comments are used where appropriate.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-22 09:45:57 +02:00
Zhaoxiang Jin
115b0e0dc8 driver: regulator: Improve nxp vref driver.
1.Remove the code that sets the UTRIM register to 0,
because UTRIM is automatically loaded with a factory-trimmed
value, zeroing will affect the accuracy. Only need to clear
VREF UTRIM[TRIM2V1] at the initialization stage.

2. VREF does not have NXP_VREF_MODE_INTERNAL_REGULATOR mode,
the internal voltage regulator and chop oscillator are used
to suppress power supply noise and reduce voltage offset,
so remove the NXP_VREF_MODE_INTERNAL_REGULATOR mode.
there are only three modes in VREF, the first is the standby
mode (CSR[BUF21EN] = 0, CSR[HI_PWR_LV] = X), the second is
low power mode (CSR[BUF21EN] = 1, CSR[HI_PWR_LV] = 0), and
the third is high power mode (CSR[BUF21EN] = 1, CSR[HI_PWR_LV] = 1).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-22 06:52:21 +02:00
Benjamin Cabé
d3f1b82f98 include: drivers: usb: bc12: fix doxygen comments
Trivial fixes to doxygen documentation of BC 1.2 header

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-22 03:32:39 +02:00
Peter Marheine
a0374a16ec dt-bindings: rp2350: correct PWM names for GPIOs 40..47
The macros for PWM output on these GPIOs had names that referred to PWM
channels that do no exist on this chip- it only has 12 channels, where
channels 8..11 are exposed on both GPIOs 32..39 and 40..47.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2025-08-22 03:32:16 +02:00
Peter Marheine
bc9b80cb02 soc: rp2350: correctly handle GPIOs >31
RP2350 has 48 GPIOs, where only the first 30 are broken out to pins on
RP2350A (same as RP2040) and the remaining 18 are only usable on RP2350B.
This change makes the soc pinctrl driver support GPIOs above 31, where
previously it was impossible to configure GPIOs 32 through 47.

Tested on RP2350B, confirming that GPIO44 can be correctly configured for
PWM.

Signed-off-by: Peter Marheine <peter@taricorp.net>
2025-08-22 03:32:16 +02:00
Benjamin Cabé
7236e9f45c include: drivers: espi: doxygen housekeeping
Add missing doxygen comments

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 20:12:25 +02:00
Peter Mitsis
fedbe50b20 portability: cmsis: Base Event Flags on k_event
Updates the implementation of the osEventFlags APIs to use
Zephyr kernel events instead of polling.

Fixes #92899

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-08-21 20:11:57 +02:00
Tim Lin
5e3f1dbaa6 drivers/espi: Add structure for evt_data in peripheral PVT events
Introduce a new bit field structure "espi_evt_data_pvt" to represent
the evt_data field in PVT IO related eSPI peripheral events.

With this change, callback functions handling eSPI events can extract
both the data and its associated type from evt_data.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-08-21 20:11:42 +02:00
Benjamin Cabé
071b571ba4 include: mgmt: mcumgr: doc: massive doxygen makeover
This cleans up the doxygen documentation for the MCUmgr subsystem
(consolidated the doxygen groups, added some missing docs, added proper
@name'd sections where appropriate, etc).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 18:43:57 +02:00
Benjamin Cabé
318989f388 Bluetooth: Mesh: doc: document Health Fault values
add doxygen comments to the Mesh health fault macros

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 18:42:37 +02:00
Arthur Gay
4008f5c9c2 drivers: disk: sdmmc_stm32: Add API to retrieve SD card CID register
Introduce a new API function in the sdmmc_stm32 driver that allows
applications to access the Card Identification (CID) register of the
SD/MMC card. This functionality, already available in the SPI-based SD
and MMC subsystems, was previously missing from the STM32 SDMMC driver.

This enhancement enables use cases such as verifying the correct SD card
during manufacturing, ensuring that OEMs use the specified SD card, and
preventing mismatches.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-08-21 18:42:26 +02:00
Tanguy Raufflet
256f648c28 dt-bindings: stm32mp2_clock.h: add clock for i2c peripherals
Add clock bindings for I2C peripherals for the STM32MP2 series.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2025-08-21 18:41:59 +02:00
Tanguy Raufflet
6325b73739 drivers: pinctrl: stm32: add gpioz pinctrl support for STM32MP2
The STM32MP2 series needs gpioz pinctrl support to be able to use
the GPIOZ pins.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2025-08-21 18:41:59 +02:00
Benjamin Cabé
5c7b7511ad include: drivers: sensor: enhance Doxygen documentation for XBR818
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c9a5b3dd07 include: drivers: sensor: enhance Doxygen documentation for VEAA X-3
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
9e421453b6 include: drivers: sensor: enhance Doxygen documentation for TMP11X
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
a083467e67 include: drivers: sensor: enhance Doxygen documentation for TMAG5273
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c6d4f08f73 include: drivers: sensor: enhance Doxygen documentation for TLE9104
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
dd4021e8cd include: drivers: sensor: enhance Doxygen documentation for TCS3400
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
5839060a6c include: drivers: sensor: enhance Doxygen documentation for SGP40
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
8dd89aa175 include: drivers: sensor: enhance Doxygen documentation for SCD4X
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
cde1bfeeeb include: drivers: sensor: enhance Doxygen documentation for QDEC MCUX
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
8fcb347c96 include: drivers: sensor: enhance Doxygen documentation for PAJ7620
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c2a136e13d include: drivers: sensor: enhance Doxygen documentation for MLX90394
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
3b4fd4a56c include: drivers: sensor: enhance Doxygen documentation for MH-Z19B
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
21089fdd7b include: drivers: sensor: enhance Doxygen documentation for LM95234
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
22a5816c00 include: drivers: sensor: enhance Doxygen documentation for Grow R502A
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
838e398c71 include: drivers: sensor: enhance Doxygen documentation for FCX-MLDX5
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
a9da4ce4b3 include: drivers: sensor: enhance Doxygen documentation for F75303
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
6e599fd5e5 include: drivers: sensor: enhance Doxygen documentation for ExplorIR-M
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
e64bcda107 include: drivers: sensor: enhance Doxygen documentation for BMP581
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
ad929338c2 include: drivers: sensor: enhance Doxygen documentation for BMM350
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
0d06b41ea5 include: drivers: sensor: enhance Doxygen documentation for BD8LB600FS
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
28ff20fc38 include: drivers: sensor: enhance Doxygen documentation for AFBR-S50
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
518f5d295d include: drivers: sensor: enhance Doxygen documentation for ADLTC2990
Complete the Doxygen documentation for the ADLTC2990 sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c1251fa09e include: drivers: sensor: add new Doxygen group for device-specific API
Add a new Doxygen group that can be used to group device-specific API
extensions.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
6f2d4073f5 drivers: include: pwm: add doxygen for MAX31790
Add a doxygen group for PWM api extensions and mount the now cleaned up
documentation for the MAX31790 driver into it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 16:01:33 +02:00
Benjamin Cabé
5fe902f178 include: drivers: video: doxygen fixes
Clean up some redundant or paraphrasing Doxygen comments.
Add documentation for the MIPI CSI-2 data types.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 16:00:14 +02:00
Benjamin Cabé
ee2a1bb17a include: logging: consolidate log backends API docs
Make sure that the log backends API docs are showing up in online docs

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 13:13:56 +02:00
Guillaume Gautier
2cccfda4cf dts: arm: st: wl: add support for timer kernel clock
Add support for timer kernel clock for STM32WL.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
4ccef2d443 dts: arm: st: wba: add support for timer kernel clock
Add support for timer kernel clock for STM32WBA.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
af762bd51a dts: arm: st: wb: add support for timer kernel clock
Add support for timer kernel clock for STM32WB.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
525227e28a dts: arm: st: u5: add support for timer kernel clock
Add support for timer kernel clock for STM32U5.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
492558f5a2 dts: arm: st: l4: add support for timer kernel clock
Add support for timer kernel clock for STM32L4.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
be85642714 dts: arm: st: l1: add support for timer kernel clock
Add support for timer kernel clock for STM32L1.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
7e7c145e90 dts: arm: st: l0: add support for timer kernel clock
Add support for timer kernel clock for STM32L0.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
3ba81b31bd dts: arm: st: h7rs: add support for timer kernel clock
Add support for timer kernel clock for STM32H7RS.

Define a new property for the timer prescaler in the RCC binding of H7RS.

Also fix the clock bus of TIM16 and TIM17 (they are on APB2 instead of 1)

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
7c44ebe493 dts: arm: st: h7: add support for timer kernel clock
Add support for timer kernel clock for STM32H7.

Define a new property for the timer prescaler in the RCC binding of H7.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00
Guillaume Gautier
1614da68c7 dts: arm: st: h5: add support for timer kernel clock
Add support for timer kernel clock for STM32H5.

Define a new RCC binding for H5 with the timer prescaler property (timpre).

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 13:06:58 +02:00