Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27953437 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull arm-soc clock driver changes from Olof Johansson:
 "The new clock subsystem was merged in linux-3.4 without any users,
  this now moves the first three platforms over to it: imx, mxs and
  spear.

  The series also contains the changes for the clock subsystem itself,
  since Mike preferred to have it together with the platforms that
  require these changes, in order to avoid interdependencies and
  conflicts."

Fix up trivial conflicts in arch/arm/mach-kirkwood/common.c (code
removed in one branch, added OF support in another) and
drivers/dma/imx-sdma.c (independent changes next to each other).

* tag 'clock' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (97 commits)
  clk: Fix CLK_SET_RATE_GATE flag validation in clk_set_rate().
  clk: Provide dummy clk_unregister()
  SPEAr: Update defconfigs
  SPEAr: Add SMI NOR partition info in dts files
  SPEAr: Switch to common clock framework
  SPEAr: Call clk_prepare() before calling clk_enable
  SPEAr: clk: Add General Purpose Timer Synthesizer clock
  SPEAr: clk: Add Fractional Synthesizer clock
  SPEAr: clk: Add Auxiliary Synthesizer clock
  SPEAr: clk: Add VCO-PLL Synthesizer clock
  SPEAr: Add DT bindings for SPEAr's timer
  ARM i.MX: remove now unused clock files
  ARM: i.MX6: implement clocks using common clock framework
  ARM i.MX35: implement clocks using common clock framework
  ARM i.MX5: implement clocks using common clock framework
  ARM: Kirkwood: Replace clock gating
  ARM: Orion: Audio: Add clk/clkdev support
  ARM: Orion: PCIE: Add support for clk
  ARM: Orion: XOR: Add support for clk
  ARM: Orion: CESA: Add support for clk
  ...
parents 2c757fd5 3c0dec5f
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
* SPEAr ARM Timer

** Timer node required properties:

- compatible : Should be:
	"st,spear-timer"
- reg: Address range of the timer registers
- interrupt-parent: Should be the phandle for the interrupt controller
  that services interrupts for this device
- interrupt: Should contain the timer interrupt number

Example:

	timer@f0000000 {
		compatible = "st,spear-timer";
		reg = <0xf0000000 0x400>;
		interrupts = <2>;
	};
+11 −3
Original line number Diff line number Diff line
@@ -1905,6 +1905,16 @@ F: Documentation/filesystems/coda.txt
F:	fs/coda/
F:	include/linux/coda*.h

COMMON CLK FRAMEWORK
M:	Mike Turquette <mturquette@ti.com>
M:	Mike Turquette <mturquette@linaro.org>
L:	linux-arm-kernel@lists.infradead.org (same as CLK API & CLKDEV)
T:	git git://git.linaro.org/people/mturquette/linux.git
S:	Maintained
F:	drivers/clk/clk.c
F:	drivers/clk/clk-*
F:	include/linux/clk-pr*

COMMON INTERNET FILE SYSTEM (CIFS)
M:	Steve French <sfrench@samba.org>
L:	linux-cifs@vger.kernel.org
@@ -6368,9 +6378,7 @@ L: spear-devel@list.st.com
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
W:	http://www.st.com/spear
S:	Maintained
F:	arch/arm/mach-spear*/clock.c
F:	arch/arm/plat-spear/clock.c
F:	arch/arm/plat-spear/include/plat/clock.h
F:	drivers/clk/spear/

SPI SUBSYSTEM
M:	Grant Likely <grant.likely@secretlab.ca>
+3 −0
Original line number Diff line number Diff line
@@ -456,6 +456,7 @@ config ARCH_MXS
	select ARCH_REQUIRE_GPIOLIB
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select COMMON_CLK
	select HAVE_CLK_PREPARE
	select PINCTRL
	help
@@ -947,6 +948,7 @@ config PLAT_SPEAR
	select ARM_AMBA
	select ARCH_REQUIRE_GPIOLIB
	select CLKDEV_LOOKUP
	select COMMON_CLK
	select CLKSRC_MMIO
	select GENERIC_CLOCKEVENTS
	select HAVE_CLK
@@ -1101,6 +1103,7 @@ config PLAT_ORION
	bool
	select CLKSRC_MMIO
	select GENERIC_IRQ_CHIP
	select COMMON_CLK

config PLAT_PXA
	bool
+25 −0
Original line number Diff line number Diff line
@@ -87,6 +87,31 @@

		smi: flash@fc000000 {
			status = "okay";
			clock-rate=<50000000>;

			flash@f8000000 {
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0xf8000000 0x800000>;
				st,smi-fast-mode;

				partition@0 {
					label = "xloader";
					reg = <0x0 0x10000>;
				};
				partition@10000 {
					label = "u-boot";
					reg = <0x10000 0x40000>;
				};
				partition@50000 {
					label = "linux";
					reg = <0x50000 0x2c0000>;
				};
				partition@310000 {
					label = "rootfs";
					reg = <0x310000 0x4f0000>;
				};
			};
		};

		spi0: spi@d0100000 {
+18 −2
Original line number Diff line number Diff line
@@ -103,11 +103,27 @@
			clock-rate=<50000000>;

			flash@f8000000 {
				label = "m25p64";
				reg = <0xf8000000 0x800000>;
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0xf8000000 0x800000>;
				st,smi-fast-mode;

				partition@0 {
					label = "xloader";
					reg = <0x0 0x10000>;
				};
				partition@10000 {
					label = "u-boot";
					reg = <0x10000 0x40000>;
				};
				partition@50000 {
					label = "linux";
					reg = <0x50000 0x2c0000>;
				};
				partition@310000 {
					label = "rootfs";
					reg = <0x310000 0x4f0000>;
				};
			};
		};

Loading