Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754247Ab3CVMlj (ORCPT ); Fri, 22 Mar 2013 08:41:39 -0400 Received: from hqemgate04.nvidia.com ([216.228.121.35]:16661 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880Ab3CVMlg (ORCPT ); Fri, 22 Mar 2013 08:41:36 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Fri, 22 Mar 2013 05:41:18 -0700 From: Peter De Schrijver To: Peter De Schrijver CC: , Grant Likely , Rob Herring , Rob Landley , Stephen Warren , Russell King , Prashant Gaikwad , Simon Glass , Rhyland Klein , Pritesh Raithatha , Linus Walleij , Hiroshi Doyu , Laxman Dewangan , Andrew Chew , Mike Turquette , Thierry Reding , , , , Subject: [PATCH v8 00/14] Tegra114 clockframework Date: Fri, 22 Mar 2013 14:39:17 +0200 Message-ID: <1363956029-31873-1-git-send-email-pdeschrijver@nvidia.com> X-Mailer: git-send-email 1.7.7.rc0.72.g4b5ea.dirty X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3875 Lines: 103 This is the eight version of the Tegra114 clockframework. It is based on the next-20130320-fixed branch of git://nv-tegra.nvidia.com/user/swarren/linux-2.6.git, http://patchwork.ozlabs.org/patch/229972/ and http://patchwork.ozlabs.org/patch/229978/ It has been boottested on Dalmore and Beaverboard. Changes from v7: * Fixed dummy operations * Removed some duplicates from the binding document * Fixed tegra114_clk enum to be in line with the binding document * Removed __initdata from tegra_periph_clk_list and tegra_periph_nodiv_clk_list * Mark csite clock as CLK_IGNORE_UNUSED * Fixed mux mask for disp1 and disp2 * Fixed initializations for PLLX, PLLC, PLLC2 and PLCC3 * Converted clk_pll_wait_for_lock() to use a mask instead of a single bit * added TEGRA_PLL_HAS_LOCK_ENABLE flag Changes from v6: * Remove clock-frequency from DT serial nodes * Remove useless 'cpu' clock from binding documentation * Use HW gate control for PLLU divided outputs * Fix clock ID for 'd_audio' clock * Add dummy cpu car ops to ease making a bisectable series Changes from v5: * Add initialization code for PLLC * Remove some unnecessary clocks * Fix bug in PLL locking refactoring * Add super clocks * Remove most calls to clk_register_clkdev() for the peripheral clocks Changes from v4: * Split the new PLL types patch into smaller patches * Fix some bugs in the PLL patches Changes from v3: * Merge with for-next branch * Provide empty tegra_cpu_car_ops to make SMP boot not crash Changes from v2: * Added missing PLLs * Added bindings to tegra114.dtsi * Moved the table patch for clk-mux.c to 'clk: add table lookup to mux' * Bugfixes Changes from v1: * Remove SATA and PCIe clocks. They don't appear in the internal TRM, so I assume they don't exist. * Rebase on top of Hiroshi's latest Tegra114 patches * More generic mux code. This is necessary for the AHUB and DAM clocks. Peter De Schrijver (14): clk: tegra: provide dummy cpu car ops clk: tegra: Refactor PLL programming code clk: tegra: Add TEGRA_PLL_BYPASS flag clk: tegra: introduce TEGRA_PLL_HAS_LOCK_ENABLE clk: tegra: Add PLL post divider table clk: tegra: move from a lock bit idx to a lock mask clk: tegra: Add new fields and PLL types for Tegra114 clk: tegra: Add flags to tegra_clk_periph() clk: tegra: Workaround for Tegra114 MSENC problem ARM: tegra: Define Tegra114 CAR binding clk: tegra: Implement clocks for Tegra114 clk: tegra: devicetree match for nvidia,tegra114-car ARM: dt: Add references to tegra_car clocks clk: tegra: Remove forced clk_enable of uartd .../bindings/clock/nvidia,tegra114-car.txt | 317 +++ arch/arm/boot/dts/tegra114-dalmore.dts | 1 - arch/arm/boot/dts/tegra114-pluto.dts | 1 - arch/arm/boot/dts/tegra114.dtsi | 8 +- drivers/clk/tegra/Makefile | 1 + drivers/clk/tegra/clk-periph-gate.c | 9 + drivers/clk/tegra/clk-periph.c | 11 +- drivers/clk/tegra/clk-pll.c | 1194 ++++++++++-- drivers/clk/tegra/clk-tegra114.c | 2068 ++++++++++++++++++++ drivers/clk/tegra/clk-tegra20.c | 173 +- drivers/clk/tegra/clk-tegra30.c | 265 ++-- drivers/clk/tegra/clk.c | 4 +- drivers/clk/tegra/clk.h | 96 +- 13 files changed, 3789 insertions(+), 359 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra114-car.txt create mode 100644 drivers/clk/tegra/clk-tegra114.c -- 1.7.7.rc0.72.g4b5ea.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/