Skip to content

Commit 8ad1803

Browse files
committed
pmic808: support rtc power on feature.
RK817_RTC_INT_REG(0x12) Bit(3)(RTC_INT_REG) was for RTC Alarm interrupt enable or disable. Default driver will disable RTC interrupt before shutdown. Keep RTC interrupt enable then device can support RTC power on feature Change-Id: I4ac74954a9f98f4c3bd6b6121132dd55d45a1746 Signed-off-by: yi-hsin_hung <yi-hsin_hung@asus.com>
1 parent b0903b2 commit 8ad1803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/rk808.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ static void rk808_syscore_shutdown(void)
849849
(0x3 << 5), (0x3 << 5));
850850
regmap_update_bits(rk808->regmap,
851851
RK808_RTC_INT_REG,
852-
(0x3 << 2), (0x0 << 2));
852+
(0x1 << 2), (0x0 << 2));
853853
/*
854854
* For PMIC that power off supplies by write register via i2c bus,
855855
* it's better to do power off at syscore shutdown here.

0 commit comments

Comments
 (0)