1. 16 Nov, 2016 7 commits
  2. 15 Nov, 2016 4 commits
  3. 14 Nov, 2016 2 commits
  4. 11 Nov, 2016 7 commits
  5. 10 Nov, 2016 5 commits
  6. 09 Nov, 2016 3 commits
  7. 08 Nov, 2016 3 commits
  8. 05 Nov, 2016 3 commits
  9. 04 Nov, 2016 6 commits
    • Paul Gortmaker's avatar
      clk: ti: make clk-dra7-atl explicitly non-modular · 172ff5a2
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      arch/arm/mach-omap2/Kconfig:config SOC_DRA7XX
      arch/arm/mach-omap2/Kconfig:    bool "TI DRA7XX"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tags etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Tero Kristo <t-kristo@ti.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: linux-omap@vger.kernel.org
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      172ff5a2
    • Paul Gortmaker's avatar
      clk: tegra: make clk-tegra124-dfll-fcpu explicitly non-modular · 33996b02
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      arch/arm/mach-tegra/Kconfig:config ARCH_TEGRA_124_SOC
      arch/arm/mach-tegra/Kconfig:    bool "Enable support for Tegra124 family"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_init translates to device_initcall in the non-modular
      case, the init ordering remains unchanged with this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tags etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Alexandre Courbot <gnurou@gmail.com>
      Cc: Aleksandr Frid <afrid@nvidia.com>
      Cc: Paul Walmsley <pwalmsley@nvidia.com>
      Cc: linux-clk@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      33996b02
    • Paul Gortmaker's avatar
      clk: mvebu: make ap806-system-controller explicitly non-modular · 188e8719
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/clk/mvebu/Kconfig:config ARMADA_AP806_SYSCON
      drivers/clk/mvebu/Kconfig:      bool
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      188e8719
    • Paul Gortmaker's avatar
      clk: mvebu: make cp110-system-controller explicitly non-modular · 7acf751e
      Paul Gortmaker authored
      The Kconfig currently controlling compilation of this code is:
      
      drivers/clk/mvebu/Kconfig:config ARMADA_CP110_SYSCON
      drivers/clk/mvebu/Kconfig:      bool
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the modular code that is essentially orphaned, so that
      when reading the driver there is no doubt it is builtin-only.
      
      We explicitly disallow a driver unbind, since that doesn't have a
      sensible use case anyway, and it allows us to drop the ".remove"
      code for non-modular drivers.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      is already contained at the top of the file in the comments.
      
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      7acf751e
    • Robert Jarzmik's avatar
      clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq · 9fe69429
      Robert Jarzmik authored
      This is the initial stage to transfer the pxa25x and pxa27x CPU clocks
      handling from cpufreq to the clock API. More precisely, the clocks
      transferred are :
       - cpll : core pll, known also as the CPU core turbo frequency
       - core : core, known also as the CPU actual frequency, being either the
                CPU core turbo frequency or the CPU core run frequency
      
      This transfer is a prequel to shrink the code in pxa2xx-cpufreq.c, so
      that it can become, at least in devicetree builds, the casual cpufreq-dt
      driver.
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      9fe69429
    • Stéphan Rafin's avatar
      clk: sunxi: Fix M factor computation for APB1 · ac95330b
      Stéphan Rafin authored
      commit cfa63688 ("clk: sunxi: factors: Consolidate get_factors
      parameters into a struct") introduced a regression for m factor
      computation in sun4i_get_apb1_factors function.
      
      The old code reassigned the "parent_rate" parameter to the targeted
      divisor value and was buggy for the returned frequency but not for the
      computed factors. Now, returned frequency is good but m factor is
      incorrectly computed (its max value 31 is always set resulting in a
      significantly slower frequency than the requested one...)
      
      This patch simply restores the original proper computation for m while
      keeping the good changes for returned rate.
      
      Fixes: cfa63688 ("clk: sunxi: factors: Consolidate get_factors parameters into a struct")
      Signed-off-by: default avatarStéphan Rafin <stephan@soliotek.com>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
      ac95330b