diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2014-12-10 15:54:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 17:41:16 -0800 |
commit | 7f899399541060a2888cd99ec9f15abd643b4c54 (patch) | |
tree | e4227adab66dee9b2a019bad7e69224f7dbb32e0 /drivers/rtc/rtc-ab8500.c | |
parent | 094d3ee3ce8c30756446518cc1895b6bbbca12ef (diff) | |
download | linux-7f899399541060a2888cd99ec9f15abd643b4c54.tar.gz linux-7f899399541060a2888cd99ec9f15abd643b4c54.tar.bz2 linux-7f899399541060a2888cd99ec9f15abd643b4c54.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-ab8500.c')
0 files changed, 0 insertions, 0 deletions