Message ID | 1452367683-11160-1-git-send-email-sjoerd.simons@collabora.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Am Samstag, 9. Januar 2016, 20:28:02 schrieb Sjoerd Simons: > Apart from providing an RTC the hym8563 chip on some rockchip boards > (e.g. rock2 square and firefly) also provide the 32khz clock used by the > SoCs thermal sensors. > > Switch the driver from a module to builtin such that the thermal > protection can work even if modules aren't used/loaded. > > Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Personally I'm ok with the reasoning for requiring rtc to be build in, but I guess others might disagree. Nevertheless Acked-by: Heiko Stuebner <heiko@sntech.de> and we'll let armsoc-people decide ;-) . Ideally we would do the same for the rk808 rtc as well - as it is exactly the same argument / case. Heiko
Am Samstag, 9. Januar 2016, 20:33:51 schrieb Heiko Stuebner: > Am Samstag, 9. Januar 2016, 20:28:02 schrieb Sjoerd Simons: > > Apart from providing an RTC the hym8563 chip on some rockchip boards > > (e.g. rock2 square and firefly) also provide the 32khz clock used by the > > SoCs thermal sensors. > > > > Switch the driver from a module to builtin such that the thermal > > protection can work even if modules aren't used/loaded. > > > > Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> > > Personally I'm ok with the reasoning for requiring rtc to be build in, > but I guess others might disagree. Nevertheless > > Acked-by: Heiko Stuebner <heiko@sntech.de> > > and we'll let armsoc-people decide ;-) . > > > Ideally we would do the same for the rk808 rtc as well - as it is exactly > the same argument / case. just so nobody gets the wrong idea, on the rk808, the needed clkout is separate in CONFIG_COMMON_CLK_RK808, not in the rtc. Still currently build as module, so depending on if we can build-in the hym8563, we should change the rk808-clkout accordingly.
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index f6e104d..0fcb1dd 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -650,7 +650,7 @@ CONFIG_EDAC_HIGHBANK_L2=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_AS3722=y CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_HYM8563=m +CONFIG_RTC_DRV_HYM8563=y CONFIG_RTC_DRV_MAX8907=y CONFIG_RTC_DRV_MAX8997=m CONFIG_RTC_DRV_MAX77686=y
Apart from providing an RTC the hym8563 chip on some rockchip boards (e.g. rock2 square and firefly) also provide the 32khz clock used by the SoCs thermal sensors. Switch the driver from a module to builtin such that the thermal protection can work even if modules aren't used/loaded. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> --- arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)