Skip to content

UPSTREAM-PEND: drivers: dac: backport dac for mspm0 - #73

Merged
natto1784 merged 16 commits into
TexasInstruments:v4.4.0-ti-nextfrom
Tejas-Garg-ti:v4.4.0-ti/drivers/dac-mspm0
Oct 8, 2026
Merged

natto1784 merged 16 commits into
TexasInstruments:v4.4.0-ti-nextfrom
Tejas-Garg-ti:v4.4.0-ti/drivers/dac-mspm0

Conversation

@Tejas-Garg-ti

@Tejas-Garg-ti Tejas-Garg-ti commented Oct 8, 2026 •

Copy link
Copy Markdown

This has following patchsets from upstream

ID Title Status
94725 drivers: dac: Add driver support for TI MSPM0 G-Series DAC module Merged
115925 drivers: dac: mspm0: Convert to native register access Open
120826 drivers: dac: mspm0: Add fifo functionality to mspm0 dac driver Open

This also has following patchset baked in for support -

  • TI: tests: drivers: dac: Add adc changes to allign with adc changes

…AC ...

commit 749f480 upstream.

Add devicetree bindings for the TI MSPM0 G-Series DAC module.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
…module

commit 3315866 upstream.

Add support for the DAC module on TI’s MSPM0 G-Series MCUs. The DAC
supports 8-bit and 12-bit resolution.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
@Tejas-Garg-ti
Tejas-Garg-ti force-pushed the v4.4.0-ti/drivers/dac-mspm0 branch from b7e85e9 to 4764a56 Compare October 8, 2026 10:07
santhosh-c-c and others added 8 commits October 8, 2026 15:46
commit 3fe4a46 upstream.

Add DAC devicetree nodes for MSPM0 G-Series SoCs that include the DAC
peripheral: mspm0g150x, mspm0g350x and mspm0gx51x.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
commit e70a0ed upstream.

Enable DAC peripheral and add dac to the list of supported
hardware in board YAML.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
commit f7a4352 upstream.

Enable DAC peripheral and add dac to the list of supported
hardware in board YAML.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
commit 52a551e upstream.

Add lp_mspm0g3507 and lp_mspm0g3519 to the dac0_channel0 test
configuration in testcase.yaml.

Signed-off-by: Santhosh Charles <santhosh@linumiz.com>
PR: 115925

When the DAC output is configured as internal, the output enable bit
was being set instead of cleared, and vice versa for external output.
Swap the enable/disable assignments to match the intended behavior.

Signed-off-by: Tejas Garg <t-garg@ti.com>
PR: 115925

Replace all the Driverlib calls to direct register writes, removing
dependency on Driverlib. The DAC12_Regs struct and all register constants
are defined locally.

Signed-off-by: Tejas Garg <t-garg@ti.com>
…erp...

PR: 115925

Adding board dts and yaml changes for DAC and ADC to enable DAC samples
and tests

Signed-off-by: Tejas Garg <t-garg@ti.com>
…351...

PR: 115925

The following commit adds the required test scenario as well as
corresponding overlay file, which maps io channels (dac0, channel0)
and (adc0, channel4) to what the test expects (dac1) and (adc1) under the
zephyr,user node.

The scenario overlay files are created such that they serve as common
overlay for multiple SOCs.

Signed-off-by: Tejas Garg <t-garg@ti.com>
@Tejas-Garg-ti
Tejas-Garg-ti force-pushed the v4.4.0-ti/drivers/dac-mspm0 branch from 4764a56 to 2355637 Compare October 8, 2026 10:16
The following commit modifies the tests overlay which configures the ADC
dts node which lines up with adc changes

Signed-off-by: Tejas Garg <t-garg@ti.com>
---
Reason: Currently in the upstream the ADC PR is not merged, requiring to
keep the old dts structure in the dac-loopback to keep the test
operational
Once the following PR is merged these changes can be integrated with the
dac_loopback test as well:
PR 117293
…lity

PR: 120826

The following commit adds dts bindings required for enabling fifo
functionality for dac peripheral for mspm0 SOCs

Signed-off-by: Tejas Garg <t-garg@ti.com>
…eral

PR: 120826

The following commit adds the interrupt dts node property, used by the dac
driver

Signed-off-by: Tejas Garg <t-garg@ti.com>
PR: 120826

The following commit updates the mspm0 dac driver to add fifo
functionality to the driver

Signed-off-by: Tejas Garg <t-garg@ti.com>
…ion...

PR: 120826

The following commit adds board dts changes to enable fifo functionality
on board level

Signed-off-by: Tejas Garg <t-garg@ti.com>
…sle...

PR: 120826

Currently the sample is restricted to sleep time dependent on dac
resolution. Adding custom configuration option for sleep time, where the
sleep time can be set via board conf file, while retaining the default
behaviour if no custom configuration is given.

Signed-off-by: Tejas Garg <t-garg@ti.com>
@Tejas-Garg-ti
Tejas-Garg-ti force-pushed the v4.4.0-ti/drivers/dac-mspm0 branch from 2355637 to 0eaa5e0 Compare October 8, 2026 10:41
@natto1784
natto1784 merged commit a5327ba into TexasInstruments:v4.4.0-ti-next Oct 8, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants