16 Apr, 2016

1 commit


02 Dec, 2015

1 commit

  • The mmp clock drivers currently hardcode the physical addresses for
    the clock registers. This is generally a bad idea, and it also gets in
    the way of multiplatform builds, which make the platform header files
    inaccessible to device drivers.

    To work around the header file problem, this patch changes the calling
    convention so the three mmp clock drivers get initialized with the base
    addresses as arguments from the platform code.

    It would still be useful to have a larger rework of the clock drivers,
    with DT integration to let the clocks actually be probed automatically,
    and the base addresses passed as DT properties. I am unsure if anyone
    is still interested in the mmp platform, so it is possible that this
    won't happen.

    Signed-off-by: Arnd Bergmann
    Cc: Mike Turquette
    Cc: Chao Xie
    Cc: Eric Miao
    Cc: Haojian Zhuang

    Arnd Bergmann
     

13 Nov, 2014

2 commits


20 Aug, 2013

1 commit

  • Add a CLK_SET_RATE_NO_REPARENT clock flag, which will prevent muxes
    being reparented during clk_set_rate.

    To avoid breaking existing platforms, all callers of clk_register_mux()
    are adjusted to pass the new flag. Platform maintainers are encouraged
    to remove the flag if they wish to allow mux reparenting on set_rate.

    Signed-off-by: James Hogan
    Reviewed-by: Stephen Boyd
    Cc: Mike Turquette
    Cc: Russell King
    Cc: Sascha Hauer
    Cc: Stephen Warren
    Cc: Viresh Kumar
    Cc: Kukjin Kim
    Cc: Haojian Zhuang
    Cc: Chao Xie
    Cc: Arnd Bergmann
    Cc: "Emilio López"
    Cc: Gregory CLEMENT
    Cc: Maxime Ripard
    Cc: Prashant Gaikwad
    Cc: Thierry Reding
    Cc: Peter De Schrijver
    Cc: Pawel Moll
    Cc: Catalin Marinas
    Cc: Andrew Chew
    Cc: Doug Anderson
    Cc: Heiko Stuebner
    Cc: Paul Walmsley
    Cc: Sylwester Nawrocki
    Cc: Thomas Abraham
    Cc: Tomasz Figa
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-samsung-soc@vger.kernel.org
    Cc: spear-devel@list.st.com
    Cc: linux-tegra@vger.kernel.org
    Tested-by: Haojian Zhuang
    Acked-by: Stephen Warren [tegra]
    Acked-by: Maxime Ripard [sunxi]
    Acked-by: Sören Brinkmann [Zynq]
    Signed-off-by: Mike Turquette

    James Hogan
     

11 Apr, 2013

1 commit


29 Aug, 2012

1 commit