Benjamin Cabé
25dc5fe968
drivers: dac: esp32: avoid out-of-range channel ID
...
Fix channel ID check in dac_esp32_channel_setup as it was allowing to
set up a channel with ID greater than the number of channels.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
4 weeks ago
Pieter De Gendt
454cc58246
drivers: dac: Place API into iterable section
...
Add wrapper DEVICE_API macro to all dac_driver_api instances.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
7 months ago
Corey Wharton
d80174fadf
drivers: dac: add checks for internal channel config
...
Return -ENOTSUP if these flags are specified but not supported.
Signed-off-by: Corey Wharton <xodus7@cwharton.com>
10 months ago
Marcio Ribeiro
0705aaeb81
drivers: dac: esp32: clock initialization fix
...
Fixed ESP32 DAC clock initialization
Fixes : #70295
Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
10 months ago
Lucas Tamborrino
fe57a12cf2
drivers: esp32: update to hal_espressif v5.1
...
Modify necessary drivers to meet updated hal.
Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1 year ago
Sylvio Alves
a79c54dc43
drivers: dac: esp32: fix clock control subsys argument
...
Current cfg->clock_subsys is passed as address and is
causing driver assertion.
Fixes #69198
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1 year ago
Pieter De Gendt
6b532ff43e
treewide: Update clock control API usage
...
Replace all (clock_control_subsys_t *) casts with (clock_control_subsys_t)
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2 years ago
Marek Matej
f86a7d2c25
drivers: dac: esp32: Add support for DAC controller
...
Initial DAC driver for the ESP32/ESP32-S2 SOCs
Signed-off-by: Marek Matej <marek.matej@espressif.com>
3 years ago