blob: 87da628b7e9aa45cf20782554fee31f9f549f5a1 (
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
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020 The Linux Foundation. All rights reserved.
*/
#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
#define _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
#ifndef SMB139x_1_SID
#define SMB139x_1_SID 0x0b
#endif
#ifndef SMB139x_2_SID
#define SMB139x_2_SID 0x0c
#endif
#define SMB139x_1_ADC7_SMB_TEMP (SMB139x_1_SID << 8 | 0x06)
#define SMB139x_1_ADC7_ICHG_SMB (SMB139x_1_SID << 8 | 0x18)
#define SMB139x_1_ADC7_IIN_SMB (SMB139x_1_SID << 8 | 0x19)
#define SMB139x_2_ADC7_SMB_TEMP (SMB139x_2_SID << 8 | 0x06)
#define SMB139x_2_ADC7_ICHG_SMB (SMB139x_2_SID << 8 | 0x18)
#define SMB139x_2_ADC7_IIN_SMB (SMB139x_2_SID << 8 | 0x19)
#endif
|