Kconfig 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. config 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. config ADC_EXYNOS
  14. bool "Enable Exynos 54xx ADC driver"
  15. help
  16. This enables basic driver for Exynos ADC compatible with Exynos54xx.
  17. It provides:
  18. - 10 analog input channels
  19. - 12-bit resolution
  20. - 600 KSPS of sample rate
  21. config ADC_SANDBOX
  22. bool "Enable Sandbox ADC test driver"
  23. help
  24. This enables driver for Sandbox ADC device emulation.
  25. It provides:
  26. - 4 analog input channels
  27. - 16-bit resolution
  28. - single and multi-channel conversion mode
  29. config SARADC_MESON
  30. bool "Enable Amlogic Meson SARADC driver"
  31. imply REGMAP
  32. help
  33. This enables driver for Amlogic Meson SARADC.
  34. It provides:
  35. - 8 analog input channels
  36. - 1O or 12 bits resolution
  37. - Up to 1MSPS of sample rate
  38. config SARADC_ROCKCHIP
  39. bool "Enable Rockchip SARADC driver"
  40. help
  41. This enables driver for Rockchip SARADC.
  42. It provides:
  43. - 2~6 analog input channels
  44. - 1O or 12 bits resolution
  45. - Up to 1MSPS of sample rate
  46. config STM32_ADC
  47. bool "Enable STMicroelectronics STM32 ADC driver"
  48. depends on ADC && (STM32H7 || ARCH_STM32MP)
  49. help
  50. This enables driver for STMicroelectronics STM32 analog-to-digital
  51. converter (ADC).
  52. A STM32 ADC block can be composed of several individual ADCs.
  53. Each has its own private registers, but shares some resources:
  54. - clock selection and prescaler
  55. - voltage reference
  56. - common registers area.
  57. STM32 ADC driver is composed of:
  58. - core driver to deal with common resources
  59. - child driver to deal with individual ADC resources (declare ADC
  60. device and associated channels, start/stop conversions)