blob: 37235f557a3c825b5ba49725168b4b1a6b6581ca [file] [log] [blame]
Przemyslaw Marczake0cb85b2015-10-27 13:08:00 +01001config ADC
2 bool "Enable ADC drivers using Driver Model"
Jonas Karlman1d525122024-08-02 22:12:22 +00003 depends on DM
Przemyslaw Marczake0cb85b2015-10-27 13:08:00 +01004 help
5 This enables ADC API for drivers, which allows driving ADC features
6 by single and multi-channel methods for:
7 - start/stop/get data for conversion of a single-channel selected by
8 a number or multi-channels selected by a bitmask
9 - get data mask (ADC resolution)
10 ADC reference Voltage supply options:
11 - methods for get Vdd/Vss reference Voltage values with polarity
12 - support supply's phandle with auto-enable
13 - supply polarity setting in fdt
Przemyslaw Marczakd8c15622015-10-27 13:08:01 +010014
Jonas Karlman1d525122024-08-02 22:12:22 +000015config SPL_ADC
16 bool "Enable ADC drivers using Driver Model in SPL"
17 depends on SPL_DM
18
Przemyslaw Marczakd8c15622015-10-27 13:08:01 +010019config ADC_EXYNOS
20 bool "Enable Exynos 54xx ADC driver"
Quentin Schulzf7647642024-03-14 10:36:27 +010021 depends on ADC
Przemyslaw Marczakd8c15622015-10-27 13:08:01 +010022 help
23 This enables basic driver for Exynos ADC compatible with Exynos54xx.
24 It provides:
25 - 10 analog input channels
26 - 12-bit resolution
27 - 600 KSPS of sample rate
Przemyslaw Marczak1bc7f232015-10-27 13:08:06 +010028
29config ADC_SANDBOX
30 bool "Enable Sandbox ADC test driver"
Quentin Schulzf7647642024-03-14 10:36:27 +010031 depends on ADC
Przemyslaw Marczak1bc7f232015-10-27 13:08:06 +010032 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
David Wuf8d5bc72017-09-20 14:28:16 +080038
Neil Armstrong4c76ddc2018-04-23 16:19:23 +020039config SARADC_MESON
40 bool "Enable Amlogic Meson SARADC driver"
Quentin Schulzf7647642024-03-14 10:36:27 +010041 depends on ADC
Neil Armstrong4c76ddc2018-04-23 16:19:23 +020042 imply REGMAP
43 help
44 This enables driver for Amlogic Meson SARADC.
45 It provides:
46 - 8 analog input channels
47 - 1O or 12 bits resolution
48 - Up to 1MSPS of sample rate
49
David Wuf8d5bc72017-09-20 14:28:16 +080050config SARADC_ROCKCHIP
51 bool "Enable Rockchip SARADC driver"
Quentin Schulzf7647642024-03-14 10:36:27 +010052 depends on ADC
David Wuf8d5bc72017-09-20 14:28:16 +080053 help
54 This enables driver for Rockchip SARADC.
55 It provides:
56 - 2~6 analog input channels
57 - 1O or 12 bits resolution
58 - Up to 1MSPS of sample rate
Fabrice Gasnier5a1da382018-07-24 16:31:31 +020059
60config STM32_ADC
61 bool "Enable STMicroelectronics STM32 ADC driver"
62 depends on ADC && (STM32H7 || ARCH_STM32MP)
63 help
64 This enables driver for STMicroelectronics STM32 analog-to-digital
65 converter (ADC).
66 A STM32 ADC block can be composed of several individual ADCs.
67 Each has its own private registers, but shares some resources:
68 - clock selection and prescaler
69 - voltage reference
70 - common registers area.
71 STM32 ADC driver is composed of:
72 - core driver to deal with common resources
73 - child driver to deal with individual ADC resources (declare ADC
74 device and associated channels, start/stop conversions)
Luca Ellero841ebfb82023-07-05 14:56:16 +020075
76config ADC_IMX93
77 bool "Enable NXP IMX93 ADC driver"
Sébastien Szymanski8f68b282023-10-04 11:08:10 +020078 depends on ADC
Luca Ellero841ebfb82023-07-05 14:56:16 +020079 help
80 This enables basic driver for NXP IMX93 ADC.
81 It provides:
82 - 4 analog input channels
83 - 12-bit resolution