Path: blob/master/include/dt-bindings/iio/qcom,spmi-adc7-smb139x.h
26285 views
/* SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause */1/*2* Copyright (c) 2020 The Linux Foundation. All rights reserved.3*/45#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H6#define _DT_BINDINGS_QCOM_SPMI_VADC_SMB139X_H78#include <dt-bindings/iio/qcom,spmi-vadc.h>910#define SMB139x_1_ADC7_SMB_TEMP (SMB139x_1_SID << 8 | ADC7_SMB_TEMP)11#define SMB139x_1_ADC7_ICHG_SMB (SMB139x_1_SID << 8 | ADC7_ICHG_SMB)12#define SMB139x_1_ADC7_IIN_SMB (SMB139x_1_SID << 8 | ADC7_IIN_SMB)1314#define SMB139x_2_ADC7_SMB_TEMP (SMB139x_2_SID << 8 | ADC7_SMB_TEMP)15#define SMB139x_2_ADC7_ICHG_SMB (SMB139x_2_SID << 8 | ADC7_ICHG_SMB)16#define SMB139x_2_ADC7_IIN_SMB (SMB139x_2_SID << 8 | ADC7_IIN_SMB)1718#endif192021