From 55463a63db4b910a3ef52819732ee61d8cdd1c4a Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Mon, 24 Aug 2020 14:58:21 +0530 Subject: [PATCH] dt-bindings: iio: Add IIO channel numbers for SMB1398 Add channel IDs required for SMB1398 IIO device's channels. Change-Id: I20192dba7d9b20f4163a4c648681d1d517e92587 Signed-off-by: Jishnu Prakash --- .../dt-bindings/iio/qti_power_supply_iio.h | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/iio/qti_power_supply_iio.h b/include/dt-bindings/iio/qti_power_supply_iio.h index 90c484e9fff2..ff7af3a07290 100644 --- a/include/dt-bindings/iio/qti_power_supply_iio.h +++ b/include/dt-bindings/iio/qti_power_supply_iio.h @@ -120,6 +120,24 @@ #define PSY_IIO_BATT_AGE_LEVEL 0x62 #define PSY_IIO_FG_TYPE 0x63 -#define PSY_IIO_TYPEC_ACCESSORY_MODE 0x64 +#define PSY_IIO_TYPEC_ACCESSORY_MODE 0x64 + +/* CHARGE PUMP */ +#define PSY_IIO_CP_STATUS1 0x65 +#define PSY_IIO_CP_STATUS2 0x66 +#define PSY_IIO_CP_ENABLE 0x67 +#define PSY_IIO_CP_SWITCHER_EN 0x68 +#define PSY_IIO_CP_DIE_TEMP 0x69 +#define PSY_IIO_CP_ISNS 0x6a +#define PSY_IIO_CP_ISNS_SLAVE 0x6b +#define PSY_IIO_CP_TOGGLE_SWITCHER 0x6c +#define PSY_IIO_CP_ILIM 0x6d +#define PSY_IIO_CHIP_VERSION 0x6e +#define PSY_IIO_PARALLEL_MODE 0x6f +#define PSY_IIO_PARALLEL_OUTPUT_MODE 0x70 +#define PSY_IIO_MIN_ICL 0x71 + +#define PSY_IIO_CP_INPUT_CURRENT_MAX 0x72 +#define PSY_IIO_CURRENT_CAPABILITY 0x73 #endif /* __QTI_POWER_SUPPLY_IIO_H__ */