diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2020-03-20 09:11:01 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-03-27 09:42:18 +0000 |
commit | 11027ce6f1d2a20af16b0eae3d21d3ab78089262 (patch) | |
tree | 92de5b7ffbb832fb0716e9c98d4eb7f2af951487 /drivers/mfd/rn5t618.c | |
parent | 0c81604516afc0f3aedbb4dcf8215df7e5c7ef32 (diff) | |
download | lwn-11027ce6f1d2a20af16b0eae3d21d3ab78089262.tar.gz lwn-11027ce6f1d2a20af16b0eae3d21d3ab78089262.zip |
mfd: rn5t618: Add RTC related registers
Defines for some RTC related registers were missing, also
they were not included in the volatile register list
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rn5t618.c')
-rw-r--r-- | drivers/mfd/rn5t618.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c index b66dc4605d56..7686cc36e8c0 100644 --- a/drivers/mfd/rn5t618.c +++ b/drivers/mfd/rn5t618.c @@ -34,6 +34,8 @@ static bool rn5t618_volatile_reg(struct device *dev, unsigned int reg) case RN5T618_IR_GPF: case RN5T618_MON_IOIN: case RN5T618_INTMON: + case RN5T618_RTC_CTRL1 ... RN5T618_RTC_CTRL2: + case RN5T618_RTC_SECONDS ... RN5T618_RTC_YEAR: return true; default: return false; |