- 23 May, 2014 3 commits
-
-
Jim Lin authored
Enable hardware control of PLLE spread-spectrum, IDDQ, and enable controls when enabling PLLE. The hardware (e.g. XUSB) using PLLE will use these controls for power-saving optimizations. Signed-off-by:
Jim Lin <jilin@nvidia.com> Signed-off-by:
Andrew Bresticker <abrestic@chromium.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Anders Berg authored
Add clk driver to support clock blocks found on the AXM55xx devices. The driver provides clock implementations for three different types of clock devices on the AXM55xx device: PLL clock, a clock divider and a clock mux. Signed-off-by:
Anders Berg <anders.berg@lsi.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Laurent Pinchart authored
The MSTP[SC]R registers have clock stop bits, not clock enable bits. The bit value should thus be inverted in the is_enabled() operation. Signed-off-by:
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 22 May, 2014 1 commit
-
-
Sylwester Nawrocki authored
This patch adds of_clk_get_by_clkspec() helper function, which does only a struct clk lookup from the clock providers. It is used in the subsequent patch where parsing of a clock from device tree and the lookup from providers needed to be split. Signed-off-by:
Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 21 May, 2014 2 commits
-
-
Linus Walleij authored
The IM-PD1 PrimeCells all have pclk assignments though this clock cannot be controlled, and we need to provide this as a dummy clock for the PL061 GPIO driver to probe, so let's assign it to all the cells on the board. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
git://git.xilinx.com/linux-xlnxMike Turquette authored
arm: Xilinx Zynq clk patches for v3.16 - Keep debug clocks in bootup state - Fix email address in si570
-
- 20 May, 2014 1 commit
-
-
Michal Simek authored
Just fix missing ">" in the email. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- 16 May, 2014 3 commits
-
-
Stephen Boyd authored
When consolidating the msm8660 GCC probe code I forgot to keep around these temporary clock registrations. Put them back so the clock tree is not entirely orphaned. Fixes: 49fc825f (clk: qcom: Consolidate common probe code) Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Mike Turquette authored
-
Tuomas Tynkkynen authored
The value written to PLLE_AUX was incorrect due to a wrong variable being used. Without this fix SATA does not work. Cc: stable@vger.kernel.org Signed-off-by:
Tuomas Tynkkynen <ttynkkynen@nvidia.com> Tested-by:
Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by:
Thierry Reding <treding@nvidia.com> Tested-by:
Thierry Reding <treding@nvidia.com> Acked-by:
Thierry Reding <treding@nvidia.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org> [mturquette@linaro.org: improved changelog]
-
- 15 May, 2014 3 commits
-
-
Fabio Estevam authored
Remove the 'gpios' property from the documentation as this is something that the current fixed clock driver does not handle. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Arnd Bergmann authored
The impd1 code on mach-integrator can be a loadable module, so we have to export icst_clk_register, integrator_impd1_clk_init and integrator_impd1_clk_exit. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Mike Turquette authored
Merge tag 'clk-hisi-for-v3.16' of https://git.kernel.org/pub/scm/linux/kernel/git/hzhuang1/linux into clk-next-hisilicon enable hix5hd2 clock
-
- 14 May, 2014 1 commit
-
-
Hans de Goede authored
__clk_get_hw is supposed to be used by clk providers, not clk consumers. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Reviewed-by:
Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 13 May, 2014 7 commits
-
-
git://git.infradead.org/linux-mvebuMike Turquette authored
clk mvebu changes for v3.16 - orion5x: brand new driver
-
Simon Horman authored
Add MSTP clock support for the r8a7779 SoC The only change required appears to be to note a new compatibility string in the bindings. Cc: devicetree@vger.kernel.org Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Simon Horman authored
The R8A7779 SoC has several clocks that are too custom to be supported in a generic driver. Those clocks are all fixed rate clocks with multiplier and divisor set according to boot mode configuration. Based on work for R-Car Gen2 SoCs by Laurent Pinchart. Cc: devicetree@vger.kernel.org Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Simon Horman <horms+renesas@verge.net.au> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Mike Turquette authored
Merge tag 'socfpga-clk-update-for-v3.16' of git://git.rocketboards.org/linux-socfpga-next into clk-next-socfpga Adds support getting the divider registers for the MAIN PLL that was once thought to be hidden.
-
Geert Uytterhoeven authored
Improve the wording for the clock-indices binding documentation. Also replace "empty nodes" by "empty strings", as reported before by Sergei Shtylyov. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Acked-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by:
Simon Horman <horms+renesas@verge.net.au> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Geert Uytterhoeven authored
General: - Add parameter names to .round_rate() and .set_rate(). Documentation/clk.txt: - Add missing parameter for .set_rate(), - Add missing .debug_init(). include/linux/clk-provider.h: - Add parent rate documentation for .round_rate(), - Reorder documentation to match implementation order, - Add missing documentation for .init(). Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Geert Uytterhoeven authored
- Remove spaces in front of TABs, - Correct indentation for some CLK_* flag descriptions. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 12 May, 2014 6 commits
-
-
Mike Turquette authored
-
Ben Dooks authored
With the addition of clock-indices, we need to change the renesas clock implementation to use these instead of the local definition of "renesas,clock-indices". Since this will break booting with older device trees, we add a simple auto-detection of which properties are present. Signed-off-by:
Ben Dooks <ben.dooks@codethink.co.uk> Acked-by:
Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Dinh Nguyen authored
The C0(mpu_clk), C1(main_clk), and C2(dbg_base_clk) outputs from the main PLL go through a pre-divider before coming into the system. These registers were hidden for the CycloneV platform, but are now used for the ArriaV platform. This patch updates the clock driver to read the div-reg property for the socfpga-periph-clk clocks. Also moves the div_mask define to clk.h for re-use. Signed-off-by:
Dinh Nguyen <dinguyen@altera.com>
-
Zhangfei Gao authored
Signed-off-by:
Haifeng Yan <haifeng.yan@linaro.org> Signed-off-by:
Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
Zhangfei Gao authored
Add hisi_clk_register_gate register clk gate table Signed-off-by:
Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
Zhangfei Gao authored
Platform hix5hd2 use mux table, so use clk_register_mux_table instead Signed-off-by:
Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by:
Haojian Zhuang <haojian.zhuang@linaro.org>
-
- 05 May, 2014 2 commits
-
-
Emilio López authored
HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by:
Emilio López <emilio@elopez.com.ar> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Emilio López authored
This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by:
Emilio López <emilio@elopez.com.ar> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 30 Apr, 2014 11 commits
-
-
Kumar Gala authored
* Remove CE2_SLEEP_CLK, doesn't exist on 8960 family SoCs * Fix incorrect offset for PMIC_SSBI2_RESET * Fix typo: SIC_TIC -> SPS_TIC_H SFAB_ADM0_M2_A_CLK -> SFAB_ADM0_M2_H_CLK * Fix naming convention: SFAB_CFPB_S_HCLK -> SFAB_CFPB_S_H_CLK SATA_SRC_CLK -> SATA_CLK_SRC Signed-off-by:
Kumar Gala <galak@codeaurora.org> Reviewed-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Kumar Gala authored
The APQ8064 and MSM8960 share a significant amount of clock data and code between the two SoCs. Rather than duplicating the data we just add support for a unqiue APQ8064 clock table into the MSM8960 code. For now add just enough clocks to get a basic serial port going on an APQ8064 device. Signed-off-by:
Kumar Gala <galak@codeaurora.org> Reviewed-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org> [mturquette@linaro.org: trivial conflict due to missing ipq8064 support]
-
Stephen Boyd authored
Most of the probe code is the same between all the different clock controllers. Consolidate the code into a common.c file. This makes changes to the common probe parts easier and reduces chances for bugs. Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Stephen Boyd authored
This simplifies error paths in drivers that use optional clocks by allowing the NULL or error pointer to be passed unconditionally. Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Stephen Boyd authored
The same if-else statement exists four times to recalculate the rate of a clock. Consolidate this logic into a single function to save some lines. Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Stephen Boyd authored
We dereference clk->ops during clock registration so this check for NULL ops can't possibly ever be true. Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Alex Elder authored
Replace the "fake" fixed-rate clocks used previously for the bcm21664 family with "real" ones. Signed-off-by:
Alex Elder <elder@linaro.org> Acked-by:
Matt Porter <mporter@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Alex Elder authored
Define the set of CCUs and provided clocks sufficient to satisfy the needs of all the existing clock references for BCM21664. Replace the "fake" fixed-rate clocks used previously with "real" ones. Note that only the minimal set of these clocks and CCUs is defined here. More clock definitions will need to be added as required by the addition of additional drivers. Signed-off-by:
Alex Elder <elder@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Alex Elder authored
Document the device tree binding for Broadcom BCM28164 clock control units and clocks. This SoC uses Kona CCUs, similar to the BCM281XX SoC family. Signed-off-by:
Alex Elder <elder@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Alex Elder authored
The next patch defines a binding for a new Broadcom SoC that uses Kona style CCUs for its clocks. Update the generic Kona clock binding document so it's more natural to accomodate the definitions of additional SoC families. Specifically: - Define the compatible string values generically, referring to specific per-model values later in the document. - Put the device tree example immediately after the required properties listing, before the tables of SoC-specific values. - Clearly identify the start of the section defining specific values related to the BCM281XX family - Add a list of the specific BCM281XX family compatible strings. - Reword the description of the table slightly. Signed-off-by:
Alex Elder <elder@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
Alex Elder authored
The Broadcom 281xx clock code uses a #define for the compatible string for it's clock control units (CCUs). Rather than defining those in the C source file, define them in the header file that's shared by both the code and the device tree source file (along with all the clock ids). Signed-off-by:
Alex Elder <elder@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-