--- zzzz-none-000/linux-4.4.271/include/dt-bindings/iio/qcom,spmi-vadc.h 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/include/dt-bindings/iio/qcom,spmi-vadc.h 2023-12-20 10:37:35.000000000 +0000 @@ -116,4 +116,24 @@ #define VADC_LR_MUX10_PU1_PU2_AMUX_USB_ID 0xf9 #define VADC_LR_MUX3_BUF_PU1_PU2_XO_THERM 0xfc +/* + * Channels for PMP8074 +*/ +#define VADC_PMP8074_GND_REF 0x00 +#define VADC_PMP8074_REF_1250MV 0x01 +#define VADC_PMP8074_VDD_VADC 0x02 +#define VADC_PMP8074_RESERVED1 0x03 +#define VADC_PMP8074_RESERVED2 0x04 +#define VADC_PMP8074_RESERVED3 0x05 +#define VADC_PMP8074_DIE_TEMP 0x06 +#define VADC_PMP8074_CHG_TEMP 0x07 +#define VADC_PMP8074_USBIN 0x08 +#define VADC_PMP8074_IREG_FB 0x09 +#define VADC_PMP8074_BAT_THERM 0x0a +#define VADC_PMP8074_BAT_ID 0x0b +#define VADC_PMP8074_XOTHERM 0x0c +#define VADC_PMP8074_AMUX_THM1 0x0d +#define VADC_PMP8074_AMUX_THM2 0x0e +#define VADC_PMP8074_AMUX_THM3 0x0f + #endif /* _DT_BINDINGS_QCOM_SPMI_VADC_H */