Skip to content

Commit 07c1d95

Browse files
natto1784kartben
authored andcommitted
drivers: adc: ti_am335x: initial support
This patch adds the ADC driver for TI K3 family of SoCs. Technical reference can be found in the Technical Reference Manual (TRM) of the board. Signed-off-by: Amneesh Singh <[email protected]>
1 parent b647d70 commit 07c1d95

File tree

5 files changed

+462
-0
lines changed

5 files changed

+462
-0
lines changed

drivers/adc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ zephyr_library_sources_ifdef(CONFIG_ADC_AD7124 adc_ad7124.c)
6565
zephyr_library_sources_ifdef(CONFIG_ADC_AD405X adc_ad405x.c)
6666
zephyr_library_sources_ifdef(CONFIG_ADC_AD4130 adc_ad4130.c)
6767
zephyr_library_sources_ifdef(CONFIG_ADC_REALTEK_RTS5912 adc_realtek_rts5912.c)
68+
zephyr_library_sources_ifdef(CONFIG_ADC_TI_AM335X adc_ti_am335x.c)

drivers/adc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,6 @@ source "drivers/adc/Kconfig.ad4130"
154154

155155
source "drivers/adc/Kconfig.rts5912"
156156

157+
source "drivers/adc/Kconfig.ti_am335x"
158+
157159
endif # ADC

drivers/adc/Kconfig.ti_am335x

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025, Texas Instruments
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config ADC_TI_AM335X
5+
bool "TI ADC Driver"
6+
default y
7+
depends on DT_HAS_TI_AM335X_ADC_ENABLED
8+
help
9+
Enable TI AM335x Analog-to-Digital Converter (ADC) driver.

0 commit comments

Comments
 (0)