[PATCH v6 17/17] clk: mpc512x: remove migration support workarounds

Anatolij Gustschin agust at denx.de
Sat Dec 7 21:05:15 EST 2013


On Sat, 30 Nov 2013 23:51:37 +0100
Gerhard Sittig <gsi at denx.de> wrote:

> this change removes workarounds which have become obsolete after
> migration to common clock support has completed
> - remove clkdev registration calls (compatibility clock item aliases)
>   after all peripheral drivers were adjusted for device tree based
>   clock lookup
> - remove pre-enable workarounds after all peripheral drivers were
>   adjusted to acquire their respective clock items
> 
> workarounds for these clock items get removed:  FEC (ethernet), I2C,
> PSC (UART, SPI), PSC FIFO, USB, NFC (NAND flash), VIU (video capture),
> BDLC (CAN), CAN MCLK, DIU (video output)
> 
> these clkdev registered names won't be provided any longer by the
> MPC512x platform's clock driver:  "psc%d_mclk", "mscan%d_mclk",
> "usb%d_clk", "nfc_clk", "viu_clk", "sys_clk", "ref_clk"
> 
> the pre-enable workaround for PCI remains, but depends on the presence
> of PCI related device tree nodes (disables the PCI clock in the absence
> of PCI nodes, keeps the PCI clock enabled in the presence of nodes) --
> moving clock acquisition into the peripheral driver isn't possible for
> PCI because its initialization takes place before the platform clock
> driver gets initialized, thus the clock provider isn't available then
> 
> Cc: Mike Turquette <mturquette at linaro.org>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linuxppc-dev at lists.ozlabs.org
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
>  arch/powerpc/platforms/512x/clock-commonclk.c |   50 ++++++++-----------------
>  1 file changed, 16 insertions(+), 34 deletions(-)

applied to next. Thanks!

Anatolij


More information about the Linuxppc-dev mailing list