Skip to content

drivers: regulator: mspm0: Add supoort for TI MSPM0 VREF module#223

Open
Girinandha-M wants to merge 1164 commits intomainfrom
upstream/ti/mspm0-vref
Open

drivers: regulator: mspm0: Add supoort for TI MSPM0 VREF module#223
Girinandha-M wants to merge 1164 commits intomainfrom
upstream/ti/mspm0-vref

Conversation

@Girinandha-M
Copy link
Collaborator

TI MSPM0 VREF module is used by analog peripherals for reference voltage. Add support for TI MSPM0 VREF module.

@Girinandha-M Girinandha-M force-pushed the upstream/ti/mspm0-vref branch 2 times, most recently from 1849be1 to 3a915e6 Compare August 26, 2025 14:02
adamkondraciuk and others added 25 commits November 19, 2025 06:52
Extend the system off samples by adding an option to disable
the system clock. When the system clock is disabled additional
power savings can be observed.
After using the `sys_clock_disable()` function, the GRTC is
turned off making system time-related features unavailable.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
This commit deprecates:
- the `CONFIG_BT_SIGNING` Kconfig option
- `BT_GATT_CHRC_AUTH` property

IOW, this commit deprecates the LE Security mode 2 support.

Explanation:

Erratum ES-26047 introduced in Bluetooth Core Specification v6.2
requires SingCounter to be persistently stored to prevent replay
attacks.

Currently, the Host doesn't store SignCounter, therefore the device is
vulnerable to replay attacks after reboot.

Additionally, the current implementation doesn't assume that SignCounter
of a received message can be incremented by more than one and thus may
not validate correct message.

The Bluetooth Security and Privacy Best Practices Guide recommends to
not using Data signing and recommends to use LE Security mode 1 levels
2, 3 or 4 instead.

The Signed Write Without Response sub-procedure, which is the only user
of Data signing, is optional (see Vol 3, Part G, Table 4.1).

See also ES-18901.

The aforementioned reasons make no sense to keep this feature.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Remove duplicated prj.conf file.

prj_6, prj_7, prj_14 are identicall. Since prj_6.conf is unchanged,
keeping it.

prj_8, prj_9, prj_15 are identicall. Since prj_15.conf is
unchanged, keeping it.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit removes data signing related ICS.

Removed ICS:
- SM 6/1: Signing Algorithm Generation
- SM 6/2: Signing Algorithm Resolving
- GATT 3/13: Signed Write Without Response
- GATT 9/10: Signed Write Command
- GATT 7/3: LE Security mode 2
- GAP 25/2: LE Security mode 2
- GAP 35/2: LE Security mode 2
- GAP 25/5: Connection data signing procedure
- GAP 35/5: Connection data signing procedure
- GAP 25/6: Authenticate signed data procedure
- GAP 35/6: Authenticate signed data procedure
- GAP 27b/8: Connection Signature Resolving Key (CSRK)
- GAP 37b/8: Connection Signature Resolving Key (CSRK)

The following tests are not supported any longer:
- GAP/SEC/CSIGN/BI-01-C
- GAP/SEC/CSIGN/BI-02-C
- GAP/SEC/CSIGN/BI-03-C
- GAP/SEC/CSIGN/BI-04-C
- GAP/SEC/CSIGN/BV-01-C
- GAP/SEC/CSIGN/BV-02-C
- GATT/CL/GAW/BV-02-C
- SM/CEN/SIGN/BV-01-C

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
When EC wakes by GPIO, it may fall back to SUSPEND_TO_IDLE
before the host or peripherals have a chance to take further action.

Add a lightweight delay-sleep mechanism to keep system awake
for as short period after a GPIO wake event.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
This is a follow-up to commit d1abe40.

Function `qspi_wait_while_writing()` (and also `qspi_rdsr()` that is
called by it) is now always required for `qspi_erase()`, so it can no
longer be under `#if !IS_EQUAL(INST_0_QER, JESD216_DW15_QER_VAL_NONE)`.

Also definition of `dev_config` in `configure_chip()` needs to be moved,
as for QER set to NONE, it is not used and causes a compilation warning.

Add a test case that will ensure the driver can be built successfully
with `quad-enable-requirements = "NONE"`.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
For devices like MCXE247, the LPIT instance hase multiple
interrupts, however the current  driver code just support
one interrupt. This patch has improved the code for this
requirement.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
Enable lpit0 clock according to dts setting.

Enable lpit0 and its four channels.

Verified pass with counter_basic_api test.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
The LPIT is missing in nxp_mcxe24x_common.dtsi,
this patch add lpit 0 address, registers, interrupts
and channel setting.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
Adds a common zcbor reset buffer function, this allows for the
buffer to be reset after data has been added already to add a
different response, e.g. an error response

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Replaces the img_mgmt specific function with the common SMP
function for resetting the zcbor buffer and allowing a new response
to be sent

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Adds support for the memory pool statistics (mpstat) command, which
will list details on various memory heaps on the device

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Adds a test to check that the memory pool statistics command works

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Add ENET clock support for i.MX91.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Add ENET device nodes support for i.MX 9131.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Add ENET ethernet port support on FRDM_IMX91 board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
…zation

This patch refactors the power management initialization for the Intel
ADSP power domain driver to align with the recommended practices
outlined in the documentation. The changes include:

1. Replacing the manual power management initialization sequence
   (`pm_device_init_suspended` + `pm_device_runtime_enable`) with a call
   to `pm_device_driver_init` in the `pd_intel_adsp_init` function.
2. Adding the `zephyr,pm-device-runtime-auto` property to the power
   domain nodes in the device tree files for ACE15, ACE20, ACE30, and
   ACE40.

These changes ensure that the power domain driver is initialized with
the appropriate power management state and that runtime power management
is automatically enabled based on the device tree configuration. The
functionality of the power management state remains unchanged, ensuring
consistent behavior.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
Add `adc_read_async_dt()`, based on `adc_read_async()` and
`adc_read_dt()`, as static inline function.

Signed-off-by: Ruben Völl <ruben.voell@sevenlab.de>
The GPIO5 has no sofware configurable clock gate in the MCXN236.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
Set ADC prescaler to 2 instead of 1 for the STM32U5G9J-DK board.
A prescaler of 1 results in incorrect measurements while 2 returns the
expected values.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit adds support to define number of platform socket services
using Kconfig.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Updated platform code to make use of number of socket services defined
in Kconfig. In this way, hardcoded values are avoided.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
This patch fixes a compilation error when CONFIG_PM_DEVICE is enabled
without CONFIG_PM_DEVICE_RUNTIME and CONFIG_POWER_DOMAIN.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Add support for Nuvoton's M3331 series SoC

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
Add Holt-Sun to the NXP drivers area.

Signed-off-by: David Leach <david.leach@nxp.com>
Add bindings for TI MSPM0 VREF module.

Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
TI MSPM0 VREF module is used by analog peripherals for reference voltage
Add support for TI MSPM0 VREF module.

Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
@Girinandha-M Girinandha-M force-pushed the upstream/ti/mspm0-vref branch from 57df6ef to fc6430b Compare November 23, 2025 17:42
Add dts support for VREF Node for internal reference voltage.

Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
@Girinandha-M Girinandha-M force-pushed the upstream/ti/mspm0-vref branch from fc6430b to 80a589f Compare November 23, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment