[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1356619644-18565-1-git-send-email-pgaikwad@nvidia.com>
Date: Thu, 27 Dec 2012 20:17:13 +0530
From: Prashant Gaikwad <pgaikwad@...dia.com>
To: <swarren@...dotorg.org>, <mturquette@...aro.org>
CC: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-tegra@...r.kernel.org>,
Prashant Gaikwad <pgaikwad@...dia.com>
Subject: [PATCH v2 00/11] Migrate Tegra to common clock framework
This patchset does following:
1. Decompose single tegra clock structure into multiple clocks.
2. Try to use standard clock types supported by common clock framework.
3. Use dynamic initialization.
4. Move all clock code to drivers/clk/tegra from mach-tegra.
5. Add device tree support for Tegra20 and Tegra30 clocks.
6. Remove all legacy clock code from mach-tegra.
Tested on Tegra30 (Cardhu) and Tegra20 (Ventana).
Changes from v1:
Rebased on linux-next for 20121224.
Prashant Gaikwad (10):
clk: tegra: Add tegra specific clocks
arm: tegra: Move tegra_cpu_car.h to linux/clk/tegra.h
ARM: Tegra: Define Tegra30 CAR binding
ARM: dt: tegra30: Add device node for APB MISC
ARM: dt: tegra20: Add device node for APB MISC
clk: tegra: add clock support for tegra20
clk: tegra: add clock support for tegra30
clk: tegra: add dt support
arm: tegra: Migrate to new clock code
arm: tegra: Remove legacy clock code
Stephen Warren (1):
ARM: tegra: Define Tegra20 CAR binding
.../bindings/clock/nvidia,tegra20-car.txt | 209 ++
.../bindings/clock/nvidia,tegra30-car.txt | 282 +++
arch/arm/boot/dts/tegra20.dtsi | 11 +
arch/arm/boot/dts/tegra30.dtsi | 11 +
arch/arm/mach-tegra/Makefile | 5 -
arch/arm/mach-tegra/board-dt-tegra20.c | 30 -
arch/arm/mach-tegra/board-dt-tegra30.c | 31 -
arch/arm/mach-tegra/clock.c | 166 --
arch/arm/mach-tegra/clock.h | 153 --
arch/arm/mach-tegra/common.c | 44 +-
arch/arm/mach-tegra/cpu-tegra.c | 2 +-
arch/arm/mach-tegra/cpuidle-tegra30.c | 2 +-
arch/arm/mach-tegra/hotplug.c | 2 +-
arch/arm/mach-tegra/include/mach/clk.h | 44 -
arch/arm/mach-tegra/pcie.c | 2 +-
arch/arm/mach-tegra/platsmp.c | 2 +-
arch/arm/mach-tegra/pm.c | 2 +-
arch/arm/mach-tegra/powergate.c | 2 +-
arch/arm/mach-tegra/tegra20_clocks.c | 1623 -------------
arch/arm/mach-tegra/tegra20_clocks.h | 42 -
arch/arm/mach-tegra/tegra20_clocks_data.c | 1143 ---------
arch/arm/mach-tegra/tegra30_clocks.c | 2506 --------------------
arch/arm/mach-tegra/tegra30_clocks.h | 54 -
arch/arm/mach-tegra/tegra30_clocks_data.c | 1425 -----------
drivers/clk/Makefile | 1 +
drivers/clk/tegra/Makefile | 11 +
drivers/clk/tegra/clk-audio-sync.c | 89 +
drivers/clk/tegra/clk-divider.c | 188 ++
drivers/clk/tegra/clk-periph-gate.c | 183 ++
drivers/clk/tegra/clk-periph.c | 232 ++
drivers/clk/tegra/clk-pll-out.c | 124 +
drivers/clk/tegra/clk-pll.c | 674 ++++++
drivers/clk/tegra/clk-super.c | 154 ++
drivers/clk/tegra/clk-tegra20.c | 1275 ++++++++++
drivers/clk/tegra/clk-tegra30.c | 1968 +++++++++++++++
drivers/clk/tegra/clk.c | 97 +
drivers/clk/tegra/clk.h | 493 ++++
drivers/dma/tegra20-apb-dma.c | 2 +-
drivers/gpu/drm/tegra/dc.c | 3 +-
drivers/gpu/drm/tegra/drm.c | 1 -
drivers/gpu/drm/tegra/hdmi.c | 3 +-
drivers/i2c/busses/i2c-tegra.c | 3 +-
drivers/input/keyboard/tegra-kbc.c | 2 +-
drivers/spi/spi-tegra20-sflash.c | 2 +-
drivers/spi/spi-tegra20-slink.c | 2 +-
drivers/staging/nvec/nvec.c | 3 +-
.../tegra_cpu_car.h => include/linux/clk/tegra.h | 11 +-
sound/soc/tegra/tegra30_ahub.c | 2 +-
48 files changed, 6028 insertions(+), 7288 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra20-car.txt
create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra30-car.txt
delete mode 100644 arch/arm/mach-tegra/clock.c
delete mode 100644 arch/arm/mach-tegra/clock.h
delete mode 100644 arch/arm/mach-tegra/include/mach/clk.h
delete mode 100644 arch/arm/mach-tegra/tegra20_clocks.c
delete mode 100644 arch/arm/mach-tegra/tegra20_clocks.h
delete mode 100644 arch/arm/mach-tegra/tegra20_clocks_data.c
delete mode 100644 arch/arm/mach-tegra/tegra30_clocks.c
delete mode 100644 arch/arm/mach-tegra/tegra30_clocks.h
delete mode 100644 arch/arm/mach-tegra/tegra30_clocks_data.c
create mode 100644 drivers/clk/tegra/Makefile
create mode 100644 drivers/clk/tegra/clk-audio-sync.c
create mode 100644 drivers/clk/tegra/clk-divider.c
create mode 100644 drivers/clk/tegra/clk-periph-gate.c
create mode 100644 drivers/clk/tegra/clk-periph.c
create mode 100644 drivers/clk/tegra/clk-pll-out.c
create mode 100644 drivers/clk/tegra/clk-pll.c
create mode 100644 drivers/clk/tegra/clk-super.c
create mode 100644 drivers/clk/tegra/clk-tegra20.c
create mode 100644 drivers/clk/tegra/clk-tegra30.c
create mode 100644 drivers/clk/tegra/clk.c
create mode 100644 drivers/clk/tegra/clk.h
rename arch/arm/mach-tegra/tegra_cpu_car.h => include/linux/clk/tegra.h (92%)
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists