From: 张晴 Date: Fri, 18 Jan 2013 08:09:26 +0000 (+0800) Subject: rk3168_tb:support rtc_hym8563 X-Git-Tag: firefly_0821_release~7891 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f494d4ebdf61c973b267c1636d4c5abeeeefce16;p=firefly-linux-kernel-4.4.55.git rk3168_tb:support rtc_hym8563 --- diff --git a/arch/arm/configs/rk3168_tb_defconfig b/arch/arm/configs/rk3168_tb_defconfig old mode 100644 new mode 100755 index 02935785c9ce..70af2c4fc7c0 --- a/arch/arm/configs/rk3168_tb_defconfig +++ b/arch/arm/configs/rk3168_tb_defconfig @@ -402,6 +402,7 @@ CONFIG_SWITCH_GPIO=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_WM831X=y CONFIG_TPS65910_RTC=y +CONFIG_RTC_HYM8563=y CONFIG_STAGING=y CONFIG_ANDROID=y CONFIG_ANDROID_BINDER_IPC=y diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index aabe16d0123f..063ac07979d5 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -1649,6 +1649,15 @@ static struct i2c_board_info __initdata i2c1_info[] = { .platform_data=&act8846_data, }, #endif +#if defined (CONFIG_RTC_HYM8563) + { + .type = "rtc_hym8563", + .addr = 0x51, + .flags = 0, + .irq = RK30_PIN1_PA4, + }, +#endif + }; #endif