linux/drivers/clk/ingenic
周琰杰 (Zhou Yanjie) 82df5b7329 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>
2020-07-27 18:17:52 -07:00
..
cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
cgu.h clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4725b-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4740-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4770-cgu.c clk: Ingenic: Adjust cgu code to make it compatible with X1830. 2020-05-28 16:13:15 -07:00
jz4780-cgu.c clk: Ingenic: Add RTC related clocks for Ingenic SoCs. 2020-07-27 18:17:52 -07:00
Kconfig clk: Ingenic: Add CGU driver for X1830. 2020-05-28 16:13:19 -07:00
Makefile clk: Ingenic: Add CGU driver for X1830. 2020-05-28 16:13:19 -07:00
pm.c clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
pm.h clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
tcu.c clk: ingenic: Mark ingenic_tcu_of_match as __maybe_unused 2020-05-28 16:47:02 -07:00
x1000-cgu.c clk: Ingenic: Add RTC related clocks for Ingenic SoCs. 2020-07-27 18:17:52 -07:00
x1830-cgu.c clk: Ingenic: Add RTC related clocks for Ingenic SoCs. 2020-07-27 18:17:52 -07:00