chip/ite: add ADC constants

Add ADC constants to ITE driver to match existing driver style

BRANCH=none
BUG=none
TEST=none

Change-Id: I7e101a26b81d0cd5ffd50f94c18f20335df06c67
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/982560
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Dino Li <Dino.Li@ite.com.tw>
This commit is contained in:
Jett Rink
2018-03-27 13:44:00 -06:00
committed by chrome-bot
parent f03486d36c
commit fbc40d6fce

View File

@@ -19,6 +19,11 @@
*/
#define ADC_TIMEOUT_US 248
/* Minimum and maximum values returned by adc_read_channel(). */
#define ADC_READ_MIN 0
#define ADC_READ_MAX 1023
#define ADC_MAX_MVOLT 3000
/* List of ADC channels. */
enum chip_adc_channel {
CHIP_ADC_CH0 = 0,