1. 06 May, 2016 4 commits
    • Andy Gross's avatar
      clk: qcom: msm8916: Fix crypto clock flags · 2a0974aa
      Andy Gross authored
      This patch adds the CLK_SET_RATE_PARENT flag for the crypto core and
      ahb blocks.  Without this flag, clk_set_rate can fail for certain
      frequency requests.
      Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
      Fixes: 3966fab8 ("clk: qcom: Add MSM8916 Global Clock Controller support")
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      2a0974aa
    • Stephen Boyd's avatar
      Merge tag 'imx-clk-4.7-2' of... · 3cdaeb7d
      Stephen Boyd authored
      Merge tag 'imx-clk-4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into clk-next
      
      Pull i.MX clk updates from Shawn Guo:
      
       - Update clk-pllv3 driver to get it return correct frequency for
         Ethernet PLL on i.MX7D.
       - Correct ahb clock mux settings for i.MX7D per latest hardware
         document.
      
      * tag 'imx-clk-4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        clk: imx7d: fix ahb clock mux 1
        clk: imx: return correct frequency for Ethernet PLL
      3cdaeb7d
    • Stephen Boyd's avatar
      clk: nxp: lpc18xx: Initialize clk_init_data::flags to 0 · a4447235
      Stephen Boyd authored
      Failure to initialize this flag to 0 by default can result in
      stack junk filling the clk_init_data structure and weird things
      happen. Joachim noticed that the critical clk feature started
      triggering for these clks causing boot failures, when it really
      shouldn't have happened:
      
      BUG: scheduling while atomic: swapper/0/0x00000002
      CPU: 0 PID: 0 Comm: swapper Not tainted
      4.6.0-rc6-next-20160505-00001-g5c8320450d1c #826
      Hardware name: NXP LPC18xx/43xx (Device Tree)
      [<2800be81>] (unwind_backtrace) from [<2800b22f>] (show_stack+0xb/0xc)
      [<2800b22f>] (show_stack) from [<2801ea21>] (__schedule_bug+0x2d/0x44)
      [<2801ea21>] (__schedule_bug) from [<281dc937>] (__schedule+0x3b/0x268)
      [<281dc937>] (__schedule) from [<281dcbbb>] (schedule+0x57/0x64)
      [<281dcbbb>] (schedule) from [<281de8ef>] (schedule_timeout+0xfb/0x120)
      [<281de8ef>] (schedule_timeout) from [<28030fcd>] (msleep+0xf/0x12)
      [<28030fcd>] (msleep) from [<28165a6d>] (clk_creg_32k_prepare+0x1f/0x24)
      [<28165a6d>] (clk_creg_32k_prepare) from [<281620d5>]
      (clk_core_prepare+0x1d/0x36)
      [<281620d5>] (clk_core_prepare) from [<2816340b>] (clk_register+0x22f/0x318)
      [<2816340b>] (clk_register) from [<282b06c9>] (lpc18xx_creg_clk_init+0x55/0x84)
      [<282b06c9>] (lpc18xx_creg_clk_init) from [<282b0149>] (of_clk_init+0xc1/0x12c)
      [<282b0149>] (of_clk_init) from [<282a665d>] (time_init+0x15/0x20)
      [<282a665d>] (time_init) from [<282a457d>] (start_kernel+0x169/0x274)
      [<282a457d>] (start_kernel) from [<28008025>] (0x28008025)
      bad: scheduling from the idle thread!
      CPU: 0 PID: 0 Comm: swapper Tainted: G W
      4.6.0-rc6-next-20160505-00001-g5c8320450d1c #826
      
      Fix this by initializing the flags member to 0.
      Acked-by: default avatarJoachim Eastwood <manabian@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      a4447235
    • Jose Abreu's avatar
      clk/axs10x: Add I2S PLL clock driver · 923587aa
      Jose Abreu authored
      The ARC SDP I2S clock can be programmed using a
      specific PLL.
      
      This patch has the goal of adding a clock driver
      that programs this PLL.
      
      At this moment the rate values are hardcoded in
      a table but in the future it would be ideal to
      use a function which determines the PLL values
      given the desired rate.
      Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      923587aa
  2. 03 May, 2016 4 commits
  3. 02 May, 2016 2 commits
    • Stephen Boyd's avatar
      Merge tag 'tegra-for-4.7-clk' of... · 5bc75324
      Stephen Boyd authored
      Merge tag 'tegra-for-4.7-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-next
      
      Pull tegra clk driver changes from Thierry Reding:
      
      This set of changes contains a bunch of cleanups and minor fixes along
      with some new clocks, mainly on Tegra210, in preparation for supporting
      DisplayPort and HDMI 2.0.
      
      * tag 'tegra-for-4.7-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        clk: tegra: dfll: Reformat CVB frequency table
        clk: tegra: dfll: Properly clean up on failure and removal
        clk: tegra: dfll: Make code more comprehensible
        clk: tegra: dfll: Reference CVB table instead of copying data
        clk: tegra: dfll: Update kerneldoc
        clk: tegra: Fix PLL_U post divider and initial rate on Tegra30
        clk: tegra: Initialize PLL_C to sane rate on Tegra30
        clk: tegra: Fix pllre Tegra210 and add pll_re_out1
        clk: tegra: Add sor_safe clock
        clk: tegra: dpaux and dpaux1 are fixed factor clocks
        clk: tegra: Add dpaux1 clock
        clk: tegra: Use correct parent for dpaux clock
        clk: tegra: Add fixed factor peripheral clock type
        clk: tegra: Special-case mipi-cal parent on Tegra114
        clk: tegra: Remove trailing blank line
        clk: tegra: Constify peripheral clock registers
        clk: tegra: Add interface to enable hardware control of SATA/XUSB PLLs
      5bc75324
    • Stephen Boyd's avatar
      Merge tag 'v4.7-rockchip-clk3' of... · 5569aedf
      Stephen Boyd authored
      Merge tag 'v4.7-rockchip-clk3' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next
      
      Pull rockchip clk updates from Heiko Stuebner:
      
      A spelling fix and a bunch of rk3399 clock fixes.
      
      * tag 'v4.7-rockchip-clk3' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        clk: rockchip: fix the rk3399 cifout clock
        clk: rockchip: drop unnecessary CLK_IGNORE_UNUSED flags from rk3399
        clk: rockchip: add some frequencies on the rk3399 PLL table
        clk: rockchip: assign more necessary rk3399 clock ids
        clk: rockchip: export some necessary rk3399 clock ids
        clk: rockchip: rename rga clock-id on rk3399
        clk: rockchip: add general gpu soft-reset on rk3399
        clk: rockchip: fix the gate bit for i2c4 and i2c8 on rk3399
        clk: rockchip: fix of spelling mistake on unsuccessful in pll clock type
      5569aedf
  4. 28 Apr, 2016 21 commits
  5. 27 Apr, 2016 1 commit
  6. 26 Apr, 2016 2 commits
  7. 25 Apr, 2016 6 commits