Home
last modified time | relevance | path

Searched hist:"7 f899399541060a2888cd99ec9f15abd643b4c54" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rtc/
H A Drtc-snvs.cdiff 7f899399541060a2888cd99ec9f15abd643b4c54 Thu Dec 11 00:54:17 CET 2014 Sanchayan Maity <maitysanchayan@gmail.com> drivers/rtc/rtc-snvs: add clock support

Add clock enable and disable support for the SNVS peripheral, which is
required for using the RTC within the SNVS block.

The clock is not strictly enforced, as this would break the i.MX devices.
The clocking for the i.MX devices seems to be enabled elsewhere and
enabling RTC SNVS for Vybrid results in a crash. This patch adds the
clock support but also makes it optional so Vybrid platform can use the
clock if defined while making sure not to break i.MX.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Stefan Agner <stefan@agner.ch>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>