From c19694b89207ae3d8e94568cdb6ea1aa3c37fcc9 Mon Sep 17 00:00:00 2001 From: Kavya Nunna Date: Wed, 3 Mar 2021 19:44:52 +0530 Subject: [PATCH] include: dt-bindings: Add iio property for moisture detection control Add IIO property to enable and disable moisture detection from sysfs. Change-Id: Ibefa35e55b5e2f452329b8094f2c10dda744232f Signed-off-by: Kavya Nunna --- include/dt-bindings/iio/qti_power_supply_iio.h | 5 ++++- 1 file changed, 4 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 ce5e18add5a7..c48865098c6a 100644 --- a/include/dt-bindings/iio/qti_power_supply_iio.h +++ b/include/dt-bindings/iio/qti_power_supply_iio.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. */ #ifndef __QTI_POWER_SUPPLY_IIO_H__ @@ -148,4 +148,7 @@ #define PSY_IIO_INPUT_SUSPEND 0x78 #define PSY_IIO_PARALLEL_BATFET_MODE 0x79 #define PSY_IIO_PARALLEL_FCC_MAX 0x7a + +/* USB */ +#define PSY_IIO_MOISTURE_DETECTION_EN 0x7b #endif /* __QTI_POWER_SUPPLY_IIO_H__ */