xref: /OK3568_Linux_fs/u-boot/drivers/adc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig ADC
2*4882a593Smuzhiyun	bool "Enable ADC drivers using Driver Model"
3*4882a593Smuzhiyun	help
4*4882a593Smuzhiyun	  This enables ADC API for drivers, which allows driving ADC features
5*4882a593Smuzhiyun	  by single and multi-channel methods for:
6*4882a593Smuzhiyun	  - start/stop/get data for conversion of a single-channel selected by
7*4882a593Smuzhiyun	    a number or multi-channels selected by a bitmask
8*4882a593Smuzhiyun	  - get data mask (ADC resolution)
9*4882a593Smuzhiyun	  ADC reference Voltage supply options:
10*4882a593Smuzhiyun	  - methods for get Vdd/Vss reference Voltage values with polarity
11*4882a593Smuzhiyun	  - support supply's phandle with auto-enable
12*4882a593Smuzhiyun	  - supply polarity setting in fdt
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig ADC_REQ_REGULATOR
15*4882a593Smuzhiyun	bool "Enable regulator control for ADC drivers"
16*4882a593Smuzhiyun	depends on ADC
17*4882a593Smuzhiyun	default n
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  ADC may depend on regulator power supply and require control.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig ADC_EXYNOS
22*4882a593Smuzhiyun	bool "Enable Exynos 54xx ADC driver"
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  This enables basic driver for Exynos ADC compatible with Exynos54xx.
25*4882a593Smuzhiyun	  It provides:
26*4882a593Smuzhiyun	  - 10 analog input channels
27*4882a593Smuzhiyun	  - 12-bit resolution
28*4882a593Smuzhiyun	  - 600 KSPS of sample rate
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig ADC_SANDBOX
31*4882a593Smuzhiyun	bool "Enable Sandbox ADC test driver"
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  This enables driver for Sandbox ADC device emulation.
34*4882a593Smuzhiyun	  It provides:
35*4882a593Smuzhiyun	  - 4 analog input channels
36*4882a593Smuzhiyun	  - 16-bit resolution
37*4882a593Smuzhiyun	  - single and multi-channel conversion mode
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunconfig SARADC_ROCKCHIP
40*4882a593Smuzhiyun	bool "Enable Rockchip SARADC driver"
41*4882a593Smuzhiyun	help
42*4882a593Smuzhiyun	  This enables driver for Rockchip SARADC.
43*4882a593Smuzhiyun	  It provides:
44*4882a593Smuzhiyun	  - 2~6 analog input channels
45*4882a593Smuzhiyun	  - 1O or 12 bits resolution
46*4882a593Smuzhiyun	  - Up to 1MSPS of sample rate
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig SARADC_ROCKCHIP_V2
49*4882a593Smuzhiyun	bool "Enable Rockchip SARADC v2 driver"
50*4882a593Smuzhiyun	help
51*4882a593Smuzhiyun	  This enables driver for Rockchip SARADC v2.
52*4882a593Smuzhiyun	  It provides:
53*4882a593Smuzhiyun	  - 8 analog input channels
54*4882a593Smuzhiyun	  - 12 bits resolution
55*4882a593Smuzhiyun	  - Up to 1MSPS of sample rate
56