diff options
author | 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> | 2020-07-25 08:11:36 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-07-28 04:17:52 +0300 |
commit | 82df5b7329aaeb21b3e8fc86fa2d62a3d68602aa (patch) | |
tree | 1691bee97f203a4f045d13376f2aadc2274f26b6 /drivers/clk/clk-fixed-rate.c | |
parent | acb3b78de3f7698724e59719fbe50b8c92928e83 (diff) | |
download | linux-82df5b7329aaeb21b3e8fc86fa2d62a3d68602aa.tar.xz |
clk: Ingenic: Add RTC related clocks for Ingenic SoCs.
The RTC unit in the Ingenic SoCs has two clock sources, one
is from an external 32.768kHz clock, and the other is from an
external 24MHz/48MHz main clock that is divided by 512. The
choice of these two clocks is controlled by the ERCS bit in
the OPCR register. The RNG unit will also use this clock.
Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20200725051136.58220-4-zhouyanjie@wanyeetech.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-fixed-rate.c')
0 files changed, 0 insertions, 0 deletions