From af15f14fb044798145abee376b16dcffa41935d3 Mon Sep 17 00:00:00 2001 From: xieqiong2 Date: Tue, 29 Mar 2022 17:03:01 +0800 Subject: [PATCH] power:add read usbin iio channel. Add the iio channel to read usbin voltage from charger protocol IC. Change-Id: Ifa1ac9eba4abb351387e0b1d54e283ac5fa73c38 Signed-off-by: xieqiong2 Reviewed-on: https://gerrit.mot.com/2228543 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Xu Reviewed-by: Haijian Ma Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- include/dt-bindings/iio/qti_power_supply_iio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/iio/qti_power_supply_iio.h b/include/dt-bindings/iio/qti_power_supply_iio.h index 112cf86ad924..3da3be148931 100644 --- a/include/dt-bindings/iio/qti_power_supply_iio.h +++ b/include/dt-bindings/iio/qti_power_supply_iio.h @@ -181,4 +181,5 @@ #define PSY_IIO_USB_TERMINATION_ENABLED 0x113 #define PSY_IIO_START_BC12_DETECTION 0x114 #define PSY_IIO_DETECTION_BC12_READY 0x115 +#define PSY_IIO_READ_USBIN_VOLTAGE 0x116 #endif /* __QTI_POWER_SUPPLY_IIO_H__ */