xref: /openbmc/u-boot/drivers/adc/Kconfig (revision ae3ed042ed31d1acbdd56938b45bd6c5076bebe3)
15decbf53SPrzemyslaw Marczakconfig ADC
25decbf53SPrzemyslaw Marczak	bool "Enable ADC drivers using Driver Model"
35decbf53SPrzemyslaw Marczak	help
45decbf53SPrzemyslaw Marczak	  This enables ADC API for drivers, which allows driving ADC features
55decbf53SPrzemyslaw Marczak	  by single and multi-channel methods for:
65decbf53SPrzemyslaw Marczak	  - start/stop/get data for conversion of a single-channel selected by
75decbf53SPrzemyslaw Marczak	    a number or multi-channels selected by a bitmask
85decbf53SPrzemyslaw Marczak	  - get data mask (ADC resolution)
95decbf53SPrzemyslaw Marczak	  ADC reference Voltage supply options:
105decbf53SPrzemyslaw Marczak	  - methods for get Vdd/Vss reference Voltage values with polarity
115decbf53SPrzemyslaw Marczak	  - support supply's phandle with auto-enable
125decbf53SPrzemyslaw Marczak	  - supply polarity setting in fdt
133b3ad901SPrzemyslaw Marczak
143b3ad901SPrzemyslaw Marczakconfig ADC_EXYNOS
153b3ad901SPrzemyslaw Marczak	bool "Enable Exynos 54xx ADC driver"
163b3ad901SPrzemyslaw Marczak	help
173b3ad901SPrzemyslaw Marczak	  This enables basic driver for Exynos ADC compatible with Exynos54xx.
183b3ad901SPrzemyslaw Marczak	  It provides:
193b3ad901SPrzemyslaw Marczak	  - 10 analog input channels
203b3ad901SPrzemyslaw Marczak	  - 12-bit resolution
213b3ad901SPrzemyslaw Marczak	  - 600 KSPS of sample rate
2208d6300aSPrzemyslaw Marczak
2308d6300aSPrzemyslaw Marczakconfig ADC_SANDBOX
2408d6300aSPrzemyslaw Marczak	bool "Enable Sandbox ADC test driver"
2508d6300aSPrzemyslaw Marczak	help
2608d6300aSPrzemyslaw Marczak	  This enables driver for Sandbox ADC device emulation.
2708d6300aSPrzemyslaw Marczak	  It provides:
2808d6300aSPrzemyslaw Marczak	  - 4 analog input channels
2908d6300aSPrzemyslaw Marczak	  - 16-bit resolution
3008d6300aSPrzemyslaw Marczak	  - single and multi-channel conversion mode
31*ae3ed042SDavid Wu
32*ae3ed042SDavid Wuconfig SARADC_ROCKCHIP
33*ae3ed042SDavid Wu	bool "Enable Rockchip SARADC driver"
34*ae3ed042SDavid Wu	help
35*ae3ed042SDavid Wu	  This enables driver for Rockchip SARADC.
36*ae3ed042SDavid Wu	  It provides:
37*ae3ed042SDavid Wu	  - 2~6 analog input channels
38*ae3ed042SDavid Wu	  - 1O or 12 bits resolution
39*ae3ed042SDavid Wu	  - Up to 1MSPS of sample rate
40