xref: /linux/include/dt-bindings/iio/qcom,spmi-adc7-smb139x.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
1*7bf421f4SNia Espera /* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */
2*7bf421f4SNia Espera /*
3*7bf421f4SNia Espera  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
4*7bf421f4SNia Espera  */
5*7bf421f4SNia Espera 
6*7bf421f4SNia Espera #ifndef _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
7*7bf421f4SNia Espera #define _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
8*7bf421f4SNia Espera 
9*7bf421f4SNia Espera #include <dt-bindings/iio/qcom,spmi-vadc.h>
10*7bf421f4SNia Espera 
11*7bf421f4SNia Espera #define SMB139x_1_ADC7_SMB_TEMP			(SMB139x_1_SID << 8 | ADC7_SMB_TEMP)
12*7bf421f4SNia Espera #define SMB139x_1_ADC7_ICHG_SMB			(SMB139x_1_SID << 8 | ADC7_ICHG_SMB)
13*7bf421f4SNia Espera #define SMB139x_1_ADC7_IIN_SMB			(SMB139x_1_SID << 8 | ADC7_IIN_SMB)
14*7bf421f4SNia Espera 
15*7bf421f4SNia Espera #define SMB139x_2_ADC7_SMB_TEMP			(SMB139x_2_SID << 8 | ADC7_SMB_TEMP)
16*7bf421f4SNia Espera #define SMB139x_2_ADC7_ICHG_SMB			(SMB139x_2_SID << 8 | ADC7_ICHG_SMB)
17*7bf421f4SNia Espera #define SMB139x_2_ADC7_IIN_SMB			(SMB139x_2_SID << 8 | ADC7_IIN_SMB)
18*7bf421f4SNia Espera 
19*7bf421f4SNia Espera #endif
20