summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 1ca46f1d98..24daae1b34 100644
--- a/include/config.h
+++ b/include/config.h
@@ -84,13 +84,25 @@
/* Compile chip support for analog-to-digital convertor */
#undef CONFIG_ADC
-/* ADC sample time selection. The value is chip-dependent. */
+/*
+ * ADC sample time selection. The value is chip-dependent.
+ * TODO: Replace this with CONFIG_ADC_PROFILE entries.
+ */
#undef CONFIG_ADC_SAMPLE_TIME
/* Include the ADC analog watchdog feature in the ADC code */
#define CONFIG_ADC_WATCHDOG
/*
+ * Chip-dependent ADC configuration - select one.
+ * SINGLE - Sample all inputs once when requested.
+ * FAST_CONTINUOUS - Sample all inputs continuously using DMA, with minimal
+ * sample time.
+ */
+#define CONFIG_ADC_PROFILE_SINGLE
+#undef CONFIG_ADC_PROFILE_FAST_CONTINUOUS
+
+/*
* Some ALS modules may be connected to the EC. We need the command, and
* specific drivers for each module.
*/