1. 01 9月, 2017 1 次提交
  2. 31 8月, 2017 1 次提交
    • E
      ARC: clk: introduce HSDK pll driver · daeeb438
      Eugeniy Paltsev 提交于
      HSDK board manages its clocks using various PLLs. These PLL have same
      dividers and corresponding control registers mapped to different addresses.
      So we add one common driver for such PLLs.
      
      Each PLL on HSDK board consists of three dividers: IDIV, FBDIV and
      ODIV. Output clock value is managed using these dividers.
      
      We add pre-defined tables with supported rate values and appropriate
      configurations of IDIV, FBDIV and ODIV for each value.
      
      As of today we add support for PLLs that generate clock for the
      HSDK arc cpus, system, ddr, AXI tunnel and hdmi.
      
      By this patch we add support for several plls (arc cpus pll and others),
      so we had to use two different init types: CLK_OF_DECLARE for arc cpus pll
      and regular probing for others plls.
      Signed-off-by: NEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
      Reviewed-by: NVineet Gupta <vgupta@synopsys.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      daeeb438
  3. 11 7月, 2017 1 次提交
  4. 22 6月, 2017 1 次提交
  5. 15 6月, 2017 1 次提交
    • T
      clk: keystone: Add sci-clk driver support · b745c079
      Tero Kristo 提交于
      In K2G, the clock handling is done through firmware executing on a
      separate core. Linux kernel needs to communicate to the firmware
      through TI system control interface to access any power management
      related resources, including clocks.
      
      The keystone sci-clk driver does this, by communicating to the
      firmware through the TI SCI driver. The driver adds support for
      registering clocks through DT, and basic required clock operations
      like prepare/get_rate, etc.
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      [sboyd@codeaurora.org: Make ti_sci_init_clocks() static]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      b745c079
  6. 03 6月, 2017 1 次提交
    • D
      clk: add clk_bulk_get accessories · 266e4e9d
      Dong Aisheng 提交于
      These helper function allows drivers to get several clk consumers in
      one operation. If any of the clk cannot be acquired then any clks
      that were got will be put before returning to the caller.
      
      This can relieve the driver owners' life who needs to handle many clocks,
      as well as each clock error reporting.
      
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Shawn Guo <shawnguo@kernel.org>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Anson Huang <anson.huang@nxp.com>
      Cc: Robin Gong <yibin.gong@nxp.com>
      Cc: Bai Ping <ping.bai@nxp.com>
      Cc: Leonard Crestez <leonard.crestez@nxp.com>
      Cc: Octavian Purdila <octavian.purdila@nxp.com>
      Signed-off-by: NDong Aisheng <aisheng.dong@nxp.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      266e4e9d
  7. 24 5月, 2017 1 次提交
    • G
      clk: renesas: Rework Kconfig and Makefile logic · 80978a4b
      Geert Uytterhoeven 提交于
      The goals are to:
        - Allow precise control over and automatic selection of which
          (sub)drivers are used for which SoC (which may change in the
          future),
        - Allow adding support for new SoCs easily,
        - Allow compile-testing of all (sub)drivers,
        - Keep driver selection logic in the subsystem-specific Kconfig,
          independent from the architecture-specific Kconfig (i.e. no "select"
          from arch/arm64/Kconfig.platforms), to avoid dependencies.
      
      This is implemented by:
        - Introducing Kconfig symbols for all drivers and sub-drivers,
        - Introducing the Kconfig symbol CLK_RENESAS, which is enabled
          automatically when building for a Renesas ARM platform, and which
          enables all required drivers without interaction of the user, based
          on SoC-specific ARCH_* symbols,
        - Allowing the user to enable any Kconfig symbol manually if
          COMPILE_TEST is enabled,
        - Using the new Kconfig symbols instead of the ARCH_* symbols to
          control compilation in the Makefile,
        - Always entering drivers/clk/renesas/ during the build.
      
      Note that currently not all (sub)drivers are enabled for
      compile-testing, as they depend on independent fixes in other
      subsystems.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NSimon Horman <horms+renesas@verge.net.au>
      Acked-by: NStephen Boyd <sboyd@codeaurora.org>
      80978a4b
  8. 22 4月, 2017 1 次提交
  9. 27 1月, 2017 1 次提交
  10. 21 1月, 2017 1 次提交
  11. 24 9月, 2016 1 次提交
  12. 17 9月, 2016 1 次提交
  13. 16 8月, 2016 1 次提交
  14. 20 7月, 2016 1 次提交
  15. 09 7月, 2016 1 次提交
  16. 23 6月, 2016 1 次提交
  17. 13 5月, 2016 1 次提交
  18. 07 5月, 2016 1 次提交
  19. 22 4月, 2016 1 次提交
  20. 16 4月, 2016 1 次提交
  21. 02 4月, 2016 1 次提交
  22. 04 3月, 2016 1 次提交
  23. 02 3月, 2016 1 次提交
  24. 26 2月, 2016 1 次提交
  25. 30 1月, 2016 1 次提交
  26. 25 12月, 2015 1 次提交
  27. 08 12月, 2015 1 次提交
  28. 01 12月, 2015 1 次提交
  29. 17 11月, 2015 1 次提交
  30. 22 10月, 2015 2 次提交
  31. 09 10月, 2015 1 次提交
  32. 02 10月, 2015 1 次提交
  33. 28 9月, 2015 1 次提交
    • S
      clk: add support for clocks provided by SCP(System Control Processor) · cd52c2a4
      Sudeep Holla 提交于
      On some ARM based systems, a separate Cortex-M based System Control
      Processor(SCP) provides the overall power, clock, reset and system
      control. System Control and Power Interface(SCPI) Message Protocol
      is defined for the communication between the Application Cores(AP)
      and the SCP.
      
      This patch adds support for the clocks provided by SCP using SCPI
      protocol.
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      Reviewed-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Mike Turquette <mturquette@baylibre.com>
      Cc: Liviu Dudau <Liviu.Dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Jon Medhurst (Tixy) <tixy@linaro.org>
      Cc: linux-clk@vger.kernel.org
      cd52c2a4
  34. 07 7月, 2015 1 次提交
  35. 23 6月, 2015 2 次提交
  36. 22 6月, 2015 2 次提交
  37. 19 6月, 2015 1 次提交