1. 08 Feb, 2016 2 commits
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-next · f2626ba9
      Stephen Boyd authored
      * clk-fixes:
        clk: tegra: super: Fix sparse warnings for functions not declared as static
        clk: tegra: Fix sparse warnings for functions not declared as static
        clk: tegra: Fix sparse warning for pll_m
        clk: tegra: Use definition for pll_u override bit
        clk: tegra: Fix warning caused by pll_u failing to lock
        clk: tegra: Fix clock sources for Tegra210 EMC
        clk: tegra: Add the APB2APE audio clock on Tegra210
        clk: tegra: Add missing of_node_put()
        clk: tegra: Fix PLLE SS coefficients
        clk: tegra: Fix typos around clearing PLLE bits during enable
        clk: tegra: Do not disable PLLE when under hardware control
        clk: tegra: Fix pllx dyn step calculation
        clk: tegra: pll: Fix potential sleeping-while-atomic
        clk: tegra: Fix the misnaming of nvenc from msenc
        clk: tegra: Fix naming of MISC registers
        clk: tegra: Remove improper flags for lock_enable
        clk: tegra: Fix divider on VI_I2C
      f2626ba9
    • Stephen Boyd's avatar
      Merge tag 'tegra-for-4.5-clk-fixes' of... · 0e954fea
      Stephen Boyd authored
      Merge tag 'tegra-for-4.5-clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into clk-fixes
      
      Pull tegra fixes from Thierry Reding:
      
      clk: tegra: Fixes for v4.5-rc3
      
      This set contains a bunch of miscellaneous fixes that have accumulated
      over the past couple of weeks, primarily for the Tegra210 support added
      in v4.5-rc1.
      
      * tag 'tegra-for-4.5-clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        clk: tegra: super: Fix sparse warnings for functions not declared as static
        clk: tegra: Fix sparse warnings for functions not declared as static
        clk: tegra: Fix sparse warning for pll_m
        clk: tegra: Use definition for pll_u override bit
        clk: tegra: Fix warning caused by pll_u failing to lock
        clk: tegra: Fix clock sources for Tegra210 EMC
        clk: tegra: Add the APB2APE audio clock on Tegra210
        clk: tegra: Add missing of_node_put()
        clk: tegra: Fix PLLE SS coefficients
        clk: tegra: Fix typos around clearing PLLE bits during enable
        clk: tegra: Do not disable PLLE when under hardware control
        clk: tegra: Fix pllx dyn step calculation
        clk: tegra: pll: Fix potential sleeping-while-atomic
        clk: tegra: Fix the misnaming of nvenc from msenc
        clk: tegra: Fix naming of MISC registers
        clk: tegra: Remove improper flags for lock_enable
        clk: tegra: Fix divider on VI_I2C
      0e954fea
  2. 07 Feb, 2016 3 commits
    • Stephen Boyd's avatar
      clk: provider: Remove of_gpio_{gate,mux}_clk_setup() prototypes · 1e42754e
      Stephen Boyd authored
      These functions either never existed or were only used in
      OF_CLK_DECLARE() macros. Remove the dead prototypes.
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      1e42754e
    • Stephen Boyd's avatar
      clk: Deprecate CLK_IS_ROOT · 47b0eeb3
      Stephen Boyd authored
      We don't use CLK_IS_ROOT but in a few places in the common clk
      framework core. Let's replace those checks with a check for the
      number of parents a clk has instead of the flag, freeing up one
      flag for something else. We don't remove the flag yet so that
      things keep building, but we'll remove it once all drivers have
      removed their flag usage.
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      47b0eeb3
    • Stephen Boyd's avatar
      clk: gpio: Make into a platform driver · 14b04f28
      Stephen Boyd authored
      clk_get() for DT based clks already returns EPROBE_DEFER when the
      OF clk provider is not present. So having all this code in the
      clk provider to return EPROBE_DEFER when the gpio isn't ready yet
      can be replaced with a platform driver that doesn't add the clk
      provider until the gpio can be requested. Get rid of the
      OF_CLK_DECLARE and convert this to a platform driver instead.
      Tested-by: default avatarJyri Sarha <jsarha@ti.com>
      Cc: Sergej Sawazki <ce3a@gmx.de>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Jon Nettleton <jon@solid-run.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      14b04f28
  3. 02 Feb, 2016 33 commits
  4. 30 Jan, 2016 2 commits
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-next · 4fcad2ea
      Stephen Boyd authored
      * clk-fixes:
        clk: rockchip: rk3368: fix some clock gates
        clk: rockchip: rk3036: rename emac ext source clock
        clk: rockchip: rk3036: fix the div offset for emac clock
        clk: rockchip: rk3036: fix uarts clock error
        clk: rockchip: rk3036: fix the FLAGs for clock mux
      4fcad2ea
    • Stephen Boyd's avatar
      Merge tag 'v4.5-rockchip-clkfixes1' of... · 60c7e2d2
      Stephen Boyd authored
      Merge tag 'v4.5-rockchip-clkfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-fixes
      
      Pull rockchip fixes from Heiko Stuebner:
      
      Fixes for wrong register offsets in both rk3036 and rk3368.
      Also rename the external input for the emac on rk3036, which
      should still be ok to do, as that binding was only introduced
      during this merge-window.
      
      * tag 'v4.5-rockchip-clkfixes1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
        clk: rockchip: rk3368: fix some clock gates
        clk: rockchip: rk3036: rename emac ext source clock
        clk: rockchip: rk3036: fix the div offset for emac clock
        clk: rockchip: rk3036: fix uarts clock error
        clk: rockchip: rk3036: fix the FLAGs for clock mux
      60c7e2d2