OSDN Git Service

uclinux-h8/linux.git
11 years agoMerge branch 'drivers/mmc' into next/dt2 dt2
Arnd Bergmann [Mon, 14 May 2012 20:35:04 +0000 (22:35 +0200)]
Merge branch 'drivers/mmc' into next/dt2

Changes in the dt2 branch move stuff around that gets changed
in the drivers/mmc branch. I chose a non-obvious resolution by
adding the new bus-width property into all the tegra sdhci device
nodes.

Conflicts:
arch/arm/boot/dts/tegra-cardhu.dts
arch/arm/boot/dts/tegra-harmony.dts
arch/arm/boot/dts/tegra-ventana.dts

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agommc: dt: Consolidate DT bindings
Arnd Bergmann [Sun, 13 May 2012 04:14:24 +0000 (00:14 -0400)]
mmc: dt: Consolidate DT bindings

This patch unifies the current DT MMC bindings documentation and code,
adds generic MMC DT bindings documentation, and updates .dts files for
consistency.

[cjb: typo fixes, addition of max-frequency property]
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'for-3.5/dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren...
Arnd Bergmann [Mon, 14 May 2012 18:49:43 +0000 (20:49 +0200)]
Merge branch 'for-3.5/dt2' of git://git./linux/kernel/git/swarren/linux-tegra into for-next

Stephen Warren <swarren@wwwdotorg.org> writes:
  This branch is based on the merge of the following branches from the
  Tegra repo, which are all already pulled into arm-soc:

  for-3.5/tegra30-audio
  for-3.5/usb-ulpi
  for-3.5/dt
  ... which are all based on for-3.5/gpio-pinmux

* 'for-3.5/dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra:
  ARM: dt: tegra: invert status=disable vs status=okay
  ARM: dt: tegra: consistent basic property ordering
  ARM: dt: tegra: sort nodes based on bus order
  ARM: dt: tegra: remove duplicate device_type property
  ARM: dt: tegra: consistenly use lower-case for hex constants
  ARM: dt: tegra: format regs properties consistently
  ARM: dt: tegra: gpio comment cleanup
  ARM: dt: tegra: remove unnecessary unit addresses
  ARM: dt: tegra: whitespace cleanup
  ARM: dt: tegra cardhu: fix typo in SDHCI node name
  ARM: dt: tegra: cardhu: register core regulator tps62361
  ARM: dt: tegra30.dtsi: Add SMMU node
  ARM: dt: tegra20.dtsi: Add GART node
  ARM: dt: tegra30.dtsi: Add Memory Controller(MC) nodes
  ARM: dt: tegra20.dtsi: Add Memory Controller(MC) nodes
  ARM: dt: tegra: Add device tree support for AHB

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'omap/dt-missed-3.4' into drivers/mmc
Arnd Bergmann [Mon, 14 May 2012 19:45:55 +0000 (21:45 +0200)]
Merge branch 'omap/dt-missed-3.4' into drivers/mmc

The omap/dt branch adds a few instances of mmc device nodes that
need to get changed to use the common bindings. Pull that into
a new branch so we can apply the patch in a single run.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: dt: tegra: invert status=disable vs status=okay
Stephen Warren [Fri, 11 May 2012 23:32:56 +0000 (17:32 -0600)]
ARM: dt: tegra: invert status=disable vs status=okay

In tegra*.dtsi, set status="disable" for all HW modules that the board
design may choose not to use. Update all boards to specifically enable
any of those modules that are useful by setting status="okay".

This makes board files say which features they do use, rather than which
they don't, which feels more logical. It also makes the .dts files
slightly smaller, at least for existing content.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: consistent basic property ordering
Stephen Warren [Fri, 11 May 2012 23:12:52 +0000 (17:12 -0600)]
ARM: dt: tegra: consistent basic property ordering

Put properties in order compatible, reg, interrupts, then anything else
the node has.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: sort nodes based on bus order
Stephen Warren [Fri, 11 May 2012 23:03:26 +0000 (17:03 -0600)]
ARM: dt: tegra: sort nodes based on bus order

Sort the nodes according to the following rules:
* First, any overrides for properties or nodes created by included files,
  in the order they appeared in the include file.
* Second, any nodes with a reg property, in numerical order.
* Third, any nodes without a reg property, in alphabetical order of node
  name.

The second sorting rule at least will probably help if/when we need to
explicitly insert nodes for the various busses in Tegra; that will just
be an indentation change rather than also a node re-ordering.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: remove duplicate device_type property
Stephen Warren [Fri, 11 May 2012 23:06:44 +0000 (17:06 -0600)]
ARM: dt: tegra: remove duplicate device_type property

It's already specified in skeleton.dtsi, included via tegra20.dtsi.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: consistenly use lower-case for hex constants
Stephen Warren [Fri, 11 May 2012 22:28:59 +0000 (16:28 -0600)]
ARM: dt: tegra: consistenly use lower-case for hex constants

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: format regs properties consistently
Stephen Warren [Fri, 11 May 2012 22:26:03 +0000 (16:26 -0600)]
ARM: dt: tegra: format regs properties consistently

Place each reg "entry" on its own line, and wrap the whole list in
<> rather than each individual entry.

The convention chosen here is slightly arbitrary, but is not consistent
throughout all Tegra files.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: gpio comment cleanup
Stephen Warren [Fri, 11 May 2012 22:21:10 +0000 (16:21 -0600)]
ARM: dt: tegra: gpio comment cleanup

Ensure that all Tegraa GPIO specifiers contain a comment indicating which
GPIO name the number refers to.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: remove unnecessary unit addresses
Stephen Warren [Fri, 11 May 2012 22:17:47 +0000 (16:17 -0600)]
ARM: dt: tegra: remove unnecessary unit addresses

DT node names only need to include the unit address if it's required to
make the node name unique. Remove the unnecessary unit addresses.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra: whitespace cleanup
Stephen Warren [Fri, 11 May 2012 22:11:38 +0000 (16:11 -0600)]
ARM: dt: tegra: whitespace cleanup

Consistently don't place a space after < or before >.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoARM: dt: tegra cardhu: fix typo in SDHCI node name
Stephen Warren [Sat, 12 May 2012 00:01:38 +0000 (18:01 -0600)]
ARM: dt: tegra cardhu: fix typo in SDHCI node name

Cardhu's eMMC controller is on sdhci@78000600, not sdhci@78000400.
Fix the typo. This roughly doubles the IO performance, since the
support-8bit property actually takes effect.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Cc: stable@kernel.org # v3.4
11 years agoARM: dt: tegra: cardhu: register core regulator tps62361
Laxman Dewangan [Thu, 10 May 2012 20:38:45 +0000 (20:38 +0000)]
ARM: dt: tegra: cardhu: register core regulator tps62361

Add device info for the core regulator tps62360 in tegra-cardhu
dts file.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed node name to reflect actual device type]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra30.dtsi: Add SMMU node
hdoyu@nvidia.com [Wed, 9 May 2012 21:50:21 +0000 (21:50 +0000)]
ARM: dt: tegra30.dtsi: Add SMMU node

Add a node for the Tegra30 SMMU

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra20.dtsi: Add GART node
hdoyu@nvidia.com [Wed, 9 May 2012 21:45:33 +0000 (21:45 +0000)]
ARM: dt: tegra20.dtsi: Add GART node

Add a node for the Tegra20 GART

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra30.dtsi: Add Memory Controller(MC) nodes
hdoyu@nvidia.com [Wed, 9 May 2012 21:42:33 +0000 (21:42 +0000)]
ARM: dt: tegra30.dtsi: Add Memory Controller(MC) nodes

Add Tegra MC(Memory Controller) nodes for tegra30.dtsi.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra20.dtsi: Add Memory Controller(MC) nodes
hdoyu@nvidia.com [Wed, 9 May 2012 21:42:31 +0000 (21:42 +0000)]
ARM: dt: tegra20.dtsi: Add Memory Controller(MC) nodes

Add Tegra MC(Memory Controller) nodes for tegra20.dtsi.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra: Add device tree support for AHB
Hiroshi DOYU [Mon, 7 May 2012 06:43:47 +0000 (09:43 +0300)]
ARM: dt: tegra: Add device tree support for AHB

Add AHB entry for tegra20/30.

Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoMerge branch 'for-3.5/dt' into for-3.5/dt2-new
Stephen Warren [Mon, 14 May 2012 16:48:24 +0000 (10:48 -0600)]
Merge branch 'for-3.5/dt' into for-3.5/dt2-new

11 years agoMerge branch 'for-3.5/usb-ulpi' into for-3.5/dt2-new
Stephen Warren [Mon, 14 May 2012 16:48:21 +0000 (10:48 -0600)]
Merge branch 'for-3.5/usb-ulpi' into for-3.5/dt2-new

11 years agoMerge branch 'imx/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6.git...
Arnd Bergmann [Mon, 14 May 2012 13:24:45 +0000 (15:24 +0200)]
Merge branch 'imx/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6.git into next/dt2

Shawn Guo <shawn.guo@linaro.org> writes:

  I chose to base it on Sascha's imx-common-clk series than -rc, because
  otherwise it will keep patching clock file that has been removed by
  imx-common-clk series.  It also depends on imx-pinctrl pull-request
  I just sent to be functional.

  Note: when imx-common-clk and imx-pinctrl get merged together, the
  following files will have conflicts.  But the conflicts should not be
  so hard to resolve.

[arnd: resolved those merge conflicts by pulling pinctrl branch]

* imx/dt: (24 commits)
  ARM: dts: imx53-qsb: enable audio support
  ARM: dts: imx51-babbage: enable audio support
  ARM: imx: add audio codec clk lookup for imx53-qsb
  ARM: imx: add audmux pad setting for imx51-babbage
  ARM: imx: add more imx5 ssi clocks
  ARM: dts: imx53-qsb: Add Dialog DA9053 PMIC support
  ARM: dts: imx6q-sabrelite: add serial2 pinctrl support
  ARM: dts: imx6q-sabrelite: add sound device imx6q-sabrelite-sgtl5000
  ARM: imx6q_sabrelite: clk_register_clkdev cko1 for sgtl5000
  ARM: imx6q: add ssi1_ipg clk_lookup
  ARM: dts: imx6q-sabrelite: add audmux pinctrl support
  ARM: dts: imx6q-sabrelite: add i2c1 pinctrl support
  ARM: dts: imx6q-sabrelite: add audmux device
  ARM: dts: imx6q-sabrelite: add ssi device
  ARM: dts: imx6q-arm2: add pinctrl state for usdhc
  ARM: imx6: Add UART2 for low-level debug
  ARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled
  ARM: imx6q: move imx6q_sabrelite specific code to a dedicated function
  ARM: dts: imx6q-sabrelite: Add SPI NOR support
  ARM: dts: Add basic support for imx6q-sabresd
  ...

Pulls in imx/pinctrl and imx/clock as dependencies.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'imx/pinctrl' into imx/dt
Arnd Bergmann [Mon, 14 May 2012 13:23:13 +0000 (15:23 +0200)]
Merge branch 'imx/pinctrl' into imx/dt

Conflicts:
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/net/ethernet/freescale/fec.c
drivers/spi/spi-imx.c
drivers/tty/serial/imx.c

This resolves some simply but annoying conflicts.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'mxs/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6 into...
Olof Johansson [Sun, 13 May 2012 05:33:24 +0000 (22:33 -0700)]
Merge branch 'mxs/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt2

* 'mxs/dt/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6: (51 commits)
  ARM: dts: enable audio support for imx28-evk
  ARM: dts: enable i2c device for imx28-evk
  i2c: mxs: add device tree probe support
  ARM: dts: enable mmc for imx28-evk
  ARM: dts: enable mmc for imx23-evk
  mmc: mxs-mmc: add device tree support
  mmc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host
  mmc: mxs-mmc: have dma_channel than dma_res in mxs_mmc_host
  mmc: mxs-mmc: use devm_* helper to make cleanup simpler
  mmc: mxs-mmc: move header from mach into linux folder
  mmc: mxs-mmc: get rid of the use of cpu_is_xxx
  mmc: mxs-mmc: let ssp_is_old take host as parameter
  mmc: mxs-mmc: use global stmp_device functionality
  ARM: mxs: add gpio support for device tree boot
  gpio/mxs: add device tree probe
  gpio/mxs: get rid of the use of cpu_is_xxx
  gpio/mxs: use devm_* helpers to make error handling simple
  ARM: mxs: add mxs-dma dt support
  ARM: mxs: do not add dma device by default
  dma: mxs-dma: add device tree probe support
  ...

11 years agoARM: dts: enable audio support for imx28-evk
Shawn Guo [Thu, 10 May 2012 07:03:16 +0000 (15:03 +0800)]
ARM: dts: enable audio support for imx28-evk

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: enable i2c device for imx28-evk
Shawn Guo [Thu, 10 May 2012 07:02:10 +0000 (15:02 +0800)]
ARM: dts: enable i2c device for imx28-evk

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoi2c: mxs: add device tree probe support
Shawn Guo [Sat, 12 May 2012 05:43:32 +0000 (13:43 +0800)]
i2c: mxs: add device tree probe support

Add device tree probe support for i2c-mxs driver.  So far, it's only
been tested on imx28.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
11 years agoARM: dts: enable mmc for imx28-evk
Shawn Guo [Sun, 6 May 2012 08:33:34 +0000 (16:33 +0800)]
ARM: dts: enable mmc for imx28-evk

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: enable mmc for imx23-evk
Shawn Guo [Sun, 6 May 2012 08:29:36 +0000 (16:29 +0800)]
ARM: dts: enable mmc for imx23-evk

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agommc: mxs-mmc: add device tree support
Shawn Guo [Sun, 6 May 2012 05:30:44 +0000 (13:30 +0800)]
mmc: mxs-mmc: add device tree support

It adds device tree probe support for mxs-mmc driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host
Shawn Guo [Sun, 6 May 2012 05:33:40 +0000 (13:33 +0800)]
mmc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host

Copy wp_gpio from platform_data into struct mxs_mmc_host, so that
the use of platform_data can be limited in probe function, which
will ease the device tree probe.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: have dma_channel than dma_res in mxs_mmc_host
Shawn Guo [Sun, 6 May 2012 03:25:35 +0000 (11:25 +0800)]
mmc: mxs-mmc: have dma_channel than dma_res in mxs_mmc_host

It replaces dma_res with dma_channel in struct mxs_mmc_host, so that
the device tree support will be a little easier, since dma channel
can not be retrieved from "struct resource *dma_res".

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: use devm_* helper to make cleanup simpler
Shawn Guo [Sun, 6 May 2012 03:20:40 +0000 (11:20 +0800)]
mmc: mxs-mmc: use devm_* helper to make cleanup simpler

Use devm_request_and_ioremap and devm_request_irq helpers to clean up
the code a little bit.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: move header from mach into linux folder
Shawn Guo [Sun, 6 May 2012 02:04:23 +0000 (10:04 +0800)]
mmc: mxs-mmc: move header from mach into linux folder

Rename arch/arm/mach-mxs/include/mach/mmc.h to
include/linux/mmc/mxs-mmc.h, so that mxs-mmc driver becomes
<mach/*> inclusion free.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: get rid of the use of cpu_is_xxx
Shawn Guo [Sat, 5 May 2012 12:24:01 +0000 (20:24 +0800)]
mmc: mxs-mmc: get rid of the use of cpu_is_xxx

The register HW_SSP_VERSION is broken for ssp version detection,
as the address of the register is different between imx23 and imx28.
Let's use platform_device_id to detect the device, so that the use
of cpu_is_xxx can be removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: let ssp_is_old take host as parameter
Shawn Guo [Sun, 6 May 2012 01:36:39 +0000 (09:36 +0800)]
mmc: mxs-mmc: let ssp_is_old take host as parameter

Let macro ssp_is_old take host as parameter to make the code easy
to read.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agommc: mxs-mmc: use global stmp_device functionality
Shawn Guo [Sat, 5 May 2012 11:40:09 +0000 (19:40 +0800)]
mmc: mxs-mmc: use global stmp_device functionality

Use global stmp_device functionality to reduce mach-dependency.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agoARM: mxs: add gpio support for device tree boot
Shawn Guo [Fri, 4 May 2012 06:32:35 +0000 (14:32 +0800)]
ARM: mxs: add gpio support for device tree boot

It adds gpio support for device tree boot.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agogpio/mxs: add device tree probe
Shawn Guo [Fri, 4 May 2012 06:29:22 +0000 (14:29 +0800)]
gpio/mxs: add device tree probe

It adds device tree probe for gpio-mxs driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agogpio/mxs: get rid of the use of cpu_is_xxx
Shawn Guo [Thu, 3 May 2012 15:32:52 +0000 (23:32 +0800)]
gpio/mxs: get rid of the use of cpu_is_xxx

It removes the use of cpu_is_xxx from gpio-mxs driver and instead use
platform_device_id to identify the device.  Accordingly, mxs platform
code is changed to register gpio device with different names, and
the registeration are done in soc specific initialization functions
now, so postcore_initcall(mxs_add_mxs_gpio) gets removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agogpio/mxs: use devm_* helpers to make error handling simple
Shawn Guo [Fri, 4 May 2012 02:30:14 +0000 (10:30 +0800)]
gpio/mxs: use devm_* helpers to make error handling simple

It uses devm_* helpers to make the error handling of probe clean
and simple.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agoARM: mxs: add mxs-dma dt support
Dong Aisheng [Fri, 4 May 2012 12:12:19 +0000 (20:12 +0800)]
ARM: mxs: add mxs-dma dt support

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
11 years agoARM: mxs: do not add dma device by default
Dong Aisheng [Fri, 4 May 2012 12:12:18 +0000 (20:12 +0800)]
ARM: mxs: do not add dma device by default

This will cause conflict when dt is enabled.
So let each platform add dma devices respectively.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
11 years agodma: mxs-dma: add device tree probe support
Dong Aisheng [Fri, 4 May 2012 12:12:17 +0000 (20:12 +0800)]
dma: mxs-dma: add device tree probe support

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
11 years agodma: mxs-dma: make platform_device_id more generic
Shawn Guo [Wed, 9 May 2012 22:23:26 +0000 (06:23 +0800)]
dma: mxs-dma: make platform_device_id more generic

Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support
other SoCs like imx6q and reform the platform_device_id for the
better further dt support.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
11 years agodma: mxs-dma: let dma_is_apbh and apbh_is_old take parameter
Shawn Guo [Mon, 7 May 2012 06:14:08 +0000 (14:14 +0800)]
dma: mxs-dma: let dma_is_apbh and apbh_is_old take parameter

Let macros dma_is_apbh and apbh_is_old take mxs_dma as parameter
to make the code easy to read.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agodma: mxs-dma: use global stmp_device functionality
Dong Aisheng [Fri, 4 May 2012 12:12:15 +0000 (20:12 +0800)]
dma: mxs-dma: use global stmp_device functionality

This can get rid of the mach-dependency.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Huang Shijie <b32955@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
11 years agoARM: mxs: always build in device tree support
Shawn Guo [Fri, 4 May 2012 13:42:41 +0000 (21:42 +0800)]
ARM: mxs: always build in device tree support

As the ultimate for mxs platform is to convert over to device tree,
let's start always building in device tree support for the platform.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
11 years agoARM: mxs: add initial device tree support for imx23-evk board
Shawn Guo [Fri, 4 May 2012 13:33:42 +0000 (21:33 +0800)]
ARM: mxs: add initial device tree support for imx23-evk board

It adds initial device tree support for imx23-evk board, and only
serial console is enabled.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
11 years agoARM: mxs: add initial device tree support for imx28-evk board
Dong Aisheng [Sat, 31 Mar 2012 13:26:57 +0000 (21:26 +0800)]
ARM: mxs: add initial device tree support for imx28-evk board

This patch includes basic dt support which can boot via nfs rootfs.

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
11 years agoMerge branches 'clk/mxs' and 'imx/pinctrl/for-3.5' into mxs/dt/for-3.5
Shawn Guo [Sat, 12 May 2012 05:32:09 +0000 (13:32 +0800)]
Merge branches 'clk/mxs' and 'imx/pinctrl/for-3.5' into mxs/dt/for-3.5

11 years agoARM: mxs: enable pinctrl support
Shawn Guo [Sun, 6 May 2012 15:13:13 +0000 (23:13 +0800)]
ARM: mxs: enable pinctrl support

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agovideo: mxsfb: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 15:01:41 +0000 (23:01 +0800)]
video: mxsfb: adopt pinctrl support

Cc: linux-fbdev@vger.kernel.org
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoASoC: mxs-saif: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 15:00:50 +0000 (23:00 +0800)]
ASoC: mxs-saif: adopt pinctrl support

Cc: alsa-devel@alsa-project.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
11 years agoi2c: mxs: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 14:59:45 +0000 (22:59 +0800)]
i2c: mxs: adopt pinctrl support

Cc: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agomtd: nand: gpmi: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 14:57:41 +0000 (22:57 +0800)]
mtd: nand: gpmi: adopt pinctrl support

Cc: linux-mtd@lists.infradead.org
Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agommc: mxs-mmc: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 14:56:16 +0000 (22:56 +0800)]
mmc: mxs-mmc: adopt pinctrl support

Cc: linux-mmc@vger.kernel.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Chris Ball <cjb@laptop.org>
11 years agoserial: mxs-auart: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 14:54:26 +0000 (22:54 +0800)]
serial: mxs-auart: adopt pinctrl support

Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoserial: amba-pl011: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 14:53:35 +0000 (22:53 +0800)]
serial: amba-pl011: adopt pinctrl support

Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
11 years agospi/imx: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 12:28:12 +0000 (20:28 +0800)]
spi/imx: adopt pinctrl support

Cc: spi-devel-general@lists.sourceforge.net
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
11 years agoi2c: imx: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 12:27:17 +0000 (20:27 +0800)]
i2c: imx: adopt pinctrl support

Cc: linux-i2c@vger.kernel.org
Cc: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
11 years agocan: flexcan: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 12:25:13 +0000 (20:25 +0800)]
can: flexcan: adopt pinctrl support

Cc: linux-can@vger.kernel.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
11 years agonet: fec: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 12:24:04 +0000 (20:24 +0800)]
net: fec: adopt pinctrl support

Cc: netdev@vger.kernel.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
11 years agoARM: dts: imx53-qsb: enable audio support
Shawn Guo [Fri, 11 May 2012 05:12:01 +0000 (13:12 +0800)]
ARM: dts: imx53-qsb: enable audio support

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx51-babbage: enable audio support
Shawn Guo [Fri, 11 May 2012 05:08:46 +0000 (13:08 +0800)]
ARM: dts: imx51-babbage: enable audio support

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: add audio codec clk lookup for imx53-qsb
Shawn Guo [Fri, 11 May 2012 05:09:45 +0000 (13:09 +0800)]
ARM: imx: add audio codec clk lookup for imx53-qsb

On imx53-qsb board, the clk ssi_ext.0 is used as the clock input
to audio codec sgtl5000.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: add audmux pad setting for imx51-babbage
Shawn Guo [Fri, 11 May 2012 05:05:43 +0000 (13:05 +0800)]
ARM: imx: add audmux pad setting for imx51-babbage

Before i.MX51 Pinctrl support is available, we have to reply on
the iomux initialization in non-DT board file to set iomux up for
DT boot.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: add more imx5 ssi clocks
Shawn Guo [Thu, 3 May 2012 12:15:57 +0000 (20:15 +0800)]
ARM: imx: add more imx5 ssi clocks

Add more imx5 ssi clocks and lookup for device tree probe.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53-qsb: Add Dialog DA9053 PMIC support
Ying-Chun Liu (PaulLiu) [Tue, 8 May 2012 18:06:27 +0000 (02:06 +0800)]
ARM: dts: imx53-qsb: Add Dialog DA9053 PMIC support

Add Dialog DA9053 regulators support for imx53-qsb (Loco board)

Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Amit Kucheria <amit.kucheria@canonical.com>
Cc: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add serial2 pinctrl support
Richard Zhao [Wed, 9 May 2012 06:44:47 +0000 (14:44 +0800)]
ARM: dts: imx6q-sabrelite: add serial2 pinctrl support

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add sound device imx6q-sabrelite-sgtl5000
Richard Zhao [Wed, 9 May 2012 06:15:45 +0000 (14:15 +0800)]
ARM: dts: imx6q-sabrelite: add sound device imx6q-sabrelite-sgtl5000

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q_sabrelite: clk_register_clkdev cko1 for sgtl5000
Richard Zhao [Tue, 24 Apr 2012 06:19:13 +0000 (14:19 +0800)]
ARM: imx6q_sabrelite: clk_register_clkdev cko1 for sgtl5000

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: add ssi1_ipg clk_lookup
Richard Zhao [Mon, 23 Apr 2012 07:42:16 +0000 (15:42 +0800)]
ARM: imx6q: add ssi1_ipg clk_lookup

It's used by audio drivers.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add audmux pinctrl support
Richard Zhao [Wed, 9 May 2012 03:21:11 +0000 (11:21 +0800)]
ARM: dts: imx6q-sabrelite: add audmux pinctrl support

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add i2c1 pinctrl support
Richard Zhao [Wed, 9 May 2012 02:47:20 +0000 (10:47 +0800)]
ARM: dts: imx6q-sabrelite: add i2c1 pinctrl support

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add audmux device
Richard Zhao [Wed, 2 May 2012 02:32:26 +0000 (10:32 +0800)]
ARM: dts: imx6q-sabrelite: add audmux device

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: add ssi device
Richard Zhao [Wed, 2 May 2012 02:29:10 +0000 (10:29 +0800)]
ARM: dts: imx6q-sabrelite: add ssi device

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-arm2: add pinctrl state for usdhc
Dong Aisheng [Fri, 11 May 2012 06:58:00 +0000 (14:58 +0800)]
ARM: dts: imx6q-arm2: add pinctrl state for usdhc

Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6: Add UART2 for low-level debug
Dirk Behme [Fri, 27 Apr 2012 08:15:45 +0000 (10:15 +0200)]
ARM: imx6: Add UART2 for low-level debug

To be able to enable early debugging on boards using the UART2 for the
console, add the option for early debugging on UART2.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled
Shawn Guo [Tue, 8 May 2012 13:39:33 +0000 (21:39 +0800)]
ARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled

It fixes the following compile error with network disabled in
imx_v6_v7_defconfig.

arch/arm/mach-imx/built-in.o: In function `ksz9021rn_phy_fixup':
imx53-dt.c:(.text+0x5f70): undefined reference to `mdiobus_write'
imx53-dt.c:(.text+0x5f84): undefined reference to `mdiobus_write'
imx53-dt.c:(.text+0x5f98): undefined reference to `mdiobus_write'
imx53-dt.c:(.text+0x5fac): undefined reference to `mdiobus_write'
imx53-dt.c:(.text+0x5fc0): undefined reference to `mdiobus_write'
arch/arm/mach-imx/built-in.o: In function `imx6q_init_machine':
imx53-dt.c:(.init.text+0x387c): undefined reference to `phy_register_fixup_for_uid'
make: *** [.tmp_vmlinux1] Error 1

Reported-by: Artem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: move imx6q_sabrelite specific code to a dedicated function
Richard Zhao [Fri, 27 Apr 2012 07:02:59 +0000 (15:02 +0800)]
ARM: imx6q: move imx6q_sabrelite specific code to a dedicated function

It'll be easier to add other board specific code.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabrelite: Add SPI NOR support
Fabio Estevam [Tue, 24 Apr 2012 23:35:36 +0000 (20:35 -0300)]
ARM: dts: imx6q-sabrelite: Add SPI NOR support

mx6qsabrelite has a sst25vf016b SPI NOR flash connected to eCSPI1.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: Add basic support for imx6q-sabresd
Fabio Estevam [Sat, 21 Apr 2012 17:07:08 +0000 (14:07 -0300)]
ARM: dts: Add basic support for imx6q-sabresd

Add basic support for imx6q-sabresd.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q-arm2: Remove hardcoded mac address
Fabio Estevam [Wed, 11 Apr 2012 19:07:35 +0000 (16:07 -0300)]
ARM: imx6q-arm2: Remove hardcoded mac address

Do not hardcode the local mac address.

Let bootloader retrieve it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: rename uart and fec device tree nodes
Shawn Guo [Mon, 2 Apr 2012 06:39:26 +0000 (14:39 +0800)]
ARM: imx: rename uart and fec device tree nodes

It has been pointed out by device tree maintainer for several times
that the generic names 'serial' and 'ethernet' should be used for
those devices per ePAPR.  Renames imx uart and fec device tree nodes
to stop them being bad examples.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
11 years agoARM: dts: imx: Remove bootargs field
Fabio Estevam [Sun, 1 Apr 2012 16:54:13 +0000 (13:54 -0300)]
ARM: dts: imx: Remove bootargs field

Remove bootargs field as this information is retrieved from the bootloader.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: add anatop regulators
Ying-Chun Liu (PaulLiu) [Fri, 30 Mar 2012 13:46:53 +0000 (21:46 +0800)]
ARM: dts: imx6q: add anatop regulators

Add anatop regulators to imx6q.dtsi for all imx6q platforms.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agotty: serial: imx: adopt pinctrl support
Shawn Guo [Sun, 6 May 2012 12:21:05 +0000 (20:21 +0800)]
tty: serial: imx: adopt pinctrl support

Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
11 years agommc: sdhci-imx-esdhc: adopt pinctrl support
Dong Aisheng [Fri, 11 May 2012 06:56:01 +0000 (14:56 +0800)]
mmc: sdhci-imx-esdhc: adopt pinctrl support

Cc: linux-mmc@vger.kernel.org
Cc: Chris Ball <cjb@laptop.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
11 years agoMerge branch 'for-3.5/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren...
Olof Johansson [Thu, 10 May 2012 06:51:32 +0000 (23:51 -0700)]
Merge branch 'for-3.5/dt' of git://git./linux/kernel/git/swarren/linux-tegra into next/dt2

By Stephen Warren (29) and others
via Stephen Warren
* 'for-3.5/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra: (43 commits)
  ARM: dt: tegra trimslice: add support for audio
  ARM: dt: tegra trimslice: enable SDHCI1 controller
  ARM: dt: tegra trimslice: add RTC I2C device
  ARM: dt: tegra seaboard: add i2c devices
  ARM: dt: tegra seaboard: configure I2C2 pinmux
  ARM: dt: tegra seaboard: fix I2C2 SCL rate
  ARM: dt: tegra: enable als and proximity sensor
  + pinctrl mergebase branch

The pinctrl mergebase branch merge conflicts in drivers/pinctrl/core.c
that were resolved.

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM i.MX: remove now unused clock files
Sascha Hauer [Wed, 9 May 2012 07:00:40 +0000 (09:00 +0200)]
ARM i.MX: remove now unused clock files

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
11 years agoARM: i.MX6: implement clocks using common clock framework
Shawn Guo [Wed, 4 Apr 2012 12:53:22 +0000 (20:53 +0800)]
ARM: i.MX6: implement clocks using common clock framework

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
11 years agoARM i.MX35: implement clocks using common clock framework
Sascha Hauer [Tue, 3 Apr 2012 10:41:13 +0000 (12:41 +0200)]
ARM i.MX35: implement clocks using common clock framework

This patch also adds the SPDIF baud clock mux and dividers.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
11 years agoARM i.MX5: implement clocks using common clock framework
Sascha Hauer [Mon, 19 Mar 2012 11:36:57 +0000 (12:36 +0100)]
ARM i.MX5: implement clocks using common clock framework

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
11 years agoARM: mxs: remove now unused timer_clk argument from mxs_timer_init
Shawn Guo [Sat, 28 Apr 2012 16:02:41 +0000 (00:02 +0800)]
ARM: mxs: remove now unused timer_clk argument from mxs_timer_init

With old mxs clock support removed, the timer_clk argument of
mxs_timer_init is unused now, so remove it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxs: remove old clock support
Shawn Guo [Sat, 28 Apr 2012 16:02:40 +0000 (00:02 +0800)]
ARM: mxs: remove old clock support

The mxs clock has been switched to common clock framework, so the old
clock support can be removed now.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxs: switch to common clk framework
Shawn Guo [Sat, 28 Apr 2012 16:02:39 +0000 (00:02 +0800)]
ARM: mxs: switch to common clk framework

It switches mxs clock support to common clk framework based drivers.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxs: change the lookup name for fec phy clock
Shawn Guo [Sat, 28 Apr 2012 16:02:38 +0000 (00:02 +0800)]
ARM: mxs: change the lookup name for fec phy clock

Change the fec phy clock lookup name to be more accurate.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxs: request clock for timer
Shawn Guo [Sat, 28 Apr 2012 16:02:37 +0000 (00:02 +0800)]
ARM: mxs: request clock for timer

When mxs_timer_init() does not have a timer_clk passed in, it should
try to request clock from clkdev system.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>