162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2012-2014,2018,2020 The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_QCOM_SPMI_VADC_H
762306a36Sopenharmony_ci#define _DT_BINDINGS_QCOM_SPMI_VADC_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* Voltage ADC channels */
1062306a36Sopenharmony_ci#define VADC_USBIN				0x00
1162306a36Sopenharmony_ci#define VADC_DCIN				0x01
1262306a36Sopenharmony_ci#define VADC_VCHG_SNS				0x02
1362306a36Sopenharmony_ci#define VADC_SPARE1_03				0x03
1462306a36Sopenharmony_ci#define VADC_USB_ID_MV				0x04
1562306a36Sopenharmony_ci#define VADC_VCOIN				0x05
1662306a36Sopenharmony_ci#define VADC_VBAT_SNS				0x06
1762306a36Sopenharmony_ci#define VADC_VSYS				0x07
1862306a36Sopenharmony_ci#define VADC_DIE_TEMP				0x08
1962306a36Sopenharmony_ci#define VADC_REF_625MV				0x09
2062306a36Sopenharmony_ci#define VADC_REF_1250MV				0x0a
2162306a36Sopenharmony_ci#define VADC_CHG_TEMP				0x0b
2262306a36Sopenharmony_ci#define VADC_SPARE1				0x0c
2362306a36Sopenharmony_ci#define VADC_SPARE2				0x0d
2462306a36Sopenharmony_ci#define VADC_GND_REF				0x0e
2562306a36Sopenharmony_ci#define VADC_VDD_VADC				0x0f
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#define VADC_P_MUX1_1_1				0x10
2862306a36Sopenharmony_ci#define VADC_P_MUX2_1_1				0x11
2962306a36Sopenharmony_ci#define VADC_P_MUX3_1_1				0x12
3062306a36Sopenharmony_ci#define VADC_P_MUX4_1_1				0x13
3162306a36Sopenharmony_ci#define VADC_P_MUX5_1_1				0x14
3262306a36Sopenharmony_ci#define VADC_P_MUX6_1_1				0x15
3362306a36Sopenharmony_ci#define VADC_P_MUX7_1_1				0x16
3462306a36Sopenharmony_ci#define VADC_P_MUX8_1_1				0x17
3562306a36Sopenharmony_ci#define VADC_P_MUX9_1_1				0x18
3662306a36Sopenharmony_ci#define VADC_P_MUX10_1_1			0x19
3762306a36Sopenharmony_ci#define VADC_P_MUX11_1_1			0x1a
3862306a36Sopenharmony_ci#define VADC_P_MUX12_1_1			0x1b
3962306a36Sopenharmony_ci#define VADC_P_MUX13_1_1			0x1c
4062306a36Sopenharmony_ci#define VADC_P_MUX14_1_1			0x1d
4162306a36Sopenharmony_ci#define VADC_P_MUX15_1_1			0x1e
4262306a36Sopenharmony_ci#define VADC_P_MUX16_1_1			0x1f
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#define VADC_P_MUX1_1_3				0x20
4562306a36Sopenharmony_ci#define VADC_P_MUX2_1_3				0x21
4662306a36Sopenharmony_ci#define VADC_P_MUX3_1_3				0x22
4762306a36Sopenharmony_ci#define VADC_P_MUX4_1_3				0x23
4862306a36Sopenharmony_ci#define VADC_P_MUX5_1_3				0x24
4962306a36Sopenharmony_ci#define VADC_P_MUX6_1_3				0x25
5062306a36Sopenharmony_ci#define VADC_P_MUX7_1_3				0x26
5162306a36Sopenharmony_ci#define VADC_P_MUX8_1_3				0x27
5262306a36Sopenharmony_ci#define VADC_P_MUX9_1_3				0x28
5362306a36Sopenharmony_ci#define VADC_P_MUX10_1_3			0x29
5462306a36Sopenharmony_ci#define VADC_P_MUX11_1_3			0x2a
5562306a36Sopenharmony_ci#define VADC_P_MUX12_1_3			0x2b
5662306a36Sopenharmony_ci#define VADC_P_MUX13_1_3			0x2c
5762306a36Sopenharmony_ci#define VADC_P_MUX14_1_3			0x2d
5862306a36Sopenharmony_ci#define VADC_P_MUX15_1_3			0x2e
5962306a36Sopenharmony_ci#define VADC_P_MUX16_1_3			0x2f
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci#define VADC_LR_MUX1_BAT_THERM			0x30
6262306a36Sopenharmony_ci#define VADC_LR_MUX2_BAT_ID			0x31
6362306a36Sopenharmony_ci#define VADC_LR_MUX3_XO_THERM			0x32
6462306a36Sopenharmony_ci#define VADC_LR_MUX4_AMUX_THM1			0x33
6562306a36Sopenharmony_ci#define VADC_LR_MUX5_AMUX_THM2			0x34
6662306a36Sopenharmony_ci#define VADC_LR_MUX6_AMUX_THM3			0x35
6762306a36Sopenharmony_ci#define VADC_LR_MUX7_HW_ID			0x36
6862306a36Sopenharmony_ci#define VADC_LR_MUX8_AMUX_THM4			0x37
6962306a36Sopenharmony_ci#define VADC_LR_MUX9_AMUX_THM5			0x38
7062306a36Sopenharmony_ci#define VADC_LR_MUX10_USB_ID			0x39
7162306a36Sopenharmony_ci#define VADC_AMUX_PU1				0x3a
7262306a36Sopenharmony_ci#define VADC_AMUX_PU2				0x3b
7362306a36Sopenharmony_ci#define VADC_LR_MUX3_BUF_XO_THERM		0x3c
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ci#define VADC_LR_MUX1_PU1_BAT_THERM		0x70
7662306a36Sopenharmony_ci#define VADC_LR_MUX2_PU1_BAT_ID			0x71
7762306a36Sopenharmony_ci#define VADC_LR_MUX3_PU1_XO_THERM		0x72
7862306a36Sopenharmony_ci#define VADC_LR_MUX4_PU1_AMUX_THM1		0x73
7962306a36Sopenharmony_ci#define VADC_LR_MUX5_PU1_AMUX_THM2		0x74
8062306a36Sopenharmony_ci#define VADC_LR_MUX6_PU1_AMUX_THM3		0x75
8162306a36Sopenharmony_ci#define VADC_LR_MUX7_PU1_AMUX_HW_ID		0x76
8262306a36Sopenharmony_ci#define VADC_LR_MUX8_PU1_AMUX_THM4		0x77
8362306a36Sopenharmony_ci#define VADC_LR_MUX9_PU1_AMUX_THM5		0x78
8462306a36Sopenharmony_ci#define VADC_LR_MUX10_PU1_AMUX_USB_ID		0x79
8562306a36Sopenharmony_ci#define VADC_LR_MUX3_BUF_PU1_XO_THERM		0x7c
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ci#define VADC_LR_MUX1_PU2_BAT_THERM		0xb0
8862306a36Sopenharmony_ci#define VADC_LR_MUX2_PU2_BAT_ID			0xb1
8962306a36Sopenharmony_ci#define VADC_LR_MUX3_PU2_XO_THERM		0xb2
9062306a36Sopenharmony_ci#define VADC_LR_MUX4_PU2_AMUX_THM1		0xb3
9162306a36Sopenharmony_ci#define VADC_LR_MUX5_PU2_AMUX_THM2		0xb4
9262306a36Sopenharmony_ci#define VADC_LR_MUX6_PU2_AMUX_THM3		0xb5
9362306a36Sopenharmony_ci#define VADC_LR_MUX7_PU2_AMUX_HW_ID		0xb6
9462306a36Sopenharmony_ci#define VADC_LR_MUX8_PU2_AMUX_THM4		0xb7
9562306a36Sopenharmony_ci#define VADC_LR_MUX9_PU2_AMUX_THM5		0xb8
9662306a36Sopenharmony_ci#define VADC_LR_MUX10_PU2_AMUX_USB_ID		0xb9
9762306a36Sopenharmony_ci#define VADC_LR_MUX3_BUF_PU2_XO_THERM		0xbc
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci#define VADC_LR_MUX1_PU1_PU2_BAT_THERM		0xf0
10062306a36Sopenharmony_ci#define VADC_LR_MUX2_PU1_PU2_BAT_ID		0xf1
10162306a36Sopenharmony_ci#define VADC_LR_MUX3_PU1_PU2_XO_THERM		0xf2
10262306a36Sopenharmony_ci#define VADC_LR_MUX4_PU1_PU2_AMUX_THM1		0xf3
10362306a36Sopenharmony_ci#define VADC_LR_MUX5_PU1_PU2_AMUX_THM2		0xf4
10462306a36Sopenharmony_ci#define VADC_LR_MUX6_PU1_PU2_AMUX_THM3		0xf5
10562306a36Sopenharmony_ci#define VADC_LR_MUX7_PU1_PU2_AMUX_HW_ID		0xf6
10662306a36Sopenharmony_ci#define VADC_LR_MUX8_PU1_PU2_AMUX_THM4		0xf7
10762306a36Sopenharmony_ci#define VADC_LR_MUX9_PU1_PU2_AMUX_THM5		0xf8
10862306a36Sopenharmony_ci#define VADC_LR_MUX10_PU1_PU2_AMUX_USB_ID	0xf9
10962306a36Sopenharmony_ci#define VADC_LR_MUX3_BUF_PU1_PU2_XO_THERM	0xfc
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci/* ADC channels for SPMI PMIC5 */
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_ci#define ADC5_REF_GND				0x00
11462306a36Sopenharmony_ci#define ADC5_1P25VREF				0x01
11562306a36Sopenharmony_ci#define ADC5_VREF_VADC				0x02
11662306a36Sopenharmony_ci#define ADC5_VREF_VADC5_DIV_3			0x82
11762306a36Sopenharmony_ci#define ADC5_VPH_PWR				0x83
11862306a36Sopenharmony_ci#define ADC5_VBAT_SNS				0x84
11962306a36Sopenharmony_ci#define ADC5_VCOIN				0x85
12062306a36Sopenharmony_ci#define ADC5_DIE_TEMP				0x06
12162306a36Sopenharmony_ci#define ADC5_USB_IN_I				0x07
12262306a36Sopenharmony_ci#define ADC5_USB_IN_V_16			0x08
12362306a36Sopenharmony_ci#define ADC5_CHG_TEMP				0x09
12462306a36Sopenharmony_ci#define ADC5_BAT_THERM				0x0a
12562306a36Sopenharmony_ci#define ADC5_BAT_ID				0x0b
12662306a36Sopenharmony_ci#define ADC5_XO_THERM				0x0c
12762306a36Sopenharmony_ci#define ADC5_AMUX_THM1				0x0d
12862306a36Sopenharmony_ci#define ADC5_AMUX_THM2				0x0e
12962306a36Sopenharmony_ci#define ADC5_AMUX_THM3				0x0f
13062306a36Sopenharmony_ci#define ADC5_AMUX_THM4				0x10
13162306a36Sopenharmony_ci#define ADC5_AMUX_THM5				0x11
13262306a36Sopenharmony_ci#define ADC5_GPIO1				0x12
13362306a36Sopenharmony_ci#define ADC5_GPIO2				0x13
13462306a36Sopenharmony_ci#define ADC5_GPIO3				0x14
13562306a36Sopenharmony_ci#define ADC5_GPIO4				0x15
13662306a36Sopenharmony_ci#define ADC5_GPIO5				0x16
13762306a36Sopenharmony_ci#define ADC5_GPIO6				0x17
13862306a36Sopenharmony_ci#define ADC5_GPIO7				0x18
13962306a36Sopenharmony_ci#define ADC5_SBUx				0x99
14062306a36Sopenharmony_ci#define ADC5_MID_CHG_DIV6			0x1e
14162306a36Sopenharmony_ci#define ADC5_OFF				0xff
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ci/* 30k pull-up1 */
14462306a36Sopenharmony_ci#define ADC5_BAT_THERM_30K_PU			0x2a
14562306a36Sopenharmony_ci#define ADC5_BAT_ID_30K_PU			0x2b
14662306a36Sopenharmony_ci#define ADC5_XO_THERM_30K_PU			0x2c
14762306a36Sopenharmony_ci#define ADC5_AMUX_THM1_30K_PU			0x2d
14862306a36Sopenharmony_ci#define ADC5_AMUX_THM2_30K_PU			0x2e
14962306a36Sopenharmony_ci#define ADC5_AMUX_THM3_30K_PU			0x2f
15062306a36Sopenharmony_ci#define ADC5_AMUX_THM4_30K_PU			0x30
15162306a36Sopenharmony_ci#define ADC5_AMUX_THM5_30K_PU			0x31
15262306a36Sopenharmony_ci#define ADC5_GPIO1_30K_PU			0x32
15362306a36Sopenharmony_ci#define ADC5_GPIO2_30K_PU			0x33
15462306a36Sopenharmony_ci#define ADC5_GPIO3_30K_PU			0x34
15562306a36Sopenharmony_ci#define ADC5_GPIO4_30K_PU			0x35
15662306a36Sopenharmony_ci#define ADC5_GPIO5_30K_PU			0x36
15762306a36Sopenharmony_ci#define ADC5_GPIO6_30K_PU			0x37
15862306a36Sopenharmony_ci#define ADC5_GPIO7_30K_PU			0x38
15962306a36Sopenharmony_ci#define ADC5_SBUx_30K_PU			0x39
16062306a36Sopenharmony_ci
16162306a36Sopenharmony_ci/* 100k pull-up2 */
16262306a36Sopenharmony_ci#define ADC5_BAT_THERM_100K_PU			0x4a
16362306a36Sopenharmony_ci#define ADC5_BAT_ID_100K_PU			0x4b
16462306a36Sopenharmony_ci#define ADC5_XO_THERM_100K_PU			0x4c
16562306a36Sopenharmony_ci#define ADC5_AMUX_THM1_100K_PU			0x4d
16662306a36Sopenharmony_ci#define ADC5_AMUX_THM2_100K_PU			0x4e
16762306a36Sopenharmony_ci#define ADC5_AMUX_THM3_100K_PU			0x4f
16862306a36Sopenharmony_ci#define ADC5_AMUX_THM4_100K_PU			0x50
16962306a36Sopenharmony_ci#define ADC5_AMUX_THM5_100K_PU			0x51
17062306a36Sopenharmony_ci#define ADC5_GPIO1_100K_PU			0x52
17162306a36Sopenharmony_ci#define ADC5_GPIO2_100K_PU			0x53
17262306a36Sopenharmony_ci#define ADC5_GPIO3_100K_PU			0x54
17362306a36Sopenharmony_ci#define ADC5_GPIO4_100K_PU			0x55
17462306a36Sopenharmony_ci#define ADC5_GPIO5_100K_PU			0x56
17562306a36Sopenharmony_ci#define ADC5_GPIO6_100K_PU			0x57
17662306a36Sopenharmony_ci#define ADC5_GPIO7_100K_PU			0x58
17762306a36Sopenharmony_ci#define ADC5_SBUx_100K_PU			0x59
17862306a36Sopenharmony_ci
17962306a36Sopenharmony_ci/* 400k pull-up3 */
18062306a36Sopenharmony_ci#define ADC5_BAT_THERM_400K_PU			0x6a
18162306a36Sopenharmony_ci#define ADC5_BAT_ID_400K_PU			0x6b
18262306a36Sopenharmony_ci#define ADC5_XO_THERM_400K_PU			0x6c
18362306a36Sopenharmony_ci#define ADC5_AMUX_THM1_400K_PU			0x6d
18462306a36Sopenharmony_ci#define ADC5_AMUX_THM2_400K_PU			0x6e
18562306a36Sopenharmony_ci#define ADC5_AMUX_THM3_400K_PU			0x6f
18662306a36Sopenharmony_ci#define ADC5_AMUX_THM4_400K_PU			0x70
18762306a36Sopenharmony_ci#define ADC5_AMUX_THM5_400K_PU			0x71
18862306a36Sopenharmony_ci#define ADC5_GPIO1_400K_PU			0x72
18962306a36Sopenharmony_ci#define ADC5_GPIO2_400K_PU			0x73
19062306a36Sopenharmony_ci#define ADC5_GPIO3_400K_PU			0x74
19162306a36Sopenharmony_ci#define ADC5_GPIO4_400K_PU			0x75
19262306a36Sopenharmony_ci#define ADC5_GPIO5_400K_PU			0x76
19362306a36Sopenharmony_ci#define ADC5_GPIO6_400K_PU			0x77
19462306a36Sopenharmony_ci#define ADC5_GPIO7_400K_PU			0x78
19562306a36Sopenharmony_ci#define ADC5_SBUx_400K_PU			0x79
19662306a36Sopenharmony_ci
19762306a36Sopenharmony_ci/* 1/3 Divider */
19862306a36Sopenharmony_ci#define ADC5_GPIO1_DIV3				0x92
19962306a36Sopenharmony_ci#define ADC5_GPIO2_DIV3				0x93
20062306a36Sopenharmony_ci#define ADC5_GPIO3_DIV3				0x94
20162306a36Sopenharmony_ci#define ADC5_GPIO4_DIV3				0x95
20262306a36Sopenharmony_ci#define ADC5_GPIO5_DIV3				0x96
20362306a36Sopenharmony_ci#define ADC5_GPIO6_DIV3				0x97
20462306a36Sopenharmony_ci#define ADC5_GPIO7_DIV3				0x98
20562306a36Sopenharmony_ci#define ADC5_SBUx_DIV3				0x99
20662306a36Sopenharmony_ci
20762306a36Sopenharmony_ci/* Current and combined current/voltage channels */
20862306a36Sopenharmony_ci#define ADC5_INT_EXT_ISENSE			0xa1
20962306a36Sopenharmony_ci#define ADC5_PARALLEL_ISENSE			0xa5
21062306a36Sopenharmony_ci#define ADC5_CUR_REPLICA_VDS			0xa7
21162306a36Sopenharmony_ci#define ADC5_CUR_SENS_BATFET_VDS_OFFSET		0xa9
21262306a36Sopenharmony_ci#define ADC5_CUR_SENS_REPLICA_VDS_OFFSET	0xab
21362306a36Sopenharmony_ci#define ADC5_EXT_SENS_OFFSET			0xad
21462306a36Sopenharmony_ci
21562306a36Sopenharmony_ci#define ADC5_INT_EXT_ISENSE_VBAT_VDATA		0xb0
21662306a36Sopenharmony_ci#define ADC5_INT_EXT_ISENSE_VBAT_IDATA		0xb1
21762306a36Sopenharmony_ci#define ADC5_EXT_ISENSE_VBAT_VDATA		0xb2
21862306a36Sopenharmony_ci#define ADC5_EXT_ISENSE_VBAT_IDATA		0xb3
21962306a36Sopenharmony_ci#define ADC5_PARALLEL_ISENSE_VBAT_VDATA		0xb4
22062306a36Sopenharmony_ci#define ADC5_PARALLEL_ISENSE_VBAT_IDATA		0xb5
22162306a36Sopenharmony_ci
22262306a36Sopenharmony_ci#define ADC5_MAX_CHANNEL			0xc0
22362306a36Sopenharmony_ci
22462306a36Sopenharmony_ci/* ADC channels for ADC for PMIC7 */
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ci#define ADC7_REF_GND				0x00
22762306a36Sopenharmony_ci#define ADC7_1P25VREF				0x01
22862306a36Sopenharmony_ci#define ADC7_VREF_VADC				0x02
22962306a36Sopenharmony_ci#define ADC7_DIE_TEMP				0x03
23062306a36Sopenharmony_ci
23162306a36Sopenharmony_ci#define ADC7_AMUX_THM1				0x04
23262306a36Sopenharmony_ci#define ADC7_AMUX_THM2				0x05
23362306a36Sopenharmony_ci#define ADC7_AMUX_THM3				0x06
23462306a36Sopenharmony_ci#define ADC7_AMUX_THM4				0x07
23562306a36Sopenharmony_ci#define ADC7_AMUX_THM5				0x08
23662306a36Sopenharmony_ci#define ADC7_AMUX_THM6				0x09
23762306a36Sopenharmony_ci#define ADC7_GPIO1				0x0a
23862306a36Sopenharmony_ci#define ADC7_GPIO2				0x0b
23962306a36Sopenharmony_ci#define ADC7_GPIO3				0x0c
24062306a36Sopenharmony_ci#define ADC7_GPIO4				0x0d
24162306a36Sopenharmony_ci
24262306a36Sopenharmony_ci#define ADC7_CHG_TEMP				0x10
24362306a36Sopenharmony_ci#define ADC7_USB_IN_V_16			0x11
24462306a36Sopenharmony_ci#define ADC7_VDC_16				0x12
24562306a36Sopenharmony_ci#define ADC7_CC1_ID				0x13
24662306a36Sopenharmony_ci#define ADC7_VREF_BAT_THERM			0x15
24762306a36Sopenharmony_ci#define ADC7_IIN_FB				0x17
24862306a36Sopenharmony_ci
24962306a36Sopenharmony_ci/* 30k pull-up1 */
25062306a36Sopenharmony_ci#define ADC7_AMUX_THM1_30K_PU			0x24
25162306a36Sopenharmony_ci#define ADC7_AMUX_THM2_30K_PU			0x25
25262306a36Sopenharmony_ci#define ADC7_AMUX_THM3_30K_PU			0x26
25362306a36Sopenharmony_ci#define ADC7_AMUX_THM4_30K_PU			0x27
25462306a36Sopenharmony_ci#define ADC7_AMUX_THM5_30K_PU			0x28
25562306a36Sopenharmony_ci#define ADC7_AMUX_THM6_30K_PU			0x29
25662306a36Sopenharmony_ci#define ADC7_GPIO1_30K_PU			0x2a
25762306a36Sopenharmony_ci#define ADC7_GPIO2_30K_PU			0x2b
25862306a36Sopenharmony_ci#define ADC7_GPIO3_30K_PU			0x2c
25962306a36Sopenharmony_ci#define ADC7_GPIO4_30K_PU			0x2d
26062306a36Sopenharmony_ci#define ADC7_CC1_ID_30K_PU			0x33
26162306a36Sopenharmony_ci
26262306a36Sopenharmony_ci/* 100k pull-up2 */
26362306a36Sopenharmony_ci#define ADC7_AMUX_THM1_100K_PU			0x44
26462306a36Sopenharmony_ci#define ADC7_AMUX_THM2_100K_PU			0x45
26562306a36Sopenharmony_ci#define ADC7_AMUX_THM3_100K_PU			0x46
26662306a36Sopenharmony_ci#define ADC7_AMUX_THM4_100K_PU			0x47
26762306a36Sopenharmony_ci#define ADC7_AMUX_THM5_100K_PU			0x48
26862306a36Sopenharmony_ci#define ADC7_AMUX_THM6_100K_PU			0x49
26962306a36Sopenharmony_ci#define ADC7_GPIO1_100K_PU			0x4a
27062306a36Sopenharmony_ci#define ADC7_GPIO2_100K_PU			0x4b
27162306a36Sopenharmony_ci#define ADC7_GPIO3_100K_PU			0x4c
27262306a36Sopenharmony_ci#define ADC7_GPIO4_100K_PU			0x4d
27362306a36Sopenharmony_ci#define ADC7_CC1_ID_100K_PU			0x53
27462306a36Sopenharmony_ci
27562306a36Sopenharmony_ci/* 400k pull-up3 */
27662306a36Sopenharmony_ci#define ADC7_AMUX_THM1_400K_PU			0x64
27762306a36Sopenharmony_ci#define ADC7_AMUX_THM2_400K_PU			0x65
27862306a36Sopenharmony_ci#define ADC7_AMUX_THM3_400K_PU			0x66
27962306a36Sopenharmony_ci#define ADC7_AMUX_THM4_400K_PU			0x67
28062306a36Sopenharmony_ci#define ADC7_AMUX_THM5_400K_PU			0x68
28162306a36Sopenharmony_ci#define ADC7_AMUX_THM6_400K_PU			0x69
28262306a36Sopenharmony_ci#define ADC7_GPIO1_400K_PU			0x6a
28362306a36Sopenharmony_ci#define ADC7_GPIO2_400K_PU			0x6b
28462306a36Sopenharmony_ci#define ADC7_GPIO3_400K_PU			0x6c
28562306a36Sopenharmony_ci#define ADC7_GPIO4_400K_PU			0x6d
28662306a36Sopenharmony_ci#define ADC7_CC1_ID_400K_PU			0x73
28762306a36Sopenharmony_ci
28862306a36Sopenharmony_ci/* 1/3 Divider */
28962306a36Sopenharmony_ci#define ADC7_GPIO1_DIV3				0x8a
29062306a36Sopenharmony_ci#define ADC7_GPIO2_DIV3				0x8b
29162306a36Sopenharmony_ci#define ADC7_GPIO3_DIV3				0x8c
29262306a36Sopenharmony_ci#define ADC7_GPIO4_DIV3				0x8d
29362306a36Sopenharmony_ci
29462306a36Sopenharmony_ci#define ADC7_VPH_PWR				0x8e
29562306a36Sopenharmony_ci#define ADC7_VBAT_SNS				0x8f
29662306a36Sopenharmony_ci
29762306a36Sopenharmony_ci#define ADC7_SBUx				0x94
29862306a36Sopenharmony_ci#define ADC7_VBAT_2S_MID			0x96
29962306a36Sopenharmony_ci
30062306a36Sopenharmony_ci#endif /* _DT_BINDINGS_QCOM_SPMI_VADC_H */
301