summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLuca Ceresoli <luca@lucaceresoli.net>2021-02-26 15:28:52 +0100
committerLee Jones <lee.jones@linaro.org>2021-06-02 10:50:00 +0100
commit50e4d7a2a667353321d4315fcc025e76c4fa2a89 (patch)
treeae435572afdf4c4e83b82713130200e1861c9191 /include/linux/mfd
parent4700ef326556ed74aba188f12396740a8c1c21dd (diff)
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')
-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 */