linux.git
10 years agoMerge tag 'dt-3.13-2' of git://git.infradead.org/linux-mvebu into next/dt
Kevin Hilman [Wed, 9 Oct 2013 21:11:03 +0000 (14:11 -0700)]
Merge tag 'dt-3.13-2' of git://git.infradead.org/linux-mvebu into next/dt

From Jason Cooper:
mvebu dt changes for v3.13 (round 2)

 - kirkwood
    - use MBus DT binding for setting up the windows
    - move crypto and nand underneath the mbus node
    - ib62x0 has a u-boot env partition

 - mvebu
    - add the Armada XP matrix board

* tag 'dt-3.13-2' of git://git.infradead.org/linux-mvebu:
  arm: mvebu: add support for the Armada XP Matrix board
  ARM: kirkwood: ib62x0: add u-boot environment partition
  ARM: kirkwood: Move the nand node under the mbus node
  ARM: kirkwood: Move the crypto node under the mbus node
  ARM: kirkwood: Remove kirkwood_setup_wins and rely on the DT binding

Signed-off-by: Kevin Hilman <khilman@linaro.org>
10 years agoMerge tag 'dt-3.13' of git://git.infradead.org/linux-mvebu into next/dt
Kevin Hilman [Wed, 9 Oct 2013 20:21:51 +0000 (13:21 -0700)]
Merge tag 'dt-3.13' of git://git.infradead.org/linux-mvebu into next/dt

From Jason Cooper:
mvebu dt changes for v3.13

 - mvebu
    - add MSI
    - new compatible string for mv64xxx-i2c

 - dove
    - use the pre-processor
    - define the MBus nodes
    - add PCIe controllers
    - add Globalscale D3Plug
    - relocate internal registers nodes

* tag 'dt-3.13' of git://git.infradead.org/linux-mvebu:
  ARM: dove: add initial DT file for Globalscale D3Plug
  ARM: dove: add PCIe controllers to SoC DT
  ARM: dove: relocate internal registers device nodes
  ARM: dove: add MBus DT node
  ARM: dove: add MBUS_ID macro to Dove DT
  ARM: dove: use preprocessor on device tree files
  ARM: mvebu: link PCIe controllers to the MSI controller
  ARM: mvebu: the MPIC now provides MSI controller features
  ARM: dts: mvebu: Update with the new compatible string for mv64xxx-i2c

Signed-off-by: Kevin Hilman <khilman@linaro.org>
10 years agoMerge tag 'renesas-dt-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Mon, 7 Oct 2013 18:39:16 +0000 (11:39 -0700)]
Merge tag 'renesas-dt-for-v3.13' of git://git./linux/kernel/git/horms/renesas into next/dt

From Simon Horman:
Renesas ARM-based SoC DT updates for v3.13

* Add CPU cores to DTSI of r8a7790 SoC
* Add MMCIF and SDHI DT nodes for reference DTS of ape6evm board

* tag 'renesas-dt-for-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Add r8a7790 CA7 CPU cores to DTSI
  ARM: shmobile: Add r8a7790 CA15 CPU cores
  ARM: shmobile: ape6evm-reference: add MMCIF and SDHI DT nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoMerge tag 'ux500-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linus...
Olof Johansson [Mon, 7 Oct 2013 17:23:39 +0000 (10:23 -0700)]
Merge tag 'ux500-devicetree-2' of git://git./linux/kernel/git/linusw/linux-stericsson into next/dt

From Linus Walleij:
Second part of the Ux500 devicetree conversion and ATAG
deletion: this fixes bugs discovered when switching to a
devicetree-only setup, primarily on the HREF prototypes.
The biggest change is to split into four DTS variants as
the UIB autodetection was lost.

* tag 'ux500-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: ux500: move BU21013 touchpad GPIOs into top-level DTS
  ARM: ux500: register the tc35892 GPIO on the TVK UIB
  ARM: ux500: split the HREF DTS files from two to four
  ARM: ux500: split HREF UIB files
  ARM: ux500: move TC35892 at 0x42 to hrefprev60
  ARM: ux500: correct CD for micro SD on hrev60plus
  ARM: ux500: fix proximity sensor button
  ARM: ux500: correct I2C address of ambient light sensor
  ARM: ux500 enable the AB8500 gpio for all HREFs
  ARM: ux500: add default trigger on HREF LED

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoarm: mvebu: add support for the Armada XP Matrix board
Thomas Petazzoni [Thu, 3 Oct 2013 14:35:26 +0000 (16:35 +0200)]
arm: mvebu: add support for the Armada XP Matrix board

The Armada XP Matrix board is the mother board of a more complex
system. The mother board uses an Armada XP MV78460, 4 serial ports, 2
SATA ports, one Ethernet connection, a PCIe port and a USB port. All
those devices are enabled in the Device Tree added by this patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: kirkwood: ib62x0: add u-boot environment partition
Luka Perkov [Thu, 3 Oct 2013 03:06:45 +0000 (05:06 +0200)]
ARM: kirkwood: ib62x0: add u-boot environment partition

Also, add some trivial whitespace cleanup.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: ux500: move BU21013 touchpad GPIOs into top-level DTS
Linus Walleij [Thu, 3 Oct 2013 08:29:24 +0000 (10:29 +0200)]
ARM: ux500: move BU21013 touchpad GPIOs into top-level DTS

The BU21013 touchscreen GPIOs have been pretty confused, correct
them per board, and move the GPIO assignments up to the top
level DTS file so we can control it from there, and avoid defining
the GPIO assignments for non-ST UIB equipped boards.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: register the tc35892 GPIO on the TVK UIB
Linus Walleij [Thu, 3 Oct 2013 08:18:36 +0000 (10:18 +0200)]
ARM: ux500: register the tc35892 GPIO on the TVK UIB

The TVK1281618 UIB has a TC35892 GPIO expander on it, which has
in the past probably been confused with the GPIO expander on the
older HREF plus previous to v60, which is on an entirely different
part of the system with another I2C address. Register the expander
in the right place.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: split the HREF DTS files from two to four
Linus Walleij [Wed, 2 Oct 2013 13:42:59 +0000 (15:42 +0200)]
ARM: ux500: split the HREF DTS files from two to four

As the device tree conversion did away with the ability to
auto-detect the UIB (User Interface Board) version from attempting
to read an I2C address, we now have to pass the knowledge of
what UIB is mounted through the device tree. This gives rise
to four possible board permutations:

- HREF prior to v60, ST UIB (hrefprev60-stuib)
- HREF prior to v60, TVK1281618 UIB (hrefprev60-tvk)
- HREF v60 and later, ST UIB (href60plus-stuib)
- HREF v60 and later, TVK1281618 UIB (hrefv60plus-tvk)

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: split HREF UIB files
Linus Walleij [Thu, 26 Sep 2013 13:34:02 +0000 (15:34 +0200)]
ARM: ux500: split HREF UIB files

Create two different UIB (User Interface Board) include files: one per
UIB simply. The include files now only handle the devices on that
very UIB.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: move TC35892 at 0x42 to hrefprev60
Linus Walleij [Wed, 2 Oct 2013 14:03:31 +0000 (16:03 +0200)]
ARM: ux500: move TC35892 at 0x42 to hrefprev60

The TC35892 was mounted as a GPIO expander on the HREF prior
to v60 and not in later versions, which instead use the Nomadik
GPIO directly, so move it over to the hrefprev60 DTS file.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: correct CD for micro SD on hrev60plus
Linus Walleij [Wed, 2 Oct 2013 14:12:52 +0000 (16:12 +0200)]
ARM: ux500: correct CD for micro SD on hrev60plus

This correct the card detect line for the HREF v60 and later
reference designs. This is connected directly to the Nomadik
GPIO block, line 95 at offset 31 on the third instance.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: fix proximity sensor button
Linus Walleij [Wed, 2 Oct 2013 12:56:49 +0000 (14:56 +0200)]
ARM: ux500: fix proximity sensor button

The proximity sensor is connected to pin AH12 on newer HREFs,
that corresponds to pin offset 25 on gpio5, not gpio6.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: correct I2C address of ambient light sensor
Linus Walleij [Wed, 2 Oct 2013 11:40:09 +0000 (13:40 +0200)]
ARM: ux500: correct I2C address of ambient light sensor

The ambient light sensor is places at address 0x29 nothing else.
This patch makes the ambient light sensor probe again.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: kirkwood: Move the nand node under the mbus node
Jason Gunthorpe [Tue, 17 Sep 2013 18:44:33 +0000 (12:44 -0600)]
ARM: kirkwood: Move the nand node under the mbus node

There should be no nodes that are not children of the mbus. Move
the nand node under the mbus, and rework the board .dts files
to use an & reference to the nand node.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: kirkwood: Move the crypto node under the mbus node
Jason Gunthorpe [Tue, 17 Sep 2013 18:43:09 +0000 (12:43 -0600)]
ARM: kirkwood: Move the crypto node under the mbus node

There should be no nodes that are not children of the mbus. Move
the crypto node under the mbus.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: kirkwood: Remove kirkwood_setup_wins and rely on the DT binding
Jason Gunthorpe [Tue, 17 Sep 2013 18:41:46 +0000 (12:41 -0600)]
ARM: kirkwood: Remove kirkwood_setup_wins and rely on the DT binding

kirkwood_setup_wins is the last manual caller of mbus in kirkwood, don't
call it for DT boards and rely on the DT having a mbus node with
a proper ranges property to setup these windows.

Move all the mbus ranges properties for all boards into kirkwood.dtsi,
since they are currently all the same.

This makes the DT self consistent, since the physical address of the
NAND and CRYPTO are both referenced internally. The arbitary Linux
constants KIRKWOOD_NAND_MEM_PHYS_BASE and KIRKWOOD_SRAM_PHYS_BASE
no longer have to match the DT values.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoMerge branch 'ux500/dt' into next/dt
Olof Johansson [Mon, 30 Sep 2013 16:09:05 +0000 (09:09 -0700)]
Merge branch 'ux500/dt' into next/dt

* ux500/dt:
  ARM: ux500: enable appended dtb in u8500_defconfig

10 years agoMerge tag 'ux500-dt-for-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Mon, 30 Sep 2013 16:08:46 +0000 (09:08 -0700)]
Merge tag 'ux500-dt-for-v3.13-2' of git://git./linux/kernel/git/linusw/linux-stericsson into next/dt

From Linus Walleij:
This is a huge device tree and ATAG removal series for ux500:
- Move all the clock definitions over to the device tree
- Remove all now-redundant AUXDATA and make the ux500 device
  tree only

* tag 'ux500-dt-for-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: (92 commits)
  ARM: ux500: delete devices-common remnants
  clk: ux500: Provide a look-up for the ARMSS clock
  ARM: ux500: Enable CPUFreq on Snowball
  ARM: ux500: Provide a Device Tree node for CPUFreq in the DBx500
  ARM: ux500: Provide a clock lookup for the Hash driver
  ARM: ux500: Provide a clock lookup for the Crypto driver
  ARM: ux500: Fix trivial white-space error in the DBX500 DTSI file
  ARM: ux500: Remove ATAG booting support for Snowball
  ARM: ux500: Remove ATAG booting support for HREF
  ARM: ux500: Remove ATAG booting support for U8520
  ARM: ux500: Remove ATAG booting support for MOP500
  ARM: ux500: Purge UIB framework when booting with ATAGs
  ARM: ux500: Take out STUIB support when not booting with Device Tree
  ARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs
  ARM: ux500: Don't register the STMPE/SKE when booting with ATAG support
  ARM: ux500: Delete U8500 UIB support when booting with ATAGs
  ARM: ux500: Don't register Synaptics RMI4 TS when booting with ATAGs
  ARM: ux500: Purge DB8500 PRCMU registration when not booting with DT
  ARM: ux500: Stop requesting the SoC device to play 'parent' role
  ARM: ux500: Remove UART support when booting without Device Tree
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoARM: ux500: enable appended dtb in u8500_defconfig
Olof Johansson [Mon, 30 Sep 2013 16:08:07 +0000 (09:08 -0700)]
ARM: ux500: enable appended dtb in u8500_defconfig

Churns the rest of the file a bit due to reordering of options, but the
only changes are:

CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoARM: dove: add initial DT file for Globalscale D3Plug
Sebastian Hesselbarth [Mon, 12 Aug 2013 18:46:54 +0000 (20:46 +0200)]
ARM: dove: add initial DT file for Globalscale D3Plug

This adds an initial DT file for the Globalscale D3Plug with Dove SoC.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: dove: add PCIe controllers to SoC DT
Sebastian Hesselbarth [Mon, 12 Aug 2013 18:46:53 +0000 (20:46 +0200)]
ARM: dove: add PCIe controllers to SoC DT

This adds a node for the pcie controllers found on Dove SoCs to the
SoC DT include.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: dove: relocate internal registers device nodes
Sebastian Hesselbarth [Mon, 29 Jul 2013 12:31:53 +0000 (14:31 +0200)]
ARM: dove: relocate internal registers device nodes

With mbus node in place, now relocate all internal device nodes
to internal-regs node with proper address ranges.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: dove: add MBus DT node
Sebastian Hesselbarth [Mon, 29 Jul 2013 12:31:52 +0000 (14:31 +0200)]
ARM: dove: add MBus DT node

This adds a MBus node including ranges and pcie apertures required later.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: dove: add MBUS_ID macro to Dove DT
Sebastian Hesselbarth [Mon, 29 Jul 2013 12:31:51 +0000 (14:31 +0200)]
ARM: dove: add MBUS_ID macro to Dove DT

This adds a macro used for defining address window's target ID and
attribute cells for the MBus ranges entry.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: dove: use preprocessor on device tree files
Sebastian Hesselbarth [Mon, 29 Jul 2013 12:31:50 +0000 (14:31 +0200)]
ARM: dove: use preprocessor on device tree files

This coverts Dove DT board files to preprocessor includes instead
of dtc includes.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: link PCIe controllers to the MSI controller
Thomas Petazzoni [Fri, 9 Aug 2013 20:27:15 +0000 (22:27 +0200)]
ARM: mvebu: link PCIe controllers to the MSI controller

This commit adjusts the Armada 370 and Armada XP PCIe controllers
Device Tree informations to reference their MSI controller. In the
case of this platform, the MSI controller is implemented by the MPIC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Daniel Price <daniel.price@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: the MPIC now provides MSI controller features
Thomas Petazzoni [Fri, 9 Aug 2013 20:27:13 +0000 (22:27 +0200)]
ARM: mvebu: the MPIC now provides MSI controller features

Adds the 'msi-controller' property to the main interrupt controller
Device Tree node, to indicate that it can now behave as a MSI
controller.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Tested-by: Daniel Price <daniel.price@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: shmobile: Add r8a7790 CA7 CPU cores to DTSI
Magnus Damm [Sat, 14 Sep 2013 15:28:58 +0000 (00:28 +0900)]
ARM: shmobile: Add r8a7790 CA7 CPU cores to DTSI

Add r8a7790 Cortex-A7 CPU information to DTSI.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
10 years agoARM: shmobile: Add r8a7790 CA15 CPU cores
Magnus Damm [Wed, 28 Aug 2013 23:22:17 +0000 (08:22 +0900)]
ARM: shmobile: Add r8a7790 CA15 CPU cores

Add CA15 CPU cores to r8a7790 for a total of 4 x CA15.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
10 years agoARM: ux500 enable the AB8500 gpio for all HREFs
Linus Walleij [Thu, 26 Sep 2013 13:09:14 +0000 (15:09 +0200)]
ARM: ux500 enable the AB8500 gpio for all HREFs

The AB8500 GPIO was only registered for the pre-v60 HREF but should
be made available on all HREF variants, move the DT entry to the
common file.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: add default trigger on HREF LED
Linus Walleij [Sun, 15 Sep 2013 10:01:07 +0000 (12:01 +0200)]
ARM: ux500: add default trigger on HREF LED

This adds a heartbeat on the first LED on the ux500 HREF
boards.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: delete devices-common remnants
Linus Walleij [Thu, 26 Sep 2013 09:24:16 +0000 (11:24 +0200)]
ARM: ux500: delete devices-common remnants

commit f1ff5b2549990b5de080b52e3313cbb30c218853
"ARM: ux500: Stop enabling GPIOs when not booting with Device Tree"
deleted devices-common.c, but did not delete the build
rule from Makefile (most likely due to compiling in
a dirty tree where the object file still existed so
linking would complete anyway).

Delete the makerule, the header file associated
with this file and the remaining reference to the header.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Provide a look-up for the ARMSS clock
Lee Jones [Wed, 18 Sep 2013 15:09:38 +0000 (16:09 +0100)]
clk: ux500: Provide a look-up for the ARMSS clock

The ARMSS clock is used by the newly DT enabled CPUFreq driver.

Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Enable CPUFreq on Snowball
Lee Jones [Wed, 18 Sep 2013 15:03:07 +0000 (16:03 +0100)]
ARM: ux500: Enable CPUFreq on Snowball

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Provide a Device Tree node for CPUFreq in the DBx500
Lee Jones [Wed, 18 Sep 2013 15:07:44 +0000 (16:07 +0100)]
ARM: ux500: Provide a Device Tree node for CPUFreq in the DBx500

This is required to fetch the ARMSS clock when booting with DT.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Provide a clock lookup for the Hash driver
Lee Jones [Wed, 18 Sep 2013 15:07:27 +0000 (16:07 +0100)]
ARM: ux500: Provide a clock lookup for the Hash driver

The common clock framework will use the 'clock' property provided to do
a clock lookup when Device Tree is enabled.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Provide a clock lookup for the Crypto driver
Lee Jones [Wed, 18 Sep 2013 15:05:52 +0000 (16:05 +0100)]
ARM: ux500: Provide a clock lookup for the Crypto driver

The common clock framework will use the 'clock' property provided to do
a clock lookup when Device Tree is enabled.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Fix trivial white-space error in the DBX500 DTSI file
Lee Jones [Wed, 18 Sep 2013 15:05:04 +0000 (16:05 +0100)]
ARM: ux500: Fix trivial white-space error in the DBX500 DTSI file

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG booting support for Snowball
Lee Jones [Wed, 18 Sep 2013 13:55:18 +0000 (14:55 +0100)]
ARM: ux500: Remove ATAG booting support for Snowball

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG booting support for HREF
Lee Jones [Wed, 18 Sep 2013 13:54:47 +0000 (14:54 +0100)]
ARM: ux500: Remove ATAG booting support for HREF

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG booting support for U8520
Lee Jones [Wed, 18 Sep 2013 13:54:19 +0000 (14:54 +0100)]
ARM: ux500: Remove ATAG booting support for U8520

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG booting support for MOP500
Lee Jones [Wed, 18 Sep 2013 13:53:46 +0000 (14:53 +0100)]
ARM: ux500: Remove ATAG booting support for MOP500

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge UIB framework when booting with ATAGs
Lee Jones [Wed, 18 Sep 2013 13:53:06 +0000 (14:53 +0100)]
ARM: ux500: Purge UIB framework when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Take out STUIB support when not booting with Device Tree
Lee Jones [Fri, 23 Aug 2013 08:56:47 +0000 (09:56 +0100)]
ARM: ux500: Take out STUIB support when not booting with Device Tree

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs
Lee Jones [Fri, 23 Aug 2013 08:52:12 +0000 (09:52 +0100)]
ARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Don't register the STMPE/SKE when booting with ATAG support
Lee Jones [Fri, 23 Aug 2013 08:39:05 +0000 (09:39 +0100)]
ARM: ux500: Don't register the STMPE/SKE when booting with ATAG support

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Delete U8500 UIB support when booting with ATAGs
Lee Jones [Fri, 23 Aug 2013 08:34:42 +0000 (09:34 +0100)]
ARM: ux500: Delete U8500 UIB support when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Don't register Synaptics RMI4 TS when booting with ATAGs
Lee Jones [Fri, 23 Aug 2013 08:24:38 +0000 (09:24 +0100)]
ARM: ux500: Don't register Synaptics RMI4 TS when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge DB8500 PRCMU registration when not booting with DT
Lee Jones [Fri, 23 Aug 2013 08:19:01 +0000 (09:19 +0100)]
ARM: ux500: Purge DB8500 PRCMU registration when not booting with DT

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Stop requesting the SoC device to play 'parent' role
Lee Jones [Thu, 22 Aug 2013 14:52:30 +0000 (15:52 +0100)]
ARM: ux500: Stop requesting the SoC device to play 'parent' role

There are no more devices which require left to register which require
a parent. This is part of the ux500 conversion over to Device Tree only
booting.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove UART support when booting without Device Tree
Lee Jones [Thu, 22 Aug 2013 15:18:56 +0000 (16:18 +0100)]
ARM: ux500: Remove UART support when booting without Device Tree

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Stop initialising the pinmaps when booting with ATAGs
Lee Jones [Thu, 22 Aug 2013 14:41:30 +0000 (15:41 +0100)]
ARM: ux500: Stop initialising the pinmaps when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Rip out SSP/SPI registration when not booting with Device Tree
Lee Jones [Thu, 22 Aug 2013 13:58:29 +0000 (14:58 +0100)]
ARM: ux500: Rip out SSP/SPI registration when not booting with Device Tree

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Do not register the PMU device if booting with ATAGs
Lee Jones [Thu, 22 Aug 2013 12:28:12 +0000 (13:28 +0100)]
ARM: ux500: Do not register the PMU device if booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Deactivate enablement of DMA40 during ATAG booting
Lee Jones [Wed, 18 Sep 2013 13:50:59 +0000 (14:50 +0100)]
ARM: ux500: Deactivate enablement of DMA40 during ATAG booting

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Stop enabling GPIOs when not booting with Device Tree
Lee Jones [Wed, 18 Sep 2013 13:49:52 +0000 (14:49 +0100)]
ARM: ux500: Stop enabling GPIOs when not booting with Device Tree

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Stop registering Pinctrl when booting with ATAG support
Lee Jones [Fri, 23 Aug 2013 09:29:22 +0000 (10:29 +0100)]
ARM: ux500: Stop registering Pinctrl when booting with ATAG support

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge support for registering the RTC when booting with ATAGs
Lee Jones [Thu, 22 Aug 2013 13:54:30 +0000 (14:54 +0100)]
ARM: ux500: Purge support for registering the RTC when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove USB support when booting using ATAGs
Lee Jones [Wed, 18 Sep 2013 13:48:27 +0000 (14:48 +0100)]
ARM: ux500: Remove USB support when booting using ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Rip out keypad initialisation which is no longer used
Lee Jones [Thu, 22 Aug 2013 11:10:48 +0000 (12:10 +0100)]
ARM: ux500: Rip out keypad initialisation which is no longer used

This is part of the ux500 conversion over to Device Tree only
booting, but this stuff haven't been used for years.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge SDI support for ATAG booting
Lee Jones [Wed, 21 Aug 2013 16:17:22 +0000 (17:17 +0100)]
ARM: ux500: Purge SDI support for ATAG booting

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove I2C support when booting with ATAG support
Lee Jones [Wed, 21 Aug 2013 14:59:51 +0000 (15:59 +0100)]
ARM: ux500: Remove I2C support when booting with ATAG support

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge SFH7741 Proximity Sensor support when booting with ATAGs
Lee Jones [Wed, 21 Aug 2013 14:54:05 +0000 (15:54 +0100)]
ARM: ux500: Purge SFH7741 Proximity Sensor support when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove Light sensor Rohm BH1780GLI when booting with ATAGs
Lee Jones [Wed, 18 Sep 2013 13:41:18 +0000 (14:41 +0100)]
ARM: ux500: Remove Light sensor Rohm BH1780GLI when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove TC35892 Flexible IO Expander when booting ATAGs
Lee Jones [Wed, 18 Sep 2013 14:11:25 +0000 (15:11 +0100)]
ARM: ux500: Remove TC35892 Flexible IO Expander when booting ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Stop passing GPIO pdata when booitng with ATAGs enabled
Lee Jones [Wed, 21 Aug 2013 14:39:53 +0000 (15:39 +0100)]
ARM: ux500: Stop passing GPIO pdata when booitng with ATAGs enabled

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Prevent CODEC platform data from being passed when booting ATAGs
Lee Jones [Thu, 22 Aug 2013 13:26:18 +0000 (14:26 +0100)]
ARM: ux500: Prevent CODEC platform data from being passed when booting ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Rip out Hash support when booting with ATAGs
Lee Jones [Wed, 18 Sep 2013 13:35:06 +0000 (14:35 +0100)]
ARM: ux500: Rip out Hash support when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Deactivate Crypt support when booting with ATAGs
Lee Jones [Wed, 21 Aug 2013 14:19:18 +0000 (15:19 +0100)]
ARM: ux500: Deactivate Crypt support when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge SDI regulator support when booting with ATAGs enable
Lee Jones [Wed, 21 Aug 2013 13:33:07 +0000 (14:33 +0100)]
ARM: ux500: Purge SDI regulator support when booting with ATAGs enable

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Disable Snowball's CPUFreq functionality when booting with ATAGs enabled
Lee Jones [Mon, 19 Aug 2013 15:28:58 +0000 (16:28 +0100)]
ARM: ux500: Disable Snowball's CPUFreq functionality when booting with ATAGs enabled

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove support for Snowball's Ethernet regulator when booting with ATAGs
Lee Jones [Mon, 19 Aug 2013 15:27:28 +0000 (16:27 +0100)]
ARM: ux500: Remove support for Snowball's Ethernet regulator when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Disable Snowball's SMSC911x Ethernet when booting with ATAGs
Lee Jones [Mon, 19 Aug 2013 14:46:25 +0000 (15:46 +0100)]
ARM: ux500: Disable Snowball's SMSC911x Ethernet when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Purge support for Snowball user buttons when booting with ATAGs
Lee Jones [Mon, 19 Aug 2013 14:42:17 +0000 (15:42 +0100)]
ARM: ux500: Purge support for Snowball user buttons when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG booting support for Snowball's heatbeat LED
Lee Jones [Mon, 19 Aug 2013 13:38:44 +0000 (14:38 +0100)]
ARM: ux500: Remove ATAG booting support for Snowball's heatbeat LED

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove ATAG support for LP5521 Programmable Three-Channel LED driver
Lee Jones [Wed, 18 Sep 2013 13:32:16 +0000 (14:32 +0100)]
ARM: ux500: Remove ATAG support for LP5521 Programmable Three-Channel LED driver

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove TPS61052 High Power White LED Driver ATAG support
Lee Jones [Wed, 18 Sep 2013 13:30:37 +0000 (14:30 +0100)]
ARM: ux500: Remove TPS61052 High Power White LED Driver ATAG support

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove Audio/MSP support when booting with ATAGs
Lee Jones [Tue, 13 Aug 2013 16:52:15 +0000 (17:52 +0100)]
ARM: ux500: Remove Audio/MSP support when booting with ATAGs

It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove SSP AUXDATA pertaining to DMA bindings
Lee Jones [Wed, 18 Sep 2013 12:38:50 +0000 (13:38 +0100)]
ARM: ux500: Remove SSP AUXDATA pertaining to DMA bindings

These are now cared for from the Device Tree.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Reclassify PRCMU AUXDATA entry
Lee Jones [Wed, 21 Aug 2013 10:32:49 +0000 (11:32 +0100)]
ARM: ux500: Reclassify PRCMU AUXDATA entry

We still need to utilise the AUXDATA system for the PRCMU to pass
through platform data which can not be DT:ed i.e. regulator initialisation
values. All we're doing in this patch is changing the comment header to be
more accurate.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to DMA clock-name bindings
Lee Jones [Mon, 3 Jun 2013 13:05:57 +0000 (14:05 +0100)]
ARM: ux500: Remove AUXDATA relating to DMA clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to Ethernet clock-name bindings
Lee Jones [Wed, 5 Jun 2013 11:30:38 +0000 (12:30 +0100)]
ARM: ux500: Remove AUXDATA relating to Ethernet clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to USB clock-name bindings
Lee Jones [Mon, 3 Jun 2013 13:04:20 +0000 (14:04 +0100)]
ARM: ux500: Remove AUXDATA relating to USB clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to SDI (MMC) clock-name bindings
Lee Jones [Thu, 6 Jun 2013 11:45:03 +0000 (12:45 +0100)]
ARM: ux500: Remove AUXDATA relating to SDI (MMC) clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Relocate AUXDATA relating to MSP (Audio)
Lee Jones [Wed, 18 Sep 2013 12:37:12 +0000 (13:37 +0100)]
ARM: ux500: Relocate AUXDATA relating to MSP (Audio)

MSP no longer requires clock-name bindings, so we need to move them to
a more appropriate header indicating that we're still passing DMA
related platform data to them.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to I2C clock-name bindings
Lee Jones [Mon, 3 Jun 2013 13:01:52 +0000 (14:01 +0100)]
ARM: ux500: Remove AUXDATA relating to I2C clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to UART clock-name bindings
Lee Jones [Thu, 6 Jun 2013 11:38:32 +0000 (12:38 +0100)]
ARM: ux500: Remove AUXDATA relating to UART clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Remove AUXDATA relating to GPIO clock-name bindings
Lee Jones [Wed, 5 Jun 2013 11:29:18 +0000 (12:29 +0100)]
ARM: ux500: Remove AUXDATA relating to GPIO clock-name bindings

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoARM: ux500: Call appropriate clock initialisation based on DT or !DT booting
Lee Jones [Tue, 17 Sep 2013 09:41:42 +0000 (10:41 +0100)]
ARM: ux500: Call appropriate clock initialisation based on DT or !DT booting

The ux500 platform will soon be converted to Device Tree only. When that
happens the old clock initialisation will be ripped out. In the meantime
however, we have to make a decision and call the appropriate
initialisation code manually.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agousb: musb: ux500: Don't supply a con_id when requesting the clock
Lee Jones [Wed, 18 Sep 2013 07:58:18 +0000 (08:58 +0100)]
usb: musb: ux500: Don't supply a con_id when requesting the clock

If we supply a con_id then the clock framework will search for that name
in MUSB's Device Tree node for the 'clock-names' property. If it's absent
the clock request will fail. However, if we don't supply the con_id then
clk_get() will call into clk_sys() which will use the device name to
search for the appropriate clock, which is much more natural than forcing
'usb'.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add Device Tree support for the TWD clock
Lee Jones [Tue, 17 Sep 2013 09:35:00 +0000 (10:35 +0100)]
clk: ux500: Add Device Tree support for the TWD clock

This patch enables the TWD fixed factor clock to be specified from
Device Tree via phandles to the "smp-twd-clock" node.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add Device Tree support for the RTC clock
Lee Jones [Tue, 17 Sep 2013 09:34:24 +0000 (10:34 +0100)]
clk: ux500: Add Device Tree support for the RTC clock

This patch enables the RTC fixed frequency clock to be specified from
Device Tree via phandles to the "rtc32k-clock" node.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add Device Tree support for the PRCC Kernel clock
Lee Jones [Tue, 17 Sep 2013 09:33:05 +0000 (10:33 +0100)]
clk: ux500: Add Device Tree support for the PRCC Kernel clock

This patch enables clocks to be specified from Device Tree via phandles
to the "prcc-kernel-clock" node.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add Device Tree support for the PRCC Peripheral clock
Lee Jones [Tue, 17 Sep 2013 09:31:39 +0000 (10:31 +0100)]
clk: ux500: Add Device Tree support for the PRCC Peripheral clock

This patch enables clocks to be specified from Device Tree via phandles
to the "prcc-periph-clock" node.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add Device Tree support for the PRCMU clock
Lee Jones [Tue, 17 Sep 2013 09:30:19 +0000 (10:30 +0100)]
clk: ux500: Add Device Tree support for the PRCMU clock

This patch enables clocks to be specified from Device Tree via phandles
to the "prcmu-clock" node.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Add a 2-cell Device Tree parser for obtaining PRCC clocks
Lee Jones [Mon, 22 Jul 2013 12:13:01 +0000 (13:13 +0100)]
clk: ux500: Add a 2-cell Device Tree parser for obtaining PRCC clocks

PRCC (peripheral and kernel) clocks are specified using a property tuple
<&phandle base bit>, where 'base' is the peripheral (1, 2, 3, 5 or 6),
and bit is read-in value into that peripheral stipulated by the hardware
specification.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Provide u8500_clk with skeleton Device Tree support
Lee Jones [Tue, 17 Sep 2013 09:26:24 +0000 (10:26 +0100)]
clk: ux500: Provide u8500_clk with skeleton Device Tree support

The functional components will be added on a per-clock basis.

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Copy u8500_clk_init() ready for DT enablement
Lee Jones [Tue, 17 Sep 2013 09:11:53 +0000 (10:11 +0100)]
clk: ux500: Copy u8500_clk_init() ready for DT enablement

Here we're using the old clock initialisation function as a template.
It's necessary to remove all of the clk_register_clkdev() calls as
they don't make sense when booting with Device Tree.

Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 years agoclk: ux500: Remove BML8580 clock
Lee Jones [Thu, 8 Aug 2013 09:38:15 +0000 (10:38 +0100)]
clk: ux500: Remove BML8580 clock

There is no mention of the PRCMU_BML8580CLK in any of the Design
Specifications for the chips supported in Mainline. In fact, where it
is incorrectly used in the u8540 clock definition driver it would
have the side effect of using the incorrect clock management address
([PRCM_BML8580CLK_MGT] 0x108 instead of the correct value 0x04C).

Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>