23 Feb, 2016

1 commit

  • Convert DPLL support code to use clk_hw pointers for reference and bypass
    clocks. This allows us to use clk_hw_* APIs for accessing any required
    parameters for these clocks, avoiding some locking problems at least with
    DPLL enable code; this used clk_get_rate which uses mutex but isn't
    good under clk_enable / clk_disable.

    Signed-off-by: Tero Kristo
    Acked-by: Tony Lindgren
    Signed-off-by: Stephen Boyd

    Tero Kristo
     

21 Nov, 2015

1 commit


25 Aug, 2015

1 commit

  • Use the provider based method to get a clock's name so that we
    can get rid of the clk member in struct clk_hw one day. Mostly
    converted with the following coccinelle script.

    @@
    struct clk_hw *E;
    @@

    -__clk_get_name(E->clk)
    +clk_hw_get_name(E)

    Acked-by: Heiko Stuebner
    Cc: Sylwester Nawrocki
    Cc: Tomasz Figa
    Cc: Peter De Schrijver
    Cc: Prashant Gaikwad
    Cc: Stephen Warren
    Acked-by: Thierry Reding
    Cc: Thierry Reding
    Cc: Alexandre Courbot
    Cc: Tero Kristo
    Cc: Ulf Hansson
    Acked-by: Sebastian Hesselbarth
    Acked-by: Andrew Bresticker
    Cc: Ezequiel Garcia
    Cc: Ralf Baechle
    Cc: Kevin Cernekee
    Acked-by: Geert Uytterhoeven
    Cc: Ulrich Hecht
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-rockchip@lists.infradead.org
    Cc: linux-samsung-soc@vger.kernel.org
    Cc: linux-tegra@vger.kernel.org
    Cc: linux-omap@vger.kernel.org
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

29 Jul, 2015

2 commits

  • * cleanup-clk-h-includes: (62 commits)
    clk: Remove clk.h from clk-provider.h
    clk: h8300: Remove clk.h and clkdev.h includes
    clk: at91: Include clk.h and slab.h
    clk: ti: Switch clk-provider.h include to clk.h
    clk: pistachio: Include clk.h
    clk: ingenic: Include clk.h
    clk: si570: Include clk.h
    clk: moxart: Include clk.h
    clk: cdce925: Include clk.h
    clk: Include clk.h in clk.c
    clk: zynq: Include clk.h
    clk: ti: Include clk.h
    clk: sunxi: Include clk.h and remove unused clkdev.h includes
    clk: st: Include clk.h
    clk: qcom: Include clk.h
    clk: highbank: Include clk.h
    clk: bcm: Include clk.h
    clk: versatile: Remove clk.h and clkdev.h includes
    clk: ux500: Remove clk.h and clkdev.h includes
    clk: tegra: Properly include clk.h
    ...

    Stephen Boyd
     
  • Use of_clk_parent_fill to fill in the parent clock names' array.

    Signed-off-by: Dinh Nguyen
    Cc: Tero Kristo
    Signed-off-by: Stephen Boyd

    Dinh Nguyen
     

21 Jul, 2015

1 commit


02 Jun, 2015

1 commit


25 Mar, 2015

1 commit

  • There is a case where NULL can be a valid return value for
    ti_clk_get_reg_addr, specifically the case where both the provider index
    and register offsets are zero. In this case, the current error checking
    against a NULL pointer will fail. Thus, change the API to return a
    ERR_PTR value in an error case, and change all the users of this API to
    check against IS_ERR instead.

    Signed-off-by: Tero Kristo
    Acked-by: Michael Turquette

    Tero Kristo
     

19 Jun, 2014

2 commits


28 May, 2014

1 commit


18 Jan, 2014

1 commit

  • The patch adds support for DRA7 PCIe APLL. The APLL
    sources the optional functional clocks for PCIe module.

    APLL stands for Analog PLL. This is different when comapred
    with DPLL meaning Digital PLL, the phase detection is done
    using an analog circuit.

    Signed-off-by: J Keerthy
    Signed-off-by: Tero Kristo
    Acked-by: Tony Lindgren
    Signed-off-by: Mike Turquette

    J Keerthy