summaryrefslogtreecommitdiff
path: root/include/linux/mfd/lp87565.h
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-02-26 17:28:52 +0300
committerLee Jones <lee.jones@linaro.org>2021-06-02 12:50:00 +0300
commit50e4d7a2a667353321d4315fcc025e76c4fa2a89 (patch)
treeae435572afdf4c4e83b82713130200e1861c9191 /include/linux/mfd/lp87565.h
parent4700ef326556ed74aba188f12396740a8c1c21dd (diff)
downloadlinux-50e4d7a2a667353321d4315fcc025e76c4fa2a89.tar.xz
mfd: lp87565: Handle optional reset pin
Optionally handle the NRST pin (active low reset) in order to start from a known state during boot and to shut down the chip when rebooting. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/lp87565.h')
-rw-r--r--include/linux/mfd/lp87565.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/lp87565.h b/include/linux/mfd/lp87565.h
index 94cb581af34b..4c895072d91b 100644
--- a/include/linux/mfd/lp87565.h
+++ b/include/linux/mfd/lp87565.h
@@ -252,5 +252,6 @@ struct lp87565 {
u8 rev;
u8 dev_type;
struct regmap *regmap;
+ struct gpio_desc *reset_gpio;
};
#endif /* __LINUX_MFD_LP87565_H */