1. 19 Feb, 2016 2 commits
    • Stephen Boyd's avatar
      Merge branch 'clk-fixes' into clk-next · 6a05d862
      Stephen Boyd authored
      * clk-fixes:
        clk: gpio: Really allow an optional clock= DT property
        Revert "clk: qcom: Specify LE device endianness"
      6a05d862
    • Stephen Boyd's avatar
      clk: gpio: Really allow an optional clock= DT property · 4462b4bb
      Stephen Boyd authored
      We mis-merged the original patch from Russell here and so the
      patch went almost all the way, except that we still failed to
      probe when there wasn't a clocks property in the DT node. Allow
      that case by making a negative value from
      of_clk_get_parent_count() into "no parents", like the original
      patch did.
      
      Fixes: 7ed88aa2 ("clk: fix clk-gpio.c with optional clock= DT property")
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      4462b4bb
  2. 18 Feb, 2016 1 commit
  3. 16 Feb, 2016 3 commits
  4. 15 Feb, 2016 1 commit
  5. 12 Feb, 2016 7 commits
  6. 10 Feb, 2016 4 commits
  7. 09 Feb, 2016 3 commits
  8. 08 Feb, 2016 6 commits
    • Andreas Färber's avatar
      clk: meson: Fix meson_clk_register_clks() signature type mismatch · bb473593
      Andreas Färber authored
      As preparation for arm64 based mesongxbb, which pulls in this code once
      enabling ARCH_MESON, fix a size_t vs. unsigned int type mismatch.
      The loop uses a local unsigned int variable, so adopt that type,
      matching the header.
      
      Fixes: 7a29a869 ("clk: meson: Add support for Meson clock controller")
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      Acked-by: default avatarCarlo Caione <carlo@endlessm.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      bb473593
    • Arnd Bergmann's avatar
      clk: socfpga: fix __init annotation · 60ea57a4
      Arnd Bergmann authored
      clang found a bug with the __socfpga_pll_init definition:
      
      drivers/clk/socfpga/clk-pll-a10.c:77:15: error: '__section__' attribute only applies to functions and
            global variables
      
      This moves the __init annotation to the right place so the function
      actually gets discarded.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      60ea57a4
    • Mike Looijmans's avatar
      drivers/clk/Kconfig: Move the TI CDCE chips close together · c7d5a46b
      Mike Looijmans authored
      There are two TI CDCE clock chips in this file. Move them close
      together so they're easier to find.
      
      No functional change, just cosmetic.
      Signed-off-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
      [sboyd@codeaurora.org: Alphabetize]
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      c7d5a46b
    • Mike Looijmans's avatar
      drivers/clk/Kconfig: Fix typo "Sypport" instead of "Support" · 048c58b4
      Mike Looijmans authored
      Simple cosmetic fix.
      Signed-off-by: default avatarMike Looijmans <mike.looijmans@topic.nl>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      048c58b4
    • 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
  9. 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
  10. 04 Feb, 2016 3 commits
  11. 02 Feb, 2016 7 commits