• Linus Torvalds's avatar
    Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 2fcd8f10
    Linus Torvalds authored
    Pull more clk updates from Stephen Boyd:
     "This is the final part of the clk patches for this merge window.
    
      The clk rate range series needed another week to fully bake. Maxime
      fixed the bug that broke clk notifiers and prevented this from being
      included in the first pull request. He also added a unit test on top
      to make sure it doesn't break so easily again. The majority of the
      series fixes up how the clk_set_rate_*() APIs work, particularly
      around when the rate constraints are dropped and how they move around
      when reparenting clks. Overall it's a much needed improvement to the
      clk rate range APIs that used to be pretty broken if you looked
      sideways.
    
      Beyond the core changes there are a few driver fixes for a compilation
      issue or improper data causing clks to fail to register or have the
      wrong parents. These are good to get in before the first -rc so that
      the system actually boots on the affected devices"
    
    * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (31 commits)
      clk: tegra: Fix Tegra PWM parent clock
      clk: at91: fix the build with binutils 2.27
      clk: qcom: gcc-msm8660: Drop hardcoded fixed board clocks
      clk: mediatek: clk-mux: Add .determine_rate() callback
      clk: tests: Add tests for notifiers
      clk: Update req_rate on __clk_recalc_rates()
      clk: tests: Add missing test case for ranges
      clk: qcom: clk-rcg2: Take clock boundaries into consideration for gfx3d
      clk: Introduce the clk_hw_get_rate_range function
      clk: Zero the clk_rate_request structure
      clk: Stop forwarding clk_rate_requests to the parent
      clk: Constify clk_has_parent()
      clk: Introduce clk_core_has_parent()
      clk: Switch from __clk_determine_rate to clk_core_round_rate_nolock
      clk: Add our request boundaries in clk_core_init_rate_req
      clk: Introduce clk_hw_init_rate_request()
      clk: Move clk_core_init_rate_req() from clk_core_round_rate_nolock() to its caller
      clk: Change clk_core_init_rate_req prototype
      clk: Set req_rate on reparenting
      clk: Take into account uncached clocks in clk_set_rate_range()
      ...
    2fcd8f10
clk.c 133 KB