02 Jul, 2016

1 commit

  • The only way for a fixed factor clock to change its rate would be to change
    its parent rate.

    Since passing blindly CLK_SET_RATE_PARENT might break a lot of platforms
    that were relying on the fact that the parent rate wouldn't change,
    introduce a compatible-based whitelist that will allow clocks to opt-in
    that flag.

    Signed-off-by: Maxime Ripard
    Acked-by: Rob Herring
    Signed-off-by: Stephen Boyd

    Maxime Ripard
     

01 Jul, 2016

20 commits


30 Jun, 2016

2 commits

  • * clk-notify:
    clk: Provide notifier stubs when !COMMON_CLK

    Stephen Boyd
     
  • …el/git/geert/renesas-drivers into clk-next

    Pull second batch of Renesas clk driver updates from Geert
    Uytterhoeven:

    - Add support for R-Car V2H,
    - Add FDP1, DRIF, and thermal clocks on R-Car H3,
    - Correct a wrong parent clock.

    * tag 'clk-renesas-for-v4.8-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers:
    clk: renesas: r8a7795: Add THS/TSC clock
    clk: renesas: r8a7795: Add DRIF clock
    clk: renesas: r8a7795: Correct lvds clock parent
    clk: renesas: r8a7795: Provide FDP1 clocks
    clk: renesas: Add R8A7792 support
    clk: renesas: mstp: Document R8A7792 support
    clk: renesas: rcar-gen2: Document R8A7792 support

    Stephen Boyd
     

29 Jun, 2016

3 commits

  • The clk notifier symbols are hidden by COMMON_CLK. However on some
    platforms HAVE_CLK might be set while COMMON_CLK not which leads to
    compile test build errors like:

    $ make.cross ARCH=sh
    drivers/devfreq/tegra-devfreq.c: In function 'tegra_actmon_rate_notify_cb':
    >> drivers/devfreq/tegra-devfreq.c:391:16: error: 'POST_RATE_CHANGE' undeclared (first use in this function)
    if (action != POST_RATE_CHANGE)
    ^
    drivers/devfreq/tegra-devfreq.c: In function 'tegra_devfreq_probe':
    >> drivers/devfreq/tegra-devfreq.c:654:8: error: implicit declaration of function 'clk_notifier_register' [-Werror=implicit-function-declaration]
    err = clk_notifier_register(tegra->emc_clock, &tegra->rate_change_nb);
    ^

    Export the macros and data type declarations outside of COMMON_CLK ifdef
    and provide stubs to fix the compile testing.

    Reported-by: kbuild test robot
    Signed-off-by: Krzysztof Kozlowski
    Tested-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Stephen Boyd

    Krzysztof Kozlowski
     
  • …el/git/geert/renesas-drivers into clk-next

    Pull support for Renesas R-car M3-W from Geert Uytterhoeven:

    Add initial support for the Clock Pulse Generator and Module Standby and
    Software Reset modules on the Renesas R-Car M3-W SoC:
    - Basic core clocks,
    - SCIF2 (console) module clock,
    - INTC-AP (GIC) module clock.

    * tag 'clk-renesas-for-v4.8-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers:
    clk: renesas: cpg-mssr: Add support for R-Car M3-W
    clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code
    clk: renesas: Add r8a7796 CPG Core Clock Definitions
    clk: renesas: cpg-mssr: Document r8a7796 support

    Stephen Boyd
     
  • This clk is critical to operation of the SoC and should never be
    turned off. Furthermore, there are no consumers of this clk so
    let's just delete it so things like eMMC work.

    Reported-by: Srinivas Kandagatla
    Fixes: b1e010c0730a ("clk: qcom: Add MSM8996 Global Clock Control (GCC) driver")
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

23 Jun, 2016

14 commits