1. 28 6月, 2019 1 次提交
    • M
      clk: Add Si5341/Si5340 driver · 3044a860
      Mike Looijmans 提交于
      Adds a driver for the Si5341 and Si5340 chips. The driver does not fully
      support all features of these chips, but allows the chip to be used
      without any support from the "clockbuilder pro" software.
      
      If the chip is preprogrammed, that is, you bought one with some defaults
      burned in, or you programmed the NVM in some way, the driver will just
      take over the current settings and only change them on demand. Otherwise
      the input must be a fixed XTAL in its most basic configuration (no
      predividers, no feedback, etc.).
      
      The driver supports dynamic changes of multisynth, output dividers and
      enabling or powering down outputs and multisynths.
      Signed-off-by: NMike Looijmans <mike.looijmans@topic.nl>
      [sboyd@kernel.org: Mark some things static, use BIT_ULL for big bits and
      ULL for big constants]
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      3044a860
  2. 27 6月, 2019 2 次提交
  3. 12 6月, 2019 1 次提交
  4. 04 5月, 2019 2 次提交
  5. 24 4月, 2019 1 次提交
    • C
      clk: lochnagar: Add support for the Cirrus Logic Lochnagar · 76c54783
      Charles Keepax 提交于
      Lochnagar is an evaluation and development board for Cirrus
      Logic Smart CODEC and Amp devices. It allows the connection of
      most Cirrus Logic devices on mini-cards, as well as allowing
      connection of various application processor systems to provide a
      full evaluation platform. This driver supports the board
      controller chip on the Lochnagar board.
      
      The Lochnagar can take several input clocks from the host system,
      provides several of its own clock sources, and provides extensive
      routing options for those clocks to be supplied to the attached
      CODEC/Amp device.
      Signed-off-by: NCharles Keepax <ckeepax@opensource.cirrus.com>
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      76c54783
  6. 21 3月, 2019 1 次提交
    • M
      clk: sunxi: Add Kconfig options · 49c726d5
      Maxime Ripard 提交于
      We used to have a clock framework that isn't really used these days, except
      for a few clocks and/or SoCs. Most of the time, the new framework and
      drivers (sunxi-ng) will provide everything needed for the customer devices
      to operate properly.
      
      Since we're not needing it that much, it might make sense to disable those
      drivers, for example when we want to reduce the kernel size. Let's add
      options in Kconfig that can be disabled if needed, but are still on by
      default to keep the same features in the standard case.
      Acked-by: NStephen Boyd <sboyd@kernel.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@bootlin.com>
      49c726d5
  7. 10 1月, 2019 2 次提交
  8. 15 12月, 2018 1 次提交
  9. 14 12月, 2018 1 次提交
  10. 11 12月, 2018 1 次提交
  11. 17 10月, 2018 1 次提交
  12. 09 10月, 2018 1 次提交
  13. 07 7月, 2018 1 次提交
    • D
      clk: Add driver for MAX9485 · 33f51046
      Daniel Mack 提交于
      This patch adds a driver for MAX9485, a programmable audio clock generator.
      
      The device requires a 27.000 MHz clock input. It can provide a gated
      buffered output of its input clock and two gated outputs of a PLL that can
      generate one out of 16 discrete frequencies. There is only one PLL however,
      so the two gated outputs will always have the same frequency but they can
      be switched individually.
      
      The driver for this device exposes 4 clocks in total:
      
      - MAX9485_MCLKOUT:      A gated, buffered output of the input clock
      - MAX9485_CLKOUT:       A PLL that can be configured to 16 different
      			discrete frequencies
      - MAX9485_CLKOUT[1,2]:  Two gated outputs for MAX9485_CLKOUT
      
      Some PLL output frequencies can be achieved with different register
      settings. The driver will select the one with lowest jitter in such cases.
      Signed-off-by: NDaniel Mack <daniel@zonque.org>
      [sboyd@kernel.org: Use local variable for val in max9485_clkout_recalc_rate()
      and shorten line of max9485_of_clk_get()]
      Signed-off-by: NStephen Boyd <sboyd@kernel.org>
      33f51046
  14. 16 5月, 2018 1 次提交
  15. 07 4月, 2018 1 次提交
  16. 24 3月, 2018 1 次提交
  17. 20 3月, 2018 2 次提交
  18. 12 3月, 2018 1 次提交
  19. 01 3月, 2018 1 次提交
    • S
      clk: add support for clocks provided by SCMI · 6d6a1d82
      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 Management Interface(SCMI) 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 SCMI
      protocol.
      
      Cc: linux-clk@vger.kernel.org
      Cc: Michael Turquette <mturquette@baylibre.com>
      Acked-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
      6d6a1d82
  20. 27 1月, 2018 1 次提交
  21. 22 12月, 2017 1 次提交
  22. 01 9月, 2017 1 次提交
  23. 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
  24. 18 7月, 2017 1 次提交
  25. 11 7月, 2017 1 次提交
  26. 22 6月, 2017 1 次提交
  27. 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
  28. 22 4月, 2017 1 次提交
  29. 21 1月, 2017 1 次提交
  30. 10 1月, 2017 1 次提交
  31. 02 11月, 2016 1 次提交
  32. 17 9月, 2016 1 次提交
  33. 20 8月, 2016 1 次提交
  34. 16 8月, 2016 2 次提交
  35. 13 7月, 2016 1 次提交