0001
0002
0003
0004
0005
0006 #ifndef _DT_BINDINGS_QCOM_SPMI_VADC_PMR735B_H
0007 #define _DT_BINDINGS_QCOM_SPMI_VADC_PMR735B_H
0008
0009 #ifndef PMR735B_SID
0010 #define PMR735B_SID 5
0011 #endif
0012
0013
0014 #define PMR735B_ADC7_REF_GND (PMR735B_SID << 8 | 0x0)
0015 #define PMR735B_ADC7_1P25VREF (PMR735B_SID << 8 | 0x01)
0016 #define PMR735B_ADC7_VREF_VADC (PMR735B_SID << 8 | 0x02)
0017 #define PMR735B_ADC7_DIE_TEMP (PMR735B_SID << 8 | 0x03)
0018
0019 #define PMR735B_ADC7_GPIO1 (PMR735B_SID << 8 | 0x0a)
0020 #define PMR735B_ADC7_GPIO2 (PMR735B_SID << 8 | 0x0b)
0021 #define PMR735B_ADC7_GPIO3 (PMR735B_SID << 8 | 0x0c)
0022
0023
0024 #define PMR735B_ADC7_GPIO1_100K_PU (PMR735B_SID << 8 | 0x4a)
0025 #define PMR735B_ADC7_GPIO2_100K_PU (PMR735B_SID << 8 | 0x4b)
0026 #define PMR735B_ADC7_GPIO3_100K_PU (PMR735B_SID << 8 | 0x4c)
0027
0028 #endif