Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

clk: si5351: Do not pass struct clk in platform_data

When registering clk-si5351 by platform_data, we should not pass struct clk
for the reference clocks. Drop struct clk from platform_data and rework the
driver to use devm_clk_get of named clock references.

While at it, check for at least one valid input clock and properly prepare/
enable valid reference clocks.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reported-by: Michael Welling <mwelling@ieee.org>
Reported-by: Jean-Francois Moine <moinejf@free.fr>
Reported-by: Russell King <rmk+linux@arm.linux.org.uk>
Tested-by: Michael Welling <mwelling@ieee.org>
Tested-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
latest commit 0cd3be6e9a
@shesselba shesselba authored mturquette committed
..
Failed to load latest commit information.
at91 Merge tag 'clk-for-linus-4.1' of git://git.kernel.org/pub/scm/linux/k…
bcm clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
berlin clk: berlin: bg2q: remove non-exist "smemc" gate clock
hisilicon clk: don't use __initconst for non-const arrays
keystone clk: keystone: gate: fix clk_init_data initialization
mmp clk: Add rate constraints to clocks
mvebu
mxs clk: don't use __initconst for non-const arrays
pistachio CLK: Pistachio: Register external clock gates
pxa clk: don't use __initconst for non-const arrays
qcom clk: qcom: Fix MSM8916 gfx3d_clk_src configuration
rockchip clk: don't use __initconst for non-const arrays
samsung clk: exynos5420: Restore GATE_BUS_TOP on suspend
shmobile ARM: shmobile: r8a7778: common clock framework CPG driver
sirf clk: sirf: update copyright years to 2014
socfpga Merge tag 'socfpga-clk-update-for-v3.16' of git://git.rocketboards.or…
spear Merge branch 'clk-fixes' into clk-next
st clk: constify of_device_id array
sunxi clk: sunxi: Add pll6 / 4 clock output to sun4i-a10-pll6
tegra
ti clk: don't use __initconst for non-const arrays
ux500 clk: ux500: Drop use of clk-private.h
versatile clk: versatile: test returned value
x86 clk: x86: drop owner assignment from platform_drivers
zynq clk: don't use __initconst for non-const arrays
Kconfig clk: Add PWM clock driver
Makefile Merge tag 'clk-for-linus-4.1' of git://git.kernel.org/pub/scm/linux/k…
clk-asm9260.c ARM: clk: add clk-asm9260 driver
clk-axi-clkgen.c clk: Remove .owner field for driver
clk-axm5516.c clk: drop owner assignment from platform_drivers
clk-bcm2835.c ARM: bcm2835: remove custom .init_time hook
clk-cdce706.c clk: cdce706: Constify struct regmap_config
clk-clps711x.c clk: Add CLPS711X clk driver
clk-composite.c clk: Replace explicit clk assignment with __clk_hw_set_clk
clk-conf.c clk: Replace of_clk_get_by_clkspec() with of_clk_get_from_provider()
clk-devres.c ARM: 7537/1: clk: Fix release in devm_clk_put()
clk-divider.c clk: divider: fix calculation of initial best divider when rounding t…
clk-efm32gg.c clk/efm32gg: fix dt init prototype
clk-fixed-factor.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
clk-fixed-rate.c
clk-fractional-divider.c clk: fractional-divider: support for divider bypassing
clk-gate.c clk-gate: fix bit # check in clk_register_gate()
clk-gpio-gate.c clk: clk-gpio-gate: Fix active low
clk-highbank.c ARM: highbank: remove custom .init_time hook
clk-ls1x.c clk: ls1x: Update relationship among all clocks
clk-max-gen.c clk: Add generic driver for Maxim PMIC clocks
clk-max-gen.h clk: Add generic driver for Maxim PMIC clocks
clk-max77686.c clk: Remove .owner field for driver
clk-max77802.c clk: Remove .owner field for driver
clk-mb86s7x.c clk: Add clock driver for mb86s7x
clk-moxart.c clk: add MOXA ART SoCs clock driver
clk-mux.c clk: Add clk_unregister_{divider, gate, mux} to close memory leak
clk-nomadik.c clk: nomadik: fix multiplatform problem
clk-nspire.c clk: Add TI-Nspire clock drivers
clk-palmas.c clk: constify of_device_id array
clk-pwm.c
clk-qoriq.c clk: qoriq: Add support for the platform PLL
clk-rk808.c clk: RK808: add clkout driver for RK808
clk-s2mps11.c
clk-si5351.c clk: si5351: Do not pass struct clk in platform_data
clk-si5351.h clk: si5351: remove variant from platform_data
clk-si570.c clk: si570: Constify struct regmap_config
clk-twl6040.c clk: Remove .owner field for driver
clk-u300.c clk: u300: Terminate of match table
clk-vt8500.c clk: vt8500: Staticize vtwm_pll_ops
clk-wm831x.c clk: Remove .owner field for driver
clk-xgene.c clk: Add APM X-Gene SoC clock driver
clk.c clk: add missing lock when call clk_core_enable in clk_set_parent
clk.h clk: Replace of_clk_get_by_clkspec() with of_clk_get_from_provider()
clkdev.c clk: Replace of_clk_get_by_clkspec() with of_clk_get_from_provider()
Something went wrong with that request. Please try again.