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