mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 17:41:25 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user