Home | History | Annotate | Line # | Download | only in iio
      1 /*	$NetBSD: qcom,spmi-adc7-smb139x.h,v 1.1.1.1 2026/01/18 05:21:44 skrll Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */
      4 /*
      5  * Copyright (c) 2020 The Linux Foundation. All rights reserved.
      6  */
      7 
      8 #ifndef _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
      9 #define _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H
     10 
     11 #include <dt-bindings/iio/qcom,spmi-vadc.h>
     12 
     13 #define SMB139x_1_ADC7_SMB_TEMP			(SMB139x_1_SID << 8 | ADC7_SMB_TEMP)
     14 #define SMB139x_1_ADC7_ICHG_SMB			(SMB139x_1_SID << 8 | ADC7_ICHG_SMB)
     15 #define SMB139x_1_ADC7_IIN_SMB			(SMB139x_1_SID << 8 | ADC7_IIN_SMB)
     16 
     17 #define SMB139x_2_ADC7_SMB_TEMP			(SMB139x_2_SID << 8 | ADC7_SMB_TEMP)
     18 #define SMB139x_2_ADC7_ICHG_SMB			(SMB139x_2_SID << 8 | ADC7_ICHG_SMB)
     19 #define SMB139x_2_ADC7_IIN_SMB			(SMB139x_2_SID << 8 | ADC7_IIN_SMB)
     20 
     21 #endif
     22