--- zzzz-none-000/linux-5.4.213/include/dt-bindings/iio/qcom,spmi-vadc.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/dt-bindings/iio/qcom,spmi-vadc.h 2024-08-14 09:02:08.000000000 +0000 @@ -221,4 +221,24 @@ #define ADC5_MAX_CHANNEL 0xc0 +/* + * 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 */