linux_dsm_epyc7002/drivers/clk/sunxi-ng
Chen-Yu Tsai 8916d3fc3a clk: sunxi-ng: h6: Use local parent references for CLK_FIXED_FACTOR
With the new clk parenting code and CLK_FIXED_FACTOR_{HW,FW_NAME}
macros, we can reference parents locally via pointers to struct clk_hw
or DT clock-names.

Convert existing CLK_FIXED_FACTOR definitions to either the _HW or
_FW_NAME variant based on whether the parent clock is internal or
external to the CCU.

A forward declaration for struct clk_fixed_factor pll_periph0_4x_clk
is added as the definitions of the fixed factor clocks appear much later
in the file. The position of fixed factor clock definitions will be
moved for all drivers at a later time, before the conversion of all
other clock types.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2019-06-22 10:13:16 +08:00
..
ccu_common.c clk: sunxi-ng: switch to of_clk_hw_register() for registering clks 2019-06-18 19:39:00 +08:00
ccu_common.h clk: move clock common macros out from vendor directories 2017-12-21 15:00:38 -08:00
ccu_div.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_div.h clk: sunxi-ng: div: Add support for fixed post-divider 2017-08-14 22:31:46 +08:00
ccu_frac.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_frac.h clk: sunxi-ng: Wait for lock when using fractional mode 2017-08-01 10:18:23 +08:00
ccu_gate.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_gate.h
ccu_mmc_timing.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_mp.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_mp.h clk: sunxi-ng: Support fixed post-dividers on MP style clocks 2017-12-07 10:09:44 +01:00
ccu_mult.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_mult.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccu_mux.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_mux.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccu_nk.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_nk.h
ccu_nkm.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_nkm.h clk: sunxi-ng: nkm: add support for fixed post-divider 2017-08-14 22:45:06 +08:00
ccu_nkmp.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_nkmp.h clk: sunxi-ng: nkmp: Add constraint for maximum rate 2018-08-27 09:18:10 +02:00
ccu_nm.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_nm.h clk: sunxi-ng: Add maximum rate constraint to NM PLLs 2018-08-27 09:18:01 +02:00
ccu_phase.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_phase.h
ccu_reset.c clk: sunxi-ng: Implement reset control status readback 2017-09-26 11:13:03 +02:00
ccu_reset.h
ccu_sdm.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu_sdm.h clk: sunxi-ng: Add sigma-delta modulation support 2017-10-13 09:27:06 +02:00
ccu-sun4i-a10.c clk: sunxi-ng: a10: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:00 +08:00
ccu-sun4i-a10.h clk: sunxi-ng: sun4i: Export video PLLs 2017-10-17 19:32:16 +02:00
ccu-sun5i.c clk: sunxi-ng: sun5i: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:01 +08:00
ccu-sun5i.h clk: sunxi-ng: sun5i: Export the MBUS clock 2019-04-10 16:33:01 +02:00
ccu-sun6i-a31.c clk: sunxi-ng: a31: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:01 +08:00
ccu-sun6i-a31.h clk: sunxi-ng: sun6i: Export video PLLs 2017-09-29 10:46:10 +02:00
ccu-sun8i-a23-a33.h
ccu-sun8i-a23.c clk: sunxi-ng: a23: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:01 +08:00
ccu-sun8i-a33.c clk: sunxi-ng: a33: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:01 +08:00
ccu-sun8i-a83t.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu-sun8i-a83t.h
ccu-sun8i-de2.c clk: sunxi-ng: Add support for H6 DE3 clocks 2018-11-05 10:22:50 +01:00
ccu-sun8i-de2.h clk: sunxi-ng: Add support for H6 DE3 clocks 2018-11-05 10:22:50 +01:00
ccu-sun8i-h3.c clk: sunxi-ng: h3: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:02 +08:00
ccu-sun8i-h3.h clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO 2018-03-02 08:42:30 +01:00
ccu-sun8i-r40.c clk: sunxi-ng: r40: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:03 +08:00
ccu-sun8i-r40.h clk: sunxi-ng: r40: Export video PLLs 2018-06-27 19:06:56 +02:00
ccu-sun8i-r.c clk: sunxi-ng: sun8i-r: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:03 +08:00
ccu-sun8i-r.h clk: sunxi-ng: Fix header guard of ccu-sun8i-r.h 2017-07-27 16:53:47 +02:00
ccu-sun8i-v3s.c clk: sunxi-ng: v3s: Use local parent references for CLK_FIXED_FACTOR 2019-06-18 19:39:03 +08:00
ccu-sun8i-v3s.h
ccu-sun9i-a80-de.c
ccu-sun9i-a80-de.h
ccu-sun9i-a80-usb.c
ccu-sun9i-a80-usb.h
ccu-sun9i-a80.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
ccu-sun9i-a80.h
ccu-sun50i-a64.c clk: sunxi-ng: a64: Use local parent references for CLK_FIXED_FACTOR 2019-06-22 10:13:16 +08:00
ccu-sun50i-a64.h dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro 2018-09-05 09:19:59 +02:00
ccu-sun50i-h6-r.c clk: sunxi-ng: add support for H6 PRCM CCU 2018-05-04 17:05:46 +02:00
ccu-sun50i-h6-r.h clk: sunxi-ng: add support for H6 PRCM CCU 2018-05-04 17:05:46 +02:00
ccu-sun50i-h6.c clk: sunxi-ng: h6: Use local parent references for CLK_FIXED_FACTOR 2019-06-22 10:13:16 +08:00
ccu-sun50i-h6.h clk: sunxi-ng: Use the correct style for SPDX License Identifier 2019-05-01 13:01:26 -07:00
ccu-suniv-f1c100s.c clk: sunxi-ng: f1c100s: Use local parent references for CLK_FIXED_FACTOR 2019-06-22 10:13:16 +08:00
ccu-suniv-f1c100s.h clk: sunxi-ng: Use the correct style for SPDX License Identifier 2019-05-01 13:01:26 -07:00
Kconfig clk: sunxi-ng: add support for suniv F1C100s SoC 2018-12-04 08:41:13 +01:00
Makefile clk: sunxi-ng: add support for suniv F1C100s SoC 2018-12-04 08:41:13 +01:00