blob: ec1e47c030c825144a4836fdb989a1a66ebd1d49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* Copyright 2021 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Intel BASEBOARD-RVP MCHP EC specific configuration */
#ifndef __CROS_EC_MCHP_EC_H
#define __CROS_EC_MCHP_EC_H
/* ADC channels */
#define ADC_TEMP_SNS_AMBIENT_CHANNEL CHIP_ADC_CH7
#define ADC_TEMP_SNS_DDR_CHANNEL CHIP_ADC_CH4
#define ADC_TEMP_SNS_SKIN_CHANNEL CHIP_ADC_CH3
#define ADC_TEMP_SNS_VR_CHANNEL CHIP_ADC_CH1
/*
* ADC maximum voltage is a board level configuration.
* MEC152x ADC can use an external 3.0 or 3.3V reference with
* maximum values up to the reference voltage.
* The ADC maximum voltage depends upon the external reference
* voltage connected to MEC152x.
*/
#define ADC_MAX_MVOLT 3000
#endif /* __CROS_EC_MCHP_EC_H */
|