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 <xieqiong2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2228543
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
xieqiong2 2022-03-29 17:03:01 +08:00 • committed by Xiaojun Ji
commit af15f14fb0

View file

@ -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__ */