xref: /openbmc/u-boot/drivers/adc/Kconfig (revision 09d84117)
1config ADC
2	bool "Enable ADC drivers using Driver Model"
3	help
4	  This enables ADC API for drivers, which allows driving ADC features
5	  by single and multi-channel methods for:
6	  - start/stop/get data for conversion of a single-channel selected by
7	    a number or multi-channels selected by a bitmask
8	  - get data mask (ADC resolution)
9	  ADC reference Voltage supply options:
10	  - methods for get Vdd/Vss reference Voltage values with polarity
11	  - support supply's phandle with auto-enable
12	  - supply polarity setting in fdt
13
14config ADC_EXYNOS
15	bool "Enable Exynos 54xx ADC driver"
16	help
17	  This enables basic driver for Exynos ADC compatible with Exynos54xx.
18	  It provides:
19	  - 10 analog input channels
20	  - 12-bit resolution
21	  - 600 KSPS of sample rate
22
23config ADC_SANDBOX
24	bool "Enable Sandbox ADC test driver"
25	help
26	  This enables driver for Sandbox ADC device emulation.
27	  It provides:
28	  - 4 analog input channels
29	  - 16-bit resolution
30	  - single and multi-channel conversion mode
31
32config SARADC_MESON
33	bool "Enable Amlogic Meson SARADC driver"
34	imply REGMAP
35	help
36	  This enables driver for Amlogic Meson SARADC.
37	  It provides:
38	  - 8 analog input channels
39	  - 1O or 12 bits resolution
40	  - Up to 1MSPS of sample rate
41
42config SARADC_ROCKCHIP
43	bool "Enable Rockchip SARADC driver"
44	help
45	  This enables driver for Rockchip SARADC.
46	  It provides:
47	  - 2~6 analog input channels
48	  - 1O or 12 bits resolution
49	  - Up to 1MSPS of sample rate
50
51config STM32_ADC
52	bool "Enable STMicroelectronics STM32 ADC driver"
53	depends on ADC && (STM32H7 || ARCH_STM32MP)
54	help
55	  This enables driver for STMicroelectronics STM32 analog-to-digital
56	  converter (ADC).
57	  A STM32 ADC block can be composed of several individual ADCs.
58	  Each has its own private registers, but shares some resources:
59	  - clock selection and prescaler
60	  - voltage reference
61	  - common registers area.
62	  STM32 ADC driver is composed of:
63	  - core driver to deal with common resources
64	  - child driver to deal with individual ADC resources (declare ADC
65	  device and associated channels, start/stop conversions)
66