summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2020-10-27 12:41:32 +0300
committerLee Jones <lee.jones@linaro.org>2020-11-19 11:34:22 +0300
commitf594d01bb4aff35dc582f5418e6823f79e28834b (patch)
tree3ec2d734db41c1c080d544f11dca4eaf94d34565 /include/linux/mfd
parent1cd7b935d298c6497581f86c3f74d2d2be54f294 (diff)
downloadlinux-f594d01bb4aff35dc582f5418e6823f79e28834b.tar.xz
mfd: madera: Add special errata reset handling for cs47l15
An errata exists for cs47l15 where the reset must be handled differently and removed before DCVDD is applied. A soft reset is used for situations where a reset is required to reset state. This does however, make this part unsuitable for DCVDD supplies with a rise time greater than 2mS. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/madera/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/madera/core.h b/include/linux/mfd/madera/core.h
index ad2c138105d4..03a8a788424a 100644
--- a/include/linux/mfd/madera/core.h
+++ b/include/linux/mfd/madera/core.h
@@ -186,6 +186,7 @@ struct madera {
struct regulator_bulk_data core_supplies[MADERA_MAX_CORE_SUPPLIES];
struct regulator *dcvdd;
bool internal_dcvdd;
+ bool reset_errata;
struct madera_pdata pdata;