rtc: mt6397: refine RTC_TC_MTH
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Wed, 26 May 2021 06:52:01 +0000 (14:52 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 1 Jun 2021 15:44:09 +0000 (16:44 +0100)
commitbe60652f0260c2f371670ec90f1ac55e2671f793
treefe08b3ad7d1e3c18d21ac092e19be0956c1d5d9b
parentd8570c182f56ca52c98734732fb9a331f7c23f9a
rtc: mt6397: refine RTC_TC_MTH

This patch adds RTC_TC_MTH_MASK to support new chips.

Signed-off-by: Yuchen Huang <yuchen.huang@mediatek.com>
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/rtc/rtc-mt6397.c
include/linux/mfd/mt6397/rtc.h