linux-stable/drivers/clk/sunxi
Jens Kuske ff2bb89335 clk: sunxi: Let divs clocks read the base factor clock name from devicetree
Currently, the sunxi clock driver gets the name for the base factor clock
of divs clocks from the name field in factors_data. This prevents reusing
of the factor clock for clocks with same properties, but different name.

This commit makes the divs setup function try to get a name from
clock-output-names in the devicetree. It also removes the name field where
possible and merges the sun4i PLL5 and PLL6 clocks.

[Andre: Make temporary name allocation dynamic.]

Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2016-04-25 10:57:45 +02:00
..
clk-a10-codec.c clk: sunxi: codec clock support 2015-10-21 21:51:28 +02:00
clk-a10-hosc.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-a10-mod1.c clk: sunxi: mod1 clock should modify it's parent 2016-04-22 00:29:21 +02:00
clk-a10-pll2.c clk: sunxi: pll2: Fix clock running too fast 2015-12-02 23:27:47 -08:00
clk-a10-ve.c clk: sunxi: Add VE (Video Engine) module clock driver for sun[457]i 2015-12-08 11:05:27 +01:00
clk-a20-gmac.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-factors.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-factors.h clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-mod0.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-simple-gates.c clk: sunxi: Add apb0 gates for H3 2016-02-25 11:30:32 -08:00
clk-sun4i-pll3.c clk: sunxi: Add PLL3 clock 2016-04-22 00:29:23 +02:00
clk-sun4i-tcon-ch1.c clk: sunxi: Add TCON channel1 clock 2016-04-22 00:29:24 +02:00
clk-sun6i-apb0-gates.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-sun6i-apb0.c clk: sunxi: sun6i-apb0: Fix module autoload for OF platform driver 2015-09-16 15:22:23 -07:00
clk-sun6i-ar100.c clk: sunxi: don't mark sun6i_ar100_data __initconst 2016-02-02 18:33:25 +01:00
clk-sun8i-apb0.c clk: sunxi: Fix sun8i-a23-apb0-clk divider flags 2016-02-16 09:47:41 +01:00
clk-sun8i-bus-gates.c clk: sunxi: add bus gates for A83T 2016-02-02 14:14:24 +01:00
clk-sun8i-mbus.c clk: sunxi: Remove use of variable length array 2016-03-15 15:15:27 -07:00
clk-sun9i-core.c clk: sunxi: Remove clk_register_clkdev calls 2016-02-11 20:05:47 +01:00
clk-sun9i-cpus.c clk: sunxi: Add sun9i A80 cpus (cpu special) clock support 2015-12-01 14:06:47 +01:00
clk-sun9i-mmc.c clk: sunxi: Use resource_size 2016-04-22 00:29:22 +02:00
clk-sunxi.c clk: sunxi: Let divs clocks read the base factor clock name from devicetree 2016-04-25 10:57:45 +02:00
clk-usb.c clk: sunxi: usb: Sort clk providers by chip family and name 2016-01-25 10:26:03 +01:00
Makefile clk: sunxi: Add TCON channel1 clock 2016-04-22 00:29:24 +02:00