]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Thu, 27 Jun 2013 12:57:42 +0000 (14:57 +0200)]
Merge branch 'next/soc' into for-next

11 years agoARM: integrator: let pciv3 use mem/premem from device tree
Linus Walleij [Tue, 25 Jun 2013 23:05:51 +0000 (01:05 +0200)]
ARM: integrator: let pciv3 use mem/premem from device tree

Instead of relying on the hard-coded mem/premem bases for
the PCI side, read in these from the device tree in the
DT probe path. Hard-code the old values on the non-DT probe
path. Introduce some static locals to hold these addresses
instead of the earlier static #defines.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: integrator: set local side PCI addresses right
Linus Walleij [Tue, 25 Jun 2013 23:05:38 +0000 (01:05 +0200)]
ARM: integrator: set local side PCI addresses right

This alters the local side address of the iospace to zero,
non prefetchable memory local side address to 0x00000000 and
prefetchable memory local side address to 0x10000000,
so as to match the values actually poked in by the driver.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Wed, 26 Jun 2013 18:17:03 +0000 (20:17 +0200)]
Merge branch 'next/soc' into for-next

11 years agoARM: dts: Add pcie controller node for exynos5440-ssdk5440
Jingoo Han [Fri, 21 Jun 2013 07:26:14 +0000 (16:26 +0900)]
ARM: dts: Add pcie controller node for exynos5440-ssdk5440

This patch adds pcie controller node for exynos5440-ssdk5440,
and also adds a phandle for pin controller node.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC
Jingoo Han [Fri, 21 Jun 2013 07:25:51 +0000 (16:25 +0900)]
ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

Exynos5440 has two PCIe controllers which can be used as root complex
for PCIe interface.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: EXYNOS: Enable PCIe support for Exynos5440
Jingoo Han [Fri, 21 Jun 2013 07:25:29 +0000 (16:25 +0900)]
ARM: EXYNOS: Enable PCIe support for Exynos5440

Enable PCIe support for Exynos5440 which has two PCIe controllers.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agopci: Add PCIe driver for Samsung Exynos
Jingoo Han [Fri, 21 Jun 2013 07:24:54 +0000 (16:24 +0900)]
pci: Add PCIe driver for Samsung Exynos

Exynos5440 has a PCIe controller which can be used as Root Complex.
This driver supports a PCIe controller as Root Complex mode.

Signed-off-by: Surendranath Gurivireddy Balla <suren.reddy@samsung.com>
Signed-off-by: Siva Reddy Kallam <siva.kallam@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Pratyush Anand <pratyush.anand@st.com>
Cc: Mohit KUMAR <Mohit.KUMAR@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/dt' into for-next
Arnd Bergmann [Wed, 26 Jun 2013 14:59:49 +0000 (16:59 +0200)]
Merge branch 'next/dt' into for-next

11 years agoMerge tag 'at91-dt' of git://github.com/at91linux/linux-at91 into next/dt
Arnd Bergmann [Wed, 26 Jun 2013 14:55:36 +0000 (16:55 +0200)]
Merge tag 'at91-dt' of git://github.com/at91linux/linux-at91 into next/dt

From Nicolas Ferre:

- more SPI DT activation for rm9200
- SPI DMA for at91sam9n12/sama5d3
And one little fix for SPI compatibility string

* tag 'at91-dt' of git://github.com/at91linux/linux-at91:
  ARM: at91: dt: rm9200ek: add spi support
  ARM: at91: dt: rm9200: add spi support
  ARM: at91/DT: at91sam9n12: add SPI DMA client infos
  ARM: at91/DT: sama5d3: add SPI DMA client infos
  ARM: at91/DT: fix SPI compatibility string

Conflicts:
arch/arm/boot/dts/sama5d3.dtsi

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Wed, 26 Jun 2013 14:53:26 +0000 (16:53 +0200)]
Merge branch 'next/soc' into for-next

11 years agoMerge tag 'omap-pm-v3.11/fixes/omap5-voltdm' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Wed, 26 Jun 2013 14:52:01 +0000 (16:52 +0200)]
Merge tag 'omap-pm-v3.11/fixes/omap5-voltdm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into next/soc

From Kevin Hilman:

OMAP5: PM: fix boot by removing unneeded dummy voltage domain data

* tag 'omap-pm-v3.11/fixes/omap5-voltdm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm:
  ARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoarm-soc: add back some missing lines in contents.txt
Arnd Bergmann [Wed, 26 Jun 2013 13:59:22 +0000 (15:59 +0200)]
arm-soc: add back some missing lines in contents.txt

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: at91: dt: rm9200ek: add spi support
Jean-Christophe PLAGNIOL-VILLARD [Mon, 17 Jun 2013 12:38:28 +0000 (14:38 +0200)]
ARM: at91: dt: rm9200ek: add spi support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoARM: at91: dt: rm9200: add spi support
Jean-Christophe PLAGNIOL-VILLARD [Mon, 17 Jun 2013 12:38:27 +0000 (14:38 +0200)]
ARM: at91: dt: rm9200: add spi support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoARM: at91/DT: at91sam9n12: add SPI DMA client infos
Nicolas Ferre [Mon, 24 Jun 2013 10:21:29 +0000 (12:21 +0200)]
ARM: at91/DT: at91sam9n12: add SPI DMA client infos

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoARM: at91/DT: sama5d3: add SPI DMA client infos
Nicolas Ferre [Mon, 24 Jun 2013 10:16:05 +0000 (12:16 +0200)]
ARM: at91/DT: sama5d3: add SPI DMA client infos

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Wenyou Yang <wenyou.yang@atmel.com>
11 years agoARM: at91/DT: fix SPI compatibility string
Nicolas Ferre [Mon, 24 Jun 2013 10:04:55 +0000 (12:04 +0200)]
ARM: at91/DT: fix SPI compatibility string

In previous version of SPI driver we where using different compatibility stings
for finding SPI features. We are now using the IP revision information.
So we stay with the unique compatibility string for this driver:
"atmel,at91rm9200-spi".

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Wenyou Yang <wenyou.yang@atmel.com>
11 years agoARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data
Nishanth Menon [Tue, 25 Jun 2013 23:56:00 +0000 (18:56 -0500)]
ARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data

commit 20d49e9ccfece526db755940721aa13e331936d4
(ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data)

Introduced dummy volt data for OMAP5 with OMAP4460 voltage information.

However with the fixes introduced in later patches

commit cd8abed1da91a3250aa4b3857479613a2b446f84
(ARM: OMAP2+: Powerdomain: Remove the need to always have a voltdm
 associated to a pwrdm)

We are no longer restricted in that respect. Further, OPP voltage
information is supposed to be provided by dts information. This needs
to be added in future patches as various voltage modules are converted
to dts.

This also fixes the build breakage for voltagedomains54xx_data.c when just
OMAP5 SoC is enabled: https://patchwork.kernel.org/patch/2764191/

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Kevin Hilman <khilman@linaro.org>
11 years agoMerge branch 'next/late' into for-next
Olof Johansson [Tue, 25 Jun 2013 20:44:28 +0000 (13:44 -0700)]
Merge branch 'next/late' into for-next

* next/late:
  ARM: stih41x: Add B2020 board support
  ARM: stih41x: Add B2000 board support
  ARM: sti: Add DEBUG_LL console support
  ARM: sti: Add STiH416 SOC support
  ARM: sti: Add STiH415 SOC support
  arm: Add Initial TI-Nspire support
  arm: Add device trees for TI-Nspire hardware

Signed-off-by: Olof Johansson <olof@lixom.net>
Conflicts:
arch/arm/Kconfig.debug

11 years agoMerge branch 'sti/soc' into next/late
Olof Johansson [Tue, 25 Jun 2013 20:43:28 +0000 (13:43 -0700)]
Merge branch 'sti/soc' into next/late

From Srinivas Kandagatla <srinivas.kandagatla@st.com>:

This patch-set adds basic support for STMicroelectronics STi series SOCs
which includes STiH415 and STiH416 with B2000 and B2020 board support.

STiH415 and STiH416 are dual-core ARM Cortex-A9 CPU, designed for
use in Set-top-boxes. The SOC support is available in mach-sti which
contains support code for STiH415, STiH416 SOCs including the generic
board support.

The reason for adding two SOCs at this patch set is to show that no new
C code is required for second SOC(STiH416) support.

* sti/soc:
  ARM: stih41x: Add B2020 board support
  ARM: stih41x: Add B2000 board support
  ARM: sti: Add DEBUG_LL console support
  ARM: sti: Add STiH416 SOC support
  ARM: sti: Add STiH415 SOC support

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'nspire/soc' into next/late
Olof Johansson [Tue, 25 Jun 2013 20:36:09 +0000 (13:36 -0700)]
Merge branch 'nspire/soc' into next/late

From Daniel Tang <dt.tangr@gmail.com>

This is the initial platform code for the TI-Nspire graphing
calculators. The platform support is rather unspectacular, but still
contains platform data for the LCD panel, which will get removed once
there is a DT binding for the AMBA CLCD driver.

* nspire/soc:
  arm: Add Initial TI-Nspire support
  arm: Add device trees for TI-Nspire hardware

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM: stih41x: Add B2020 board support
Srinivas Kandagatla [Tue, 25 Jun 2013 11:16:13 +0000 (12:16 +0100)]
ARM: stih41x: Add B2020 board support

B2020 ADI board is reference board for STIH415/416 SOCs, it has 2 x
UART, 4x USB, 1 x Ethernet, 1 x SATA, 1 x PCIe, and 2GB RAM  with
standard set-top box IPs.

This patch adds initial support to B2020 with STiH415/416 with SBC_UART1
as console and a heard beat LED.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
CC: Stephen Gallimore <stephen.gallimore@st.com>
CC: Stuart Menefy <stuart.menefy@st.com>
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM: stih41x: Add B2000 board support
Srinivas Kandagatla [Tue, 25 Jun 2013 11:16:04 +0000 (12:16 +0100)]
ARM: stih41x: Add B2000 board support

B2000 board is reference board for STIH415/416 SOCs, it has
2 x UART, 4x USB, 2 x Ethernet, 1 x SATA, 1 x PCIe, and 1GB RAM.

This patch add initial support to b2000 with STiH415/416 with UART2 as
console and a heard beat LED.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
CC: Stephen Gallimore <stephen.gallimore@st.com>
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/drivers' into for-next
Olof Johansson [Tue, 25 Jun 2013 18:23:16 +0000 (11:23 -0700)]
Merge branch 'next/drivers' into for-next

* next/drivers:
  crypto: ux500: use dmaengine_submit API
  crypto: ux500: use dmaengine_prep_slave_sg API
  crypto: ux500: use dmaengine_device_control API
  crypto: ux500/crypt: add missing __iomem qualifiers
  crypto: ux500/hash: add missing static qualifiers
  crypto: ux500/hash: use readl on iomem addresses
  dmaengine: ste_dma40: Declare memcpy config as static
  dmaengine: ste_dma40: fix error return code in d40_probe()

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/fixes-non-critical' into for-next
Olof Johansson [Tue, 25 Jun 2013 18:17:03 +0000 (11:17 -0700)]
Merge branch 'next/fixes-non-critical' into for-next

* next/fixes-non-critical:
  ARM: tegra: fix section mismatch in tegra_pmc_parse_dt

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/fixes-non-critical' into for-next
Olof Johansson [Tue, 25 Jun 2013 17:09:34 +0000 (10:09 -0700)]
Merge branch 'next/fixes-non-critical' into for-next

* next/fixes-non-critical:
  ARM: mvebu: fix length of ethernet registers in mv78260 dtsi

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/late' into for-next
Olof Johansson [Tue, 25 Jun 2013 17:08:43 +0000 (10:08 -0700)]
Merge branch 'next/late' into for-next

* next/late:
  pinctrl: exynos: add exynos5420 SoC specific data
  ARM: dts: add pinctrl support to EXYNOS5420

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/fixes-non-critical' into HEAD
Arnd Bergmann [Mon, 24 Jun 2013 14:48:35 +0000 (16:48 +0200)]
Merge branch 'next/fixes-non-critical' into HEAD

11 years agoMerge branch 'next/soc' into HEAD
Arnd Bergmann [Mon, 24 Jun 2013 14:48:19 +0000 (16:48 +0200)]
Merge branch 'next/soc' into HEAD

11 years agoARM: sti: Add DEBUG_LL console support
Srinivas Kandagatla [Tue, 25 Jun 2013 11:15:32 +0000 (12:15 +0100)]
ARM: sti: Add DEBUG_LL console support

This patch adds low level debug uart support to sti based SOCs.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
CC: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM: sti: Add STiH416 SOC support
Srinivas Kandagatla [Tue, 25 Jun 2013 11:15:23 +0000 (12:15 +0100)]
ARM: sti: Add STiH416 SOC support

The STiH416 is advanced HD AVC processor with 3D graphics acceleration
and 1.2-GHz ARM Cortex-A9 SMP CPU.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
CC: Stephen Gallimore <stephen.gallimore@st.com>
CC: Stuart Menefy <stuart.menefy@st.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM: sti: Add STiH415 SOC support
Srinivas Kandagatla [Tue, 25 Jun 2013 11:15:10 +0000 (12:15 +0100)]
ARM: sti: Add STiH415 SOC support

The STiH415 is the next generation of HD, AVC set-top box processors for
satellite, cable, terrestrial and IP-STB markets. It is an ARM Cortex-A9
1.0 GHz, dual-core CPU.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
CC: Stephen Gallimore <stephen.gallimore@st.com>
CC: Stuart Menefy <stuart.menefy@st.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'ux500-dma40-for-arm-soc-3' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Tue, 25 Jun 2013 18:20:15 +0000 (11:20 -0700)]
Merge tag 'ux500-dma40-for-arm-soc-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/drivers

From Linus Walleij:
DMA40 fixes for earlier submitted driver patches:
- Fix various error path and sparse bugs in the DMA40 driver
- Fix various compile errors in the ux500 crypto driver
  (dependent on the DMA40 changes).

* tag 'ux500-dma40-for-arm-soc-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  crypto: ux500: use dmaengine_submit API
  crypto: ux500: use dmaengine_prep_slave_sg API
  crypto: ux500: use dmaengine_device_control API
  crypto: ux500/crypt: add missing __iomem qualifiers
  crypto: ux500/hash: add missing static qualifiers
  crypto: ux500/hash: use readl on iomem addresses
  dmaengine: ste_dma40: Declare memcpy config as static
  dmaengine: ste_dma40: fix error return code in d40_probe()

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoARM: tegra: fix section mismatch in tegra_pmc_parse_dt
Stephen Warren [Fri, 21 Jun 2013 22:39:07 +0000 (16:39 -0600)]
ARM: tegra: fix section mismatch in tegra_pmc_parse_dt

tegra_pmc_parse_dt() references __initconst data. Fix it to be __init.
This matches its only usage; a call from tegra_pmc_init() which is
already __init. This fixes:

WARNING: vmlinux.o(.text.unlikely+0x580): Section mismatch in reference
from the function tegra_pmc_parse_dt() to the (unknown reference)
.init.rodata:(unknown)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'fixes-non-3.11-2' of git://git.infradead.org/users/jcooper/linux into...
Olof Johansson [Tue, 25 Jun 2013 17:08:26 +0000 (10:08 -0700)]
Merge tag 'fixes-non-3.11-2' of git://git.infradead.org/users/jcooper/linux into next/fixes-non-critical

From Jason Cooper:
 - mv78260: catch missing fix for mvneta register length

* tag 'fixes-non-3.11-2' of git://git.infradead.org/users/jcooper/linux:
  ARM: mvebu: fix length of ethernet registers in mv78260 dtsi

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'soc-exynos5420-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...
Olof Johansson [Tue, 25 Jun 2013 15:50:18 +0000 (08:50 -0700)]
Merge tag 'soc-exynos5420-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/late

From Kukjin Kim, this adds pinctrl support for Exynos 5420.

* tag 'soc-exynos5420-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  pinctrl: exynos: add exynos5420 SoC specific data
  ARM: dts: add pinctrl support to EXYNOS5420

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agocrypto: ux500: use dmaengine_submit API
Fabio Baltieri [Tue, 25 Jun 2013 08:54:49 +0000 (10:54 +0200)]
crypto: ux500: use dmaengine_submit API

Use dmaengine_submit instead of calling desc->tx_submit manually.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agocrypto: ux500: use dmaengine_prep_slave_sg API
Fabio Baltieri [Tue, 25 Jun 2013 08:54:48 +0000 (10:54 +0200)]
crypto: ux500: use dmaengine_prep_slave_sg API

Use dmaengine_prep_slave_sg inline function instead of going through the
structures manually.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agocrypto: ux500: use dmaengine_device_control API
Fabio Baltieri [Tue, 25 Jun 2013 08:54:47 +0000 (10:54 +0200)]
crypto: ux500: use dmaengine_device_control API

Use dmaengine_device_control inline function instead of going through the
structures manually.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agocrypto: ux500/crypt: add missing __iomem qualifiers
Fabio Baltieri [Tue, 25 Jun 2013 08:54:46 +0000 (10:54 +0200)]
crypto: ux500/crypt: add missing __iomem qualifiers

Add missing __iomem to struct cryp_register pointers, this solve some
"incorrect type in initializer (different address spaces)" sparse
warnings.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agocrypto: ux500/hash: add missing static qualifiers
Fabio Baltieri [Tue, 25 Jun 2013 08:54:45 +0000 (10:54 +0200)]
crypto: ux500/hash: add missing static qualifiers

Add missing static qualifiers to hash_process_data and hash_hw_final.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agocrypto: ux500/hash: use readl on iomem addresses
Fabio Baltieri [Tue, 25 Jun 2013 08:54:44 +0000 (10:54 +0200)]
crypto: ux500/hash: use readl on iomem addresses

Always use readl when reading memory mapped registers.

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agoMerge tag 'davinci-for-v3.11/soc-2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 24 Jun 2013 14:46:23 +0000 (16:46 +0200)]
Merge tag 'davinci-for-v3.11/soc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/soc

From Sekhar Nori:

DaVinci SoC updates for v3.11 - part 2

This pull request adds DT and runtime PM to
EDMA ARM private API so it can be used on
DT enabled DaVinci and OMAP platforms.

Also adds DMA channel crossbar mapping
support to be used by DT-enabled platforms
which use it.

* tag 'davinci-for-v3.11/soc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  dmaengine: edma: enable build for AM33XX
  ARM: edma: Add EDMA crossbar event mux support
  ARM: edma: Add DT and runtime PM support to the private EDMA API
  dmaengine: edma: Add TI EDMA device tree binding
  ARM: edma: Convert to devm_* api

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: keystone: Move CPU bringup code to dedicated asm file
Santosh Shilimkar [Fri, 21 Jun 2013 22:54:47 +0000 (18:54 -0400)]
ARM: keystone: Move CPU bringup code to dedicated asm file

Because of inline asm usage in platsmp.c, smc instruction
creates build failure for ARM V6+V7 build where as using instruction
encoding for smc breaks the thumb2 build.

So move the code snippet to separate asm file and mark
it with 'armv7-a$(plus_sec)' to avoid any build issues.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: multiplatform: always pick one CPU type
Arnd Bergmann [Mon, 3 Jun 2013 13:38:58 +0000 (15:38 +0200)]
ARM: multiplatform: always pick one CPU type

With the new default platform code, we can always boot using DT
without requiring a board file, but we cannot build a kernel
unless we select at least one CPU core, which breaks some
"randconfig" builds.

This adapts the ARCH_MULTI_V4T and ARCH_MULTI_V5 options so we
always default to a common CPU core if no platform was enabled
that picks something else. The default we pick for ARMv4T is
ARM920T, while for ARMv5 we pick ARM926T.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: imx: select syscon for IMX6SL
Arnd Bergmann [Mon, 3 Jun 2013 13:46:53 +0000 (15:46 +0200)]
ARM: imx: select syscon for IMX6SL

This is required for building a kernel that enables only
IMX6SL but not IMX6Q, which would get a build error when
syscon is not available.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: keystone: select ARM_ERRATA_798181 only for SMP
Arnd Bergmann [Fri, 21 Jun 2013 23:03:47 +0000 (01:03 +0200)]
ARM: keystone: select ARM_ERRATA_798181 only for SMP

Selecting this symbol causes a build warning without SMP:

warning: (ARCH_KEYSTONE) selects ARM_ERRATA_798181 which has unmet direct dependencies (CPU_V7 && SMP)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
11 years agoARM: imx: Synertronixx scb9328 needs to select SOC_IMX1
Arnd Bergmann [Mon, 3 Jun 2013 13:46:53 +0000 (15:46 +0200)]
ARM: imx: Synertronixx scb9328 needs to select SOC_IMX1

This is required for building a kernel that enables only
scb9328 and would not get the i.MX1 specific files
otherwise.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sascha Hauer <kernel@pengutronix.de>
11 years agoARM: OMAP2+: AM43x: resolve SMP related build error
Mohammed, Afzal [Mon, 24 Jun 2013 08:13:45 +0000 (08:13 +0000)]
ARM: OMAP2+: AM43x: resolve SMP related build error

If AM43x and SMP is selected, OMAP4 & OMAP5 deselected, build error as
follows,

arch/arm/mach-omap2/built-in.o: In function `scu_gp_set':
arch/arm/mach-omap2/sleep44xx.S:131: undefined reference to `omap4_get_scu_base'
arch/arm/mach-omap2/sleep44xx.S:132: undefined reference to `scu_power_mode'
arch/arm/mach-omap2/built-in.o: In function `scu_gp_clear':
arch/arm/mach-omap2/sleep44xx.S:227: undefined reference to `omap4_get_scu_base'
arch/arm/mach-omap2/sleep44xx.S:229: undefined reference to `scu_power_mode'

Resolve it by building sleep44xx.S only for OMAP4 & OMAP5.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: mxs: don't select HAVE_PWM
Arnd Bergmann [Mon, 3 Jun 2013 13:57:31 +0000 (15:57 +0200)]
ARM: mxs: don't select HAVE_PWM

The HAVE_PWM symbol is only for legacy platforms that provide
the PWM API without using the generic framework. MXS actually
uses that framework, and selecting the symbol anyway might
cause build errors like

drivers/built-in.o: In function `pwm_beeper_resume':
:(.text+0x1f4fc0): undefined reference to `pwm_config'
:(.text+0x1f4fc8): undefined reference to `pwm_enable'
drivers/built-in.o: In function `pwm_beeper_suspend':
:(.text+0x1f4ffc): undefined reference to `pwm_disable'

when CONFIG_PWM is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxs: stub out mxs_pm_init for !CONFIG_PM
Arnd Bergmann [Mon, 3 Jun 2013 14:00:22 +0000 (16:00 +0200)]
ARM: mxs: stub out mxs_pm_init for !CONFIG_PM

When building a kernel without CONFIG_PM, we get a link
error from referencing mxs_pm_init in the machine
descriptor. This defines a macro to NULL for that case.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
11 years agocpuidle: calxeda: select ARM_CPU_SUSPEND
Arnd Bergmann [Tue, 30 Apr 2013 21:00:47 +0000 (23:00 +0200)]
cpuidle: calxeda: select ARM_CPU_SUSPEND

Like other ARM specific drivers, this one requires ARM_CPU_SUSPEND,
as shown by this linker error:

drivers/built-in.o: In function `calxeda_pwrdown_idle':
drivers/cpuidle/cpuidle-calxeda.c:84: undefined reference to `cpu_suspend'
drivers/cpuidle/cpuidle-calxeda.c:86: undefined reference to `cpu_resume'

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-pm@vger.kernel.org
11 years agodmaengine: ste_dma40: Declare memcpy config as static
Fabio Baltieri [Thu, 20 Jun 2013 09:17:39 +0000 (11:17 +0200)]
dmaengine: ste_dma40: Declare memcpy config as static

Fix sparse warnings:

drivers/dma/ste_dma40.c:81:26: warning: symbol 'dma40_memcpy_conf_phy' was not declared. Should it be static?
drivers/dma/ste_dma40.c:95:26: warning: symbol 'dma40_memcpy_conf_log' was not declared. Should it be static?

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 years agodmaengine: edma: enable build for AM33XX
Matt Porter [Thu, 20 Jun 2013 21:06:40 +0000 (16:06 -0500)]
dmaengine: edma: enable build for AM33XX

Enable TI EDMA option on OMAP and TI_PRIV_EDMA

Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
11 years agoARM: edma: Add EDMA crossbar event mux support
Matt Porter [Thu, 20 Jun 2013 21:06:39 +0000 (16:06 -0500)]
ARM: edma: Add EDMA crossbar event mux support

EDMA supports a cross bar which provides ability
to mux additional events into physical channels
present in the channel controller.

This is required when the number of events present
in the system are more than number of available
physical channels.

Changes by Joel:
* Split EDMA xbar support out of original EDMA DT parsing patch
to keep it easier for review.
* Rewrite shift and offset calculation.

Suggested-by: Sekhar Nori <nsekhar@ti.com>
Suggested by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
[nsekhar@ti.com: fix checkpatch errors and a minor coding improvement]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
11 years agoARM: edma: Add DT and runtime PM support to the private EDMA API
Matt Porter [Thu, 20 Jun 2013 21:06:38 +0000 (16:06 -0500)]
ARM: edma: Add DT and runtime PM support to the private EDMA API

Adds support for parsing the TI EDMA DT data into the required EDMA
private API platform data. Enables runtime PM support to initialize
the EDMA hwmod. Enables build on OMAP.

Changes by Joel:
* Setup default one-to-one mapping for queue_priority and queue_tc
mapping as discussed in [1].
* Split out xbar stuff to separate patch. [1]
* Dropped unused DT helper to convert to array
* Fixed dangling pointer issue with Sekhar's changes

[1] https://patchwork.kernel.org/patch/2226761/

Signed-off-by: Matt Porter <mporter@ti.com>
[nsekhar@ti.com: fix checkpatch errors, build breakages. Introduce
edma_setup_info_from_dt() as part of that effort]
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
11 years agodmaengine: edma: Add TI EDMA device tree binding
Matt Porter [Thu, 20 Jun 2013 21:06:37 +0000 (16:06 -0500)]
dmaengine: edma: Add TI EDMA device tree binding

The binding definition is based on the generic DMA controller
binding.

Joel:
* Droped reserved and queue DT entries from Documentation
for now from the original patch series (v10)
* Included properties in Documentation and clarified DMA properties (V11)
* Made ti,hwmod option
* Clarified DMA entries

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
11 years agoARM: mvebu: fix length of ethernet registers in mv78260 dtsi
Ezequiel Garcia [Sat, 22 Jun 2013 16:52:27 +0000 (13:52 -0300)]
ARM: mvebu: fix length of ethernet registers in mv78260 dtsi

The length of the registers area for the Marvell 370/XP Ethernet controller
was incorrect in the .dtsi: 0x2500, while it should have been 0x4000.
This problem wasn't noticed because there used to be a static mapping for
all the MMIO register region set up by ->map_io().

The register length was fixed in all the other device tree files,
except from the armada-xp-mv78260.dtsi, in the following commit:

  commit cf8088c5cac6ce20d914b9131533844b9291a054
  Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  Date:   Tue May 21 12:33:27 2013 +0200

    arm: mvebu: fix length of Ethernet registers area in .dtsi

This commit fixes a kernel panic in mvneta_probe(), when the kernel
tries to access the unmapped registers:

[  163.639092] mvneta d0070000.ethernet eth0: mac: 6e:3c:4f:87:17:2e
[  163.646962] mvneta d0074000.ethernet eth1: mac: 6a:04:4e:6f:f5:ef
[  163.654853] mvneta d0030000.ethernet eth2: mac: 2a:99:19:19:fc:4c
[  163.661258] Unable to handle kernel paging request at virtual address f011bcf0
[  163.668523] pgd = c0004000
[  163.671237] [f011bcf0] *pgd=2f006811, *pte=00000000, *ppte=00000000
[  163.677565] Internal error: Oops: 807 [#1] SMP ARM
[  163.682370] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc6-01850-gba0682e #11
[  163.690046] task: ef04c000 ti: ef03e000 task.ti: ef03e000
[  163.695467] PC is at mvneta_probe+0x34c/0xabc
[...]

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
11 years agoarm: Add Initial TI-Nspire support
Daniel Tang [Tue, 11 Jun 2013 08:40:17 +0000 (18:40 +1000)]
arm: Add Initial TI-Nspire support

This patch adds support for the TI-Nspire platform.

Changes between v1 and v2:
* Added GENERIC_IRQ_CHIP to platform Kconfig

Signed-off-by: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoarm: Add device trees for TI-Nspire hardware
Daniel Tang [Tue, 11 Jun 2013 08:40:18 +0000 (18:40 +1000)]
arm: Add device trees for TI-Nspire hardware

This patch adds device trees for describing the TI-Nspire hardware.

Changes between v1 and v2:
* Change "keymap" binding to the standard "linux,keymap" binding.

Signed-off-by: Daniel Tang <dt.tangr@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 18:01:07 +0000 (20:01 +0200)]
Merge branch 'next/soc' into for-next

11 years agoMerge tag 'regmap-3.11-2' of git://git.infradead.org/users/jcooper/linux into next/soc
Arnd Bergmann [Fri, 21 Jun 2013 18:00:08 +0000 (20:00 +0200)]
Merge tag 'regmap-3.11-2' of git://git.infradead.org/users/jcooper/linux into next/soc

From Jason Cooper:

mvebu register map changes for v3.11 (round 2)

This series removes the hardcoded register base address for mvebu.

For round 2:
 - multiplatform
    - fix booting on anything other than mvebu

Depends (none new for round 2):
 - mvebu/fixes-non-critical (up to tags/fixes-non-3.11-1)
 - mvebu/cleanup (up to tags/cleanup-3.11-3)

* tag 'regmap-3.11-2' of git://git.infradead.org/users/jcooper/linux:
  arm: mvebu: fix coherency_late_init() for multiplatform

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/dt' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 17:57:11 +0000 (19:57 +0200)]
Merge branch 'next/dt' into for-next

Conflicts:
arch/arm/boot/dts/kirkwood.dtsi

11 years agoMerge tag 'dt-3.11-6' of git://git.infradead.org/users/jcooper/linux into next/dt
Arnd Bergmann [Fri, 21 Jun 2013 17:54:13 +0000 (19:54 +0200)]
Merge tag 'dt-3.11-6' of git://git.infradead.org/users/jcooper/linux into next/dt

From Jason Cooper:

mvebu dt changes for v3.11 (round 6)

 - mvebu
    - mini-PCIe connectors on Armada 370 RD

 - kirkwood
    - correct internal register ranges translation

* tag 'dt-3.11-6' of git://git.infradead.org/users/jcooper/linux:
  ARM: Kirkwood: Fix the internal register ranges translation
  arm: mvebu: enable mini-PCIe connectors on Armada 370 RD

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: Kirkwood: Fix the internal register ranges translation
Ezequiel Garcia [Tue, 18 Jun 2013 15:31:19 +0000 (12:31 -0300)]
ARM: Kirkwood: Fix the internal register ranges translation

Although the internal register window size is 1 MiB, the previous
ranges translation for the internal register space had a size of
0x4000000. This was done to allow the crypto and nand node to access
the corresponding 'sram' and 'nand' decoding windows.

In order to describe the hardware more accurately, we declare the
real 1 MiB internal register space in the ranges, and add a translation
entry for the nand node to access the 'nand' window.

This commit will make future improvements on the MBus DT binding easier.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
11 years agoMerge branch 'next/boards' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:49:39 +0000 (15:49 +0200)]
Merge branch 'next/boards' into for-next

11 years agoMerge tag 'zynq-defconfig-for-3.11' of git://git.xilinx.com/linux-xlnx into next...
Arnd Bergmann [Fri, 21 Jun 2013 13:48:32 +0000 (15:48 +0200)]
Merge tag 'zynq-defconfig-for-3.11' of git://git.xilinx.com/linux-xlnx into next/boards

From Michal Simek:

arm: Xilinx Zynq defconfig changes for v3.11

Enable zynq uartps driver and initrd in defconfig.

* tag 'zynq-defconfig-for-3.11' of git://git.xilinx.com/linux-xlnx:
  arm: multi_v7_defconfig: Enable initrd/initramfs support
  arm: multi_v7_defconfig: Enable Zynq UART driver

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/cleanup' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:40:06 +0000 (15:40 +0200)]
Merge branch 'next/cleanup' into for-next

11 years agoMerge branch 'armsoc/for-3.11/cleanups' of git://github.com/broadcom/bcm11351 into...
Arnd Bergmann [Fri, 21 Jun 2013 13:39:24 +0000 (15:39 +0200)]
Merge branch 'armsoc/for-3.11/cleanups' of git://github.com/broadcom/bcm11351 into next/cleanup

From Christian Daudt:

* 'armsoc/for-3.11/cleanups' of git://github.com/broadcom/bcm11351:
  ARM: bcm281xx: Remove init_irq declaration in machine description

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/dt' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:37:20 +0000 (15:37 +0200)]
Merge branch 'next/dt' into for-next

11 years agoMerge branch 'next/drivers' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:16:32 +0000 (15:16 +0200)]
Merge branch 'next/drivers' into for-next

11 years agoMerge branch 'armsoc/for-3.11/dt' of git://github.com/broadcom/bcm11351 into next/dt
Arnd Bergmann [Fri, 21 Jun 2013 13:30:50 +0000 (15:30 +0200)]
Merge branch 'armsoc/for-3.11/dt' of git://github.com/broadcom/bcm11351 into next/dt

From Christian Daudt:

* 'armsoc/for-3.11/dt' of git://github.com/broadcom/bcm11351:
  ARM: dts: bcm281xx: change comment to C89 style
  ARM: mmc: bcm281xx SDHCI driver (dt mods)
  ARM: dts: bcm281xx: use existing defines for irqs
  ARM: dts: bcm281xx: use #include for device tree files

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'renesas-dt2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 21 Jun 2013 13:28:16 +0000 (15:28 +0200)]
Merge tag 'renesas-dt2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt

From Simon Horman:

Second Round of Renesas ARM-based SoC DT updates for v3.11

* Increased DT coverage for renesas-intc-irqpin
  by Guennadi Liakhovetski
* Clean up of address format used in sh73a0 dtsi file
  by Guennadi Liakhovetski

* tag 'renesas-dt2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: irqpin: add a DT property to enable masking on parent
  ARM: shmobile: sh73a0: remove "0x" prefix from DT node names
  irqchip: renesas-intc-irqpin: DT binding for sense bitfield width

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'renesas-gpio-rcar2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 21 Jun 2013 13:15:57 +0000 (15:15 +0200)]
Merge tag 'renesas-gpio-rcar2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers

From Simon Horman:

Second Round of Renesas ARM based SoC GPIO R-Car updates for v3.11

Documentation enhancement and code cleanup by Laurent Pinchart.

* tag 'renesas-gpio-rcar2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  gpio-rcar: Remove #ifdef CONFIG_OF around OF-specific sections
  gpio-rcar: Reference core gpio documentation in the DT bindings

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'renesas-pinmux2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 21 Jun 2013 13:14:10 +0000 (15:14 +0200)]
Merge tag 'renesas-pinmux2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers

From Simon Horman:

Second Round of Renesas ARM based SoC pinmux and GPIO update for v3.11

tidyup MMC_D1 pin for r8a7778 SoC
fix two pin numbers and add HSCIF pin groups to r8a7790 SoC
add pinmux data for MMCIF and SDHI interfaces for r8a73a4 SoC

* tag 'renesas-pinmux2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  sh-pfc: r8a7778: tidyup MMC_D1 pin
  pinctrl: r8a7790: fix two pin numbers
  sh-pfc: r8a7790: add HSCIF pin groups
  pinctrl: r8a73a4: add pinmux data for MMCIF and SDHI interfaces

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/boards' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:11:51 +0000 (15:11 +0200)]
Merge branch 'next/boards' into for-next

Conflicts:
arch/arm/mach-shmobile/board-bockw.c

11 years agoMerge tag 'renesas-boards2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 21 Jun 2013 13:09:42 +0000 (15:09 +0200)]
Merge tag 'renesas-boards2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/boards

From Simon Horman:

Second Round of Renesas ARM-based SoC board updates for v3.11

* Extended hardware coverage for the Bock-W board
  by Goda-san and Morimoto-san
* Correction to Ether device name for the Bock-W board
  from Sergei Shtylyov

* tag 'renesas-boards2-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: BOCK-W: change Ether device name
  ARM: shmobile: bockw: add MMCIF support
  ARM: shmobile: bockw: add SPI FLASH support
  ARM: shmobile: bockw: add I2C device support
  ARM: shmobile: BOCK-W: add Ether support

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:02:09 +0000 (15:02 +0200)]
Merge branch 'next/soc' into for-next

11 years agoMerge branch 'next/late' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 13:02:04 +0000 (15:02 +0200)]
Merge branch 'next/late' into for-next

Conflicts:
arch/arm/mach-shmobile/setup-r8a7778.c

11 years agoMerge tag 'soc-exynos5420-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...
Arnd Bergmann [Fri, 21 Jun 2013 13:00:24 +0000 (15:00 +0200)]
Merge tag 'soc-exynos5420-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/late

From Kukjin Kim:

based on tags/common-clk-audio
- add support for exynos5420 SoC

* tag 'soc-exynos5420-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:

  ARM: EXYNOS: extend soft-reset support for EXYNOS5420
  ARM: EXYNOS: add secondary CPU boot base location for EXYNOS5420
  clocksource: exynos_mct: use (request/free)_irq calls for local timer registration
  ARM: dts: Add initial device tree support for EXYNOS5420
  clk: exynos5420: register clocks using common clock framework
  ARM: EXYNOS: use four additional chipid bits to identify EXYNOS family
  serial: samsung: select EXYNOS specific driver data if ARCH_EXYNOS is defined
  ARM: EXYNOS: Add support for EXYNOS5420 SoC
  ARM: dts: list the CPU nodes for EXYNOS5250
  ARM: dts: fork out common EXYNOS5 nodes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Fri, 21 Jun 2013 12:57:38 +0000 (14:57 +0200)]
Merge tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc

From Simon Horman:

Renesas ARM based SoC boot cleanup for v3.11

Work by Magnus Damm and others to clean up the boot of and move
things closer to supporting multi-arch.

As a side effect of this work it was decided to remove support for
two boards, Bonito and AP4EVB. Those patches are included in this
series as they depend on earlier patches in the series.

* tag 'renesas-cleanup-boot-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Remove Bonito board support
  ARM: shmobile: Remove AP4EVB board support
  ARM: shmobile: Remove mach/memory.h
  ARM: shmobile: Remove MEMORY_START/SIZE
  ARM: shmobile: Enable ARM_PATCH_PHYS_VIRT
  ARM: shmobile: Remove old SCU boot code
  ARM: shmobile: EMEV2 SMP with SCU boot fn and args
  ARM: shmobile: sh73a0 SMP with SCU boot fn and args
  ARM: shmobile: r8a7779 SMP with SCU boot fn and args
  ARM: shmobile: Add SCU boot function using argument
  ARM: shmobile: Add SMP boot function and argument
  ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys()
  ARM: shmobile: Remove romImage CONFIG_MEMORY_START
  ARM: shmobile: Let romImage rely on default ATAGS
  ARM: shmobile: uImage load address rework

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'renesas-cleanup-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 21 Jun 2013 12:54:09 +0000 (14:54 +0200)]
Merge tag 'renesas-cleanup-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/late

From Simon Horman:

Renesas ARM based SoC cleanups for v3.11

__initdata annotations for the r8a7790 SoC by Morimoto-san.

* tag 'renesas-cleanup-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (158 commits)
  ARM: shmobile: r8a7790: add __initdata on resource and device data

Based on 'renesas-pinmux-for-v3.11' and 'renesas-soc-for-v3.11

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/drivers' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 12:50:10 +0000 (14:50 +0200)]
Merge branch 'next/drivers' into for-next

11 years agoMerge branch 'ux500/cleanup' into next/drivers
Arnd Bergmann [Fri, 21 Jun 2013 12:48:58 +0000 (14:48 +0200)]
Merge branch 'ux500/cleanup' into next/drivers

Patches from Lee Jones:

This gets rid of  mop500_snowball_ethernet_clock_enable() which is no
longer in use. It also straightens out a bug which ensures the SMSC911x's
regulator is turned on at start-up when using Device Tree.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: ux500: Remove mop500_snowball_ethernet_clock_enable()
Lee Jones [Tue, 18 Jun 2013 08:51:59 +0000 (09:51 +0100)]
ARM: ux500: Remove mop500_snowball_ethernet_clock_enable()

mop500_snowball_ethernet_clock_enable() provided a means to enable a
clock which was used for the SMSC911x Ethernet device on Snowball. It
was merely a stand-in until the driver was common clk compliant. Now
that it is, this can be removed for both DT and ATAGs booting.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agoARM: ux500: Correct the EN_3v3 regulator's on/off GPIO
Lee Jones [Tue, 18 Jun 2013 08:51:58 +0000 (09:51 +0100)]
ARM: ux500: Correct the EN_3v3 regulator's on/off GPIO

When this node was added, the AB8500 GPIO driver was pretty broken.
As a hack, we pretended that NOMADIK GPIO 26 was the correct on/off
pin, as it was unused. It worked because AB8500 GPIO 26 was in an
'always on from boot' state. Now the AB8500 GPIO driver is working,
the default state for all the pins is 'off'. Let's flip back over to
use the correct GPIO which is _actually_ attached to the regulator.

We're also taking the opportunity to straighten out some formatting
misdemeanours, swapping spaces for tabs.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agoARM: ux500: Provide a AB8500 GPIO Device Tree node
Lee Jones [Tue, 18 Jun 2013 08:51:57 +0000 (09:51 +0100)]
ARM: ux500: Provide a AB8500 GPIO Device Tree node

Here we're adding a node for the AB8500 GPIO device. This will allow
other DT:ed components to obtain GPIOs for use within their drivers.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Fri, 21 Jun 2013 09:47:57 +0000 (11:47 +0200)]
Merge branch 'next/soc' into for-next

11 years agoMerge tag 'v3.11-rockchip-basics' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 21 Jun 2013 09:46:56 +0000 (11:46 +0200)]
Merge tag 'v3.11-rockchip-basics' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/soc

From Heiko Stuebner:

Adds basic support for Rockchip Cortex-A9 SoCs.

* tag 'v3.11-rockchip-basics' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm: add basic support for Rockchip RK3066a boards
  arm: add debug uarts for rockchip rk29xx and rk3xxx series
  arm: Add basic clocks for Rockchip rk3066a SoCs
  clocksource: dw_apb_timer_of: use clocksource_of_init
  clocksource: dw_apb_timer_of: select DW_APB_TIMER
  clocksource: dw_apb_timer_of: add clock-handling
  clocksource: dw_apb_timer_of: enable the use the clocksource as sched clock

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoarm: add basic support for Rockchip RK3066a boards
Heiko Stuebner [Sun, 2 Jun 2013 21:09:41 +0000 (23:09 +0200)]
arm: add basic support for Rockchip RK3066a boards

This adds a generic devicetree board file and a dtsi for boards
based on the RK3066a SoCs from Rockchip.

Apart from the generic parts (gic, clocks, pinctrl) the only components
currently supported are the timers, uarts and mmc ports (all DesignWare-
based).

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Olof Johansson <olof@lixom.net>
11 years agoarm: add debug uarts for rockchip rk29xx and rk3xxx series
Heiko Stuebner [Tue, 28 May 2013 20:13:52 +0000 (22:13 +0200)]
arm: add debug uarts for rockchip rk29xx and rk3xxx series

Uarts on all recent Rockchip SoCs are Synopsis DesignWare 8250 types.
Only their addresses vary very much.

This patch adds the necessary definitions to use any of the uart ports
for early debug purposes.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
11 years agoarm: Add basic clocks for Rockchip rk3066a SoCs
Heiko Stuebner [Thu, 13 Jun 2013 14:18:11 +0000 (16:18 +0200)]
arm: Add basic clocks for Rockchip rk3066a SoCs

This adds a basic clock setup for rk3066a SoCs. Only the gates are
set up currently, as the mux and dividers should use the upcoming
generic devicetree bindings.

Clocks whose rates need to be known are supplied by fixed-rate
"dummy"-clocks that provide the correct rate. This is uncritical insofar
that the only bootloader currently in existence for Rockchip devices
is the propietary Rockchip one that always setups the clocks in the
necessary way.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
11 years agoarm: multi_v7_defconfig: Enable initrd/initramfs support
Soren Brinkmann [Wed, 19 Jun 2013 17:53:04 +0000 (10:53 -0700)]
arm: multi_v7_defconfig: Enable initrd/initramfs support

Add CONFIG_BLK_DEV_INITRD to the defconfig to support
initramfs and initrd.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoarm: multi_v7_defconfig: Enable Zynq UART driver
Soren Brinkmann [Wed, 19 Jun 2013 17:53:03 +0000 (10:53 -0700)]
arm: multi_v7_defconfig: Enable Zynq UART driver

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoARM: dts: bcm281xx: change comment to C89 style
Matt Porter [Tue, 11 Jun 2013 18:45:58 +0000 (14:45 -0400)]
ARM: dts: bcm281xx: change comment to C89 style

CodingStyle does not allow C99 style comments. Since the
dts files live in the kernel for now, make this compliant.

Signed-off-by: Matt Porter <matt.porter@linaro.org>
Acked-by: Christian Daudt <csd@broadcom.com>
11 years agoARM: mmc: bcm281xx SDHCI driver (dt mods)
Christian Daudt [Fri, 10 May 2013 07:10:07 +0000 (00:10 -0700)]
ARM: mmc: bcm281xx SDHCI driver (dt mods)

Add SDHCI bindings for the Broadcom 281xx SoCs.

Changes from V2:
 - Documentation cleanups

Changes from V1:
 - split original patch into 2, one for driver and this one for dt

Signed-off-by: Christian Daudt <csd@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'next/dt' into for-next
Arnd Bergmann [Thu, 20 Jun 2013 21:03:44 +0000 (23:03 +0200)]
Merge branch 'next/dt' into for-next

Conflicts:
arch/arm/mach-omap2/cclock33xx_data.c

11 years agoMerge branch 'for_3.11/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson...
Arnd Bergmann [Thu, 20 Jun 2013 21:01:41 +0000 (23:01 +0200)]
Merge branch 'for_3.11/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into next/dt

From Benoit Cousson:

omap devicetree changes for v3.11 merge window

- Add mandatory DT support for missing IPs, like USB host,
  bandgap, LED, NAND, LAN, CPSW, PWM for OMAP and AMXX devices.
- Introduce new AM43x silicon.

* 'for_3.11/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt: (52 commits)
  ARM: dts: omap5-uevm: Provide USB Host PHY clock frequency
  ARM: dts: omap4-panda: Fix DVI EDID reads
  ARM: dts: omap4-panda: Add USB Host support
  ARM: dts: AM43x EPOS EVM support
  ARM: dts: OMAP5: Add bandgap DT entry
  ARM: dts: AM33XX: Add pinmux configuration for CPSW to am335x EVM
  ARM: dts: AM33XX: Add pinmux configuration for CPSW to EVMsk
  ARM: dts: AM33XX: Add pinmux configuration for CPSW to beaglebone
  ARM: dts: omap3-overo: Add default trigger for TWL4030 LED
  ARM: dts: omap3-tobi: Correct polarity for GPIO LED
  ARM: dts: omap3-tobi: Add SMSC911X node
  ARM: dts: OMAP3: Include IRQ header
  ARM: dts: Protect pinctrl headers against multiple inclusions
  ARM: AM33XX: clock data: Enable clkout2 as part of init
  ARM: AM33XX: clock: Add debugSS clock nodes
  ARM: dts: OMAP5: Add Palmas MFD node and regulator nodes
  ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk
  ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm
  ARM: dts: AM33XX: Add PWMSS device tree nodes
  ARM: dts: OMAP4460: Add bandgap entry for OMAP4460 devices
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
11 years agoMerge branch 'next/soc' into for-next
Arnd Bergmann [Thu, 20 Jun 2013 20:52:03 +0000 (22:52 +0200)]
Merge branch 'next/soc' into for-next

Conflicts:
arch/arm/Kconfig