mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02:00
dt-bindings: iio: Add the ADC5 GEN3 Channel info for SMB139x
Add the ADC5 GEN3 channels used by SMB139x. Change-Id: Ibdf37c90397ae10a87f7607ebb1ddc2445d698c7 Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
parent
c9265a0486
commit
88d5476b30
25
include/dt-bindings/iio/qcom,spmi-adc5-gen3-smb139x.h
Normal file
25
include/dt-bindings/iio/qcom,spmi-adc5-gen3-smb139x.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_GEN3_SMB139X_H
|
||||
#define _DT_BINDINGS_QCOM_SPMI_VADC_GEN3_SMB139X_H
|
||||
|
||||
#ifndef SMB1394_1_SID
|
||||
#define SMB1394_1_SID 0x09
|
||||
#endif
|
||||
|
||||
#ifndef SMB1394_2_SID
|
||||
#define SMB1394_2_SID 0x0b
|
||||
#endif
|
||||
|
||||
#define SMB1394_1_ADC5_GEN3_SMB_TEMP (SMB1394_1_SID << 8 | 0x06)
|
||||
#define SMB1394_1_ADC5_GEN3_IIN_SMB (SMB1394_1_SID << 8 | 0x19)
|
||||
#define SMB1394_1_ADC5_GEN3_ICHG_SMB (SMB1394_1_SID << 8 | 0x1b)
|
||||
|
||||
#define SMB1394_2_ADC5_GEN3_SMB_TEMP (SMB1394_2_SID << 8 | 0x06)
|
||||
#define SMB1394_2_ADC5_GEN3_IIN_SMB (SMB1394_2_SID << 8 | 0x19)
|
||||
#define SMB1394_2_ADC5_GEN3_ICHG_SMB (SMB1394_2_SID << 8 | 0x1b)
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user