xref: /OK3568_Linux_fs/u-boot/drivers/adc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_REQ_REGULATOR
15	bool "Enable regulator control for ADC drivers"
16	depends on ADC
17	default n
18	help
19	  ADC may depend on regulator power supply and require control.
20
21config ADC_EXYNOS
22	bool "Enable Exynos 54xx ADC driver"
23	help
24	  This enables basic driver for Exynos ADC compatible with Exynos54xx.
25	  It provides:
26	  - 10 analog input channels
27	  - 12-bit resolution
28	  - 600 KSPS of sample rate
29
30config ADC_SANDBOX
31	bool "Enable Sandbox ADC test driver"
32	help
33	  This enables driver for Sandbox ADC device emulation.
34	  It provides:
35	  - 4 analog input channels
36	  - 16-bit resolution
37	  - single and multi-channel conversion mode
38
39config SARADC_ROCKCHIP
40	bool "Enable Rockchip SARADC driver"
41	help
42	  This enables driver for Rockchip SARADC.
43	  It provides:
44	  - 2~6 analog input channels
45	  - 1O or 12 bits resolution
46	  - Up to 1MSPS of sample rate
47
48config SARADC_ROCKCHIP_V2
49	bool "Enable Rockchip SARADC v2 driver"
50	help
51	  This enables driver for Rockchip SARADC v2.
52	  It provides:
53	  - 8 analog input channels
54	  - 12 bits resolution
55	  - Up to 1MSPS of sample rate
56