GitHub/mt8127/android_kernel_alcatel_ttab.git
11 years agoMerge branch 'board-specific' of git://github.com/hzhuang1/linux into late/board
Arnd Bergmann [Wed, 25 Jul 2012 19:41:33 +0000 (21:41 +0200)]
Merge branch 'board-specific' of git://github.com/hzhuang1/linux into late/board

From Haojian Zhuang <haojian.zhuang@gmail.com>:

* 'board-specific' of git://github.com/hzhuang1/linux:
  ARM: pxa: hx4700: Use DEFINE_RES_* macros consistently
  ARM: pxa: remove eseries.h

It seems I missed this in the original pull requests for v3.6, adding
it now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas...
Arnd Bergmann [Thu, 19 Jul 2012 21:20:22 +0000 (23:20 +0200)]
Merge branch 'board' of git://git./linux/kernel/git/rafael/renesas into late/board

From "Rafael J. Wysocki" <rjw@sisk.pl>:

updates for Renesas ARM-based boards for v3.6.  Included are:

* Regulator support changes for multiple boards from Guennadi Liakhovetski.
* armadillo800eva and kzm9g support updates from Kuninori Morimoto
  and Tetsuyuki Kobayashi.
* GPIO support update for multiple boards from Kuninori Morimoto.
* defconfig updates from Magnus Damm and Simon Horman.

This is based on the 'soc' branch I've just sent a pull request for and on
the following topic branch from the Mark Brown's regulator tree:

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/topic/fixed

which is requisite for the merge.

* 'board' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas: (35 commits)
  ARM: shmobile: kzm9g: defconfig enable INOTIFY_USER
  ARM: mach-shmobile: armadillo800eva: defconfig Allow use of armhf userspace
  ARM: shmobile: armadillo800eva: A3SP domain includes USB
  ARM: shmobile: armadillo800eva: A4LC domain includes LCDC
  ARM: shmobile: armadillo800eva: USB Func enables external IRQ mode
  ARM: mach-shmobile: kzm9d: Add defconfig
  ARM: mach-shmobile: select the fixed regulator driver on several boards
  ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
  ARM: mach-shmobile: add fixed voltage regulators to marzen
  ARM: mach-shmobile: add fixed voltage regulators to kzm9g
  ARM: mach-shmobile: add fixed voltage regulators to kzm9d
  ARM: mach-shmobile: add fixed voltage regulators to kota2
  ARM: mach-shmobile: add fixed voltage regulators to g4evm
  ARM: mach-shmobile: add fixed voltage regulators to bonito
  ARM: mach-shmobile: add fixed voltage regulators to armadillo800eva
  ARM: mach-shmobile: add fixed voltage regulators to ap4evb
  ARM: mach-shmobile: add fixed voltage regulators to ag5evm
  ARM: mach-shmobile: add 3.3V and 1.8V fixed regulators to mackerel
  ARM: shmobile: use common extra gpio functions on g4evm
  ARM: shmobile: use common extra gpio functions on ap4evb
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'topic/fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Arnd Bergmann [Thu, 19 Jul 2012 21:19:26 +0000 (23:19 +0200)]
Merge tag 'topic/fixed' of git://git./linux/kernel/git/broonie/regulator into late/board

regulator: Fixed voltage regulator registration APIs

Some new convenience APIs for registering fixed voltage regulators.

* tag 'topic/fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

Dependency for renesas/board branch.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas...
Arnd Bergmann [Thu, 19 Jul 2012 21:17:12 +0000 (23:17 +0200)]
Merge branch 'soc' of git://git./linux/kernel/git/rafael/renesas into late/soc

updates for Renesas ARM-based SoCs for v3.6.  Included are:

* Updates for the r8a7740, sh73a0 and sh7372 SoCs from Kuninori Morimoto.
* Low-level power management code reorganization from Kuninori Morimoto.
* Wakeup signaling rework for sh7372 and DT support bits for r8a7740 and
  sh7377 from Magnus Damm.
* Assorted fixes.

This branch also includes fixes based on top of v3.5-rc3 that have
been already merged into arm-soc and mainline, which are not listed below.

* 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas: (43 commits)
  ARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config
  ARM: shmobile: Take cpuidle dependencies into account correctly
  ARM: mach-shmobile: sh7377 generic board support via DT
  ARM: mach-shmobile: r8a7740 generic board support via DT
  ARM: shmobile: sh7372: completely switch over to using pm-rmobile API
  ARM: shmobile: ap4evb: switch to using pm-rmobile API
  ARM: shmobile: mackerel: switch to using pm-rmobile API
  ARM: shmobile: sh7372: add pm-rmobile domain support
  ARM: shmobile: r8a7740: add A4LC pm domain support
  ARM: shmobile: r8a7740: add A3SP pm domain support
  ARM: shmobile: r8a7740: add A4S pm domain support
  ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: shmobile: sh7372 A3SM CPUIdle support
  ARM: shmobile: Use INTCA with sh7372 A3SM power domain
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register
  ARM: shmobile: use common DMAEngine definitions on sh7372
  ARM: shmobile: use common DMAEngine definitions on sh73a0
  ARM: shmobile: sh73a0: add DMAEngine support for MPDMAC
  ARM: shmobile: sh73a0: add USB clock support
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'renesas-marzen' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:08:06 +0000 (23:08 +0200)]
Merge branch 'renesas-marzen' into renesas-board

* renesas-marzen:
  ARM: mach-shmobile: add fixed voltage regulators to marzen

11 years agoMerge branch 'renesas-mackerel' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:57 +0000 (23:07 +0200)]
Merge branch 'renesas-mackerel' into renesas-board

* renesas-mackerel:
  ARM: mach-shmobile: add 3.3V and 1.8V fixed regulators to mackerel
  ARM: shmobile: use common extra gpio functions on Mackerel

11 years agoMerge branch 'renesas-kzm9g' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:44 +0000 (23:07 +0200)]
Merge branch 'renesas-kzm9g' into renesas-board

* renesas-kzm9g:
  ARM: shmobile: kzm9g: defconfig enable INOTIFY_USER
  ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
  ARM: mach-shmobile: add fixed voltage regulators to kzm9g
  ARM: shmobile: kzm9g: enable DMAEngine on MMCIF
  ARM: shmobile: kzm9g: enable DMAEngine on FSI
  ARM: shmobile: kzm9g: enable MicroSD
  ARM: shmobile: kzm9g: enable USB function

11 years agoMerge branch 'renesas-kzm9d' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:37 +0000 (23:07 +0200)]
Merge branch 'renesas-kzm9d' into renesas-board

* renesas-kzm9d:
  ARM: mach-shmobile: kzm9d: Add defconfig
  ARM: mach-shmobile: add fixed voltage regulators to kzm9d

11 years agoMerge branch 'renesas-kota2' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:29 +0000 (23:07 +0200)]
Merge branch 'renesas-kota2' into renesas-board

* renesas-kota2:
  ARM: mach-shmobile: add fixed voltage regulators to kota2

11 years agoMerge branch 'renesas-g4evm' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:22 +0000 (23:07 +0200)]
Merge branch 'renesas-g4evm' into renesas-board

* renesas-g4evm:
  ARM: mach-shmobile: add fixed voltage regulators to g4evm
  ARM: shmobile: use common extra gpio functions on g4evm

11 years agoMerge branch 'renesas-bonito' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:13 +0000 (23:07 +0200)]
Merge branch 'renesas-bonito' into renesas-board

* renesas-bonito:
  ARM: mach-shmobile: add fixed voltage regulators to bonito

11 years agoMerge branch 'renesas-ap4evb' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:07:05 +0000 (23:07 +0200)]
Merge branch 'renesas-ap4evb' into renesas-board

* renesas-ap4evb:
  ARM: mach-shmobile: add fixed voltage regulators to ap4evb
  ARM: shmobile: use common extra gpio functions on ap4evb

11 years agoMerge branch 'renesas-ag5evm' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:06:57 +0000 (23:06 +0200)]
Merge branch 'renesas-ag5evm' into renesas-board

* renesas-ag5evm:
  ARM: mach-shmobile: add fixed voltage regulators to ag5evm

11 years agoMerge branch 'renesas-armadillo' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:06:35 +0000 (23:06 +0200)]
Merge branch 'renesas-armadillo' into renesas-board

* renesas-armadillo:
  ARM: mach-shmobile: armadillo800eva: defconfig Allow use of armhf userspace
  ARM: shmobile: armadillo800eva: A3SP domain includes USB
  ARM: shmobile: armadillo800eva: A4LC domain includes LCDC
  ARM: shmobile: armadillo800eva: USB Func enables external IRQ mode
  ARM: mach-shmobile: add fixed voltage regulators to armadillo800eva
  ARM: shmobile: use common extra gpio functions on armadillo800eva
  ARM: shmobile: armadillo800eva: enable DMAEngine on USB
  ARM: shmobile: armadillo800eva: enable DMAEngine on SDHI
  ARM: shmobile: armadillo800eva: enable DMAEngine on FSI
  ARM: shmobile: armadillo800eva: enable FSI-HDMI sound
  ARM: shmobile: armadillo800eva: enable FSI-WM8978 sound

Conflicts:
arch/arm/mach-shmobile/Kconfig

11 years agoMerge branch 'renesas-board-common' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:05:06 +0000 (23:05 +0200)]
Merge branch 'renesas-board-common' into renesas-board

* renesas-board-common:
  ARM: mach-shmobile: select the fixed regulator driver on several boards
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

Conflicts:
arch/arm/mach-shmobile/Kconfig

11 years agoMerge branch 'renesas-soc' into renesas-board
Rafael J. Wysocki [Wed, 11 Jul 2012 21:03:54 +0000 (23:03 +0200)]
Merge branch 'renesas-soc' into renesas-board

* renesas-soc: (31 commits)
  ARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config
  ARM: shmobile: Take cpuidle dependencies into account correctly
  ARM: mach-shmobile: sh7377 generic board support via DT
  ARM: mach-shmobile: r8a7740 generic board support via DT
  ARM: shmobile: sh7372: completely switch over to using pm-rmobile API
  ARM: shmobile: ap4evb: switch to using pm-rmobile API
  ARM: shmobile: mackerel: switch to using pm-rmobile API
  ARM: shmobile: sh7372: add pm-rmobile domain support
  ARM: shmobile: r8a7740: add A4LC pm domain support
  ARM: shmobile: r8a7740: add A3SP pm domain support
  ARM: shmobile: r8a7740: add A4S pm domain support
  ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: shmobile: sh7372 A3SM CPUIdle support
  ARM: shmobile: Use INTCA with sh7372 A3SM power domain
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register
  ARM: shmobile: use common DMAEngine definitions on sh7372
  ARM: shmobile: use common DMAEngine definitions on sh73a0
  ARM: shmobile: sh73a0: add DMAEngine support for MPDMAC
  ARM: shmobile: sh73a0: add USB clock support
  ...

11 years agoMerge branch 'renesas-sh7377' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:02:37 +0000 (23:02 +0200)]
Merge branch 'renesas-sh7377' into renesas-soc

* renesas-sh7377:
  ARM: mach-shmobile: sh7377 generic board support via DT

11 years agoMerge branch 'renesas-sh7372' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:02:31 +0000 (23:02 +0200)]
Merge branch 'renesas-sh7372' into renesas-soc

* renesas-sh7372:
  ARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config
  ARM: shmobile: Take cpuidle dependencies into account correctly
  ARM: shmobile: sh7372: completely switch over to using pm-rmobile API
  ARM: shmobile: ap4evb: switch to using pm-rmobile API
  ARM: shmobile: mackerel: switch to using pm-rmobile API
  ARM: shmobile: sh7372: add pm-rmobile domain support
  ARM: shmobile: sh7372 A3SM CPUIdle support
  ARM: shmobile: Use INTCA with sh7372 A3SM power domain
  ARM: shmobile: use common DMAEngine definitions on sh7372
  ARM: shmobile: sh7372: remove unused sh7372_a3sp_init() on !CONFIG_PM

11 years agoMerge branch 'renesas-sh73a0' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:02:18 +0000 (23:02 +0200)]
Merge branch 'renesas-sh73a0' into renesas-soc

* renesas-sh73a0:
  ARM: shmobile: use common DMAEngine definitions on sh73a0
  ARM: shmobile: sh73a0: add DMAEngine support for MPDMAC
  ARM: shmobile: sh73a0: add USB clock support

11 years agoMerge branch 'renesas-r8a7740' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:02:05 +0000 (23:02 +0200)]
Merge branch 'renesas-r8a7740' into renesas-soc

* renesas-r8a7740:
  ARM: mach-shmobile: r8a7740 generic board support via DT
  ARM: shmobile: r8a7740: add A4LC pm domain support
  ARM: shmobile: r8a7740: add A3SP pm domain support
  ARM: shmobile: r8a7740: add A4S pm domain support
  ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
  ARM: shmobile: use common DMAEngine definitions on r8a7740
  ARM: shmobile: r8a7740: add DMAEngine support for USB
  ARM: shmobile: r8a7740: add DMAEngine support for SDHI
  ARM: shmobile: r8a7740: add DMAEngine support for FSI

11 years agoMerge branch 'renesas-soc-core' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:01:33 +0000 (23:01 +0200)]
Merge branch 'renesas-soc-core' into renesas-soc

* renesas-soc-core:
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register
  ARM: shmobile: add common DMAEngine definitions
  ARM: shmobile: add common extra gpio functions

Conflicts:
arch/arm/mach-shmobile/clock-r8a7740.c

11 years agoMerge branch 'renesas-fixes' into renesas-soc
Rafael J. Wysocki [Wed, 11 Jul 2012 21:00:18 +0000 (23:00 +0200)]
Merge branch 'renesas-fixes' into renesas-soc

* renesas-fixes:
  ARM: shmobile: r8a7779: Route all interrupts to ARM
  ARM: shmobile: kzm9d: use late init machine hook
  ARM: shmobile: kzm9g: use late init machine hook
  ARM: mach-shmobile: armadillo800eva: Use late init machine hook

11 years agoARM: shmobile: kzm9g: defconfig enable INOTIFY_USER
Simon Horman [Wed, 11 Jul 2012 20:59:20 +0000 (22:59 +0200)]
ARM: shmobile: kzm9g: defconfig enable INOTIFY_USER

This is required for udev to run which is common to many user-spaces.

It is my understanding that this is a requirement for automated
testing conducted by Iwamatsu-san.

Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config
Rafael J. Wysocki [Wed, 11 Jul 2012 20:55:12 +0000 (22:55 +0200)]
ARM: shmobile: Fix build problem in pm-sh7372.c for unusual .config

If neither CONFIG_SUSPEND nor CONFIG_CPU_IDLE is set in the kernel
configuration file, build error occurs in
arch/arm/mach-shmobile/pm-sh7372.c.

Fix it by rearranging #ifdefs in that file to make the
definition of sh7372_suspend_init() depend only on
CONFIG_SUSPEND and the definition of sh7372_cpuidle_init()
depend only on CONFIG_CPU_IDLE.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
11 years agoARM: shmobile: Take cpuidle dependencies into account correctly
Magnus Damm [Wed, 11 Jul 2012 20:54:05 +0000 (22:54 +0200)]
ARM: shmobile: Take cpuidle dependencies into account correctly

The sh7372's cpuidle code uses cpu_suspend() and cpu_resume() in
its implementation of the .enter() callback for deeper C-states, so
make ARCH_SH7372 select ARM_CPU_SUSPEND if CPU_IDLE is set to satisfy
all of the build dependencies (it has to be selected for CONFIG_PM
as well for the system suspend handling).

[rjw: Added the subject and changelog.]

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: armadillo800eva: defconfig Allow use of armhf userspace
Simon Horman [Fri, 6 Jul 2012 11:08:15 +0000 (20:08 +0900)]
ARM: mach-shmobile: armadillo800eva: defconfig Allow use of armhf userspace

This allows use a Debian armhf usespace
as well as the existing ability to use a Debian armel userspace.

Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: sh7377 generic board support via DT
Magnus Damm [Fri, 6 Jul 2012 08:10:02 +0000 (17:10 +0900)]
ARM: mach-shmobile: sh7377 generic board support via DT

Add generic DT board support for the sh7377 SoC.

SCIF serial ports and timers are kept as regular
platform devices. Other on-chip and on-board devices
should be configured via the device tree.

At this point there is no interrupt controller support
in place but such code will be added over time when
proper IRQ domain support has been added to INTC.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: r8a7740 generic board support via DT
Magnus Damm [Fri, 6 Jul 2012 08:08:07 +0000 (17:08 +0900)]
ARM: mach-shmobile: r8a7740 generic board support via DT

Add generic DT board support for the r8a7740 SoC.

SCIF serial ports and timers are kept as regular
platform devices. Other on-chip and on-board devices
should be configured via the device tree.

At this point there is no interrupt controller support
in place but such code will be added over time when
proper IRQ domain support has been added to INTC.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: sh7372: completely switch over to using pm-rmobile API
Kuninori Morimoto [Thu, 5 Jul 2012 08:29:37 +0000 (01:29 -0700)]
ARM: shmobile: sh7372: completely switch over to using pm-rmobile API

Now, all sh7372 platforms are switched over to use pm-rmobile base PM domain,
and no one is using original sh7372_pm_domain APIs.
We can remove these, switching has been fully completed.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: ap4evb: switch to using pm-rmobile API
Kuninori Morimoto [Thu, 5 Jul 2012 08:29:17 +0000 (01:29 -0700)]
ARM: shmobile: ap4evb: switch to using pm-rmobile API

This patch switches ap4evb platform to use pm-rmobile base common API.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: mackerel: switch to using pm-rmobile API
Kuninori Morimoto [Thu, 5 Jul 2012 08:28:54 +0000 (01:28 -0700)]
ARM: shmobile: mackerel: switch to using pm-rmobile API

This patch switches mackerel platform to use pm-rmobile base common API.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: sh7372: add pm-rmobile domain support
Kuninori Morimoto [Thu, 5 Jul 2012 08:28:32 +0000 (01:28 -0700)]
ARM: shmobile: sh7372: add pm-rmobile domain support

This patch adds pm-rmobile common API base PM domain.
sh7372 CPU/platform will switch to using it from
original implementation

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-soc-core' into renesas-sh7372
Rafael J. Wysocki [Fri, 6 Jul 2012 18:43:44 +0000 (20:43 +0200)]
Merge branch 'renesas-soc-core' into renesas-sh7372

* renesas-soc-core:
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register

11 years agoARM: shmobile: armadillo800eva: A3SP domain includes USB
Kuninori Morimoto [Thu, 5 Jul 2012 08:28:00 +0000 (01:28 -0700)]
ARM: shmobile: armadillo800eva: A3SP domain includes USB

Because USB Func is controlled by external IRQ mode,
it is possible to control USB under A3SP domain to reduce power.
This patch enables it.

Armadillo800eva board switchs USB Host/Func by SW1.6,
So, the device to adds into domain is selected on this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: A4LC domain includes LCDC
Kuninori Morimoto [Thu, 5 Jul 2012 08:27:37 +0000 (01:27 -0700)]
ARM: shmobile: armadillo800eva: A4LC domain includes LCDC

It is possible to control LCDC under A4LC domain to reduce power.
This patch enable it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: USB Func enables external IRQ mode
Kuninori Morimoto [Thu, 5 Jul 2012 08:27:14 +0000 (01:27 -0700)]
ARM: shmobile: armadillo800eva: USB Func enables external IRQ mode

We can control renesas_usbhs driver as 2 way which are
autonomy mode and external IRQ trigger mode.

Autonomy mode is very easy settings for platform,
but it required USB power domain always ON,
since its connection/disconnection IRQ come from it.

If platform uses external IRQ trigger mode,
USB power domain can be OFF, since its
connection/disconnection IRQ come from external IRQ.

This patch enable external IRQ mode.
Now it is possible to add USB support on A4SP domain.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-r8a7740' into renesas-armadillo
Rafael J. Wysocki [Fri, 6 Jul 2012 18:42:44 +0000 (20:42 +0200)]
Merge branch 'renesas-r8a7740' into renesas-armadillo

* renesas-r8a7740:
  ARM: shmobile: r8a7740: add A4LC pm domain support
  ARM: shmobile: r8a7740: add A3SP pm domain support
  ARM: shmobile: r8a7740: add A4S pm domain support
  ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register

11 years agoARM: shmobile: r8a7740: add A4LC pm domain support
Kuninori Morimoto [Thu, 5 Jul 2012 08:26:53 +0000 (01:26 -0700)]
ARM: shmobile: r8a7740: add A4LC pm domain support

This patch adds basic A4LC pm domain support.
Now, below devices can be controled by PM

MERAM, LCDC, VOU, ICBS, SDENC-Link

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: r8a7740: add A3SP pm domain support
Kuninori Morimoto [Thu, 5 Jul 2012 08:26:31 +0000 (01:26 -0700)]
ARM: shmobile: r8a7740: add A3SP pm domain support

This patch adds basic A3SP pm domain support.
Now, below devices can be controled by PM

DMAC1/2/3, IPMMU, DDM, FLCTL, SYS-HPB, BBIF1, MSIOF1/2,
SCIFA,SCIFB, IIC1, IrDA, USBH, USBDMAC, SDHI0/1/2, TPU,
DREQPAK (Sys),  MMCIF, RSPI, SIM, USBF

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: r8a7740: add A4S pm domain support
Kuninori Morimoto [Thu, 5 Jul 2012 08:25:58 +0000 (01:25 -0700)]
ARM: shmobile: r8a7740: add A4S pm domain support

This patch adds basic A4S pm domain support.
Now, below devices can be controled by PM

Common-SHwy, Common-HPB, BSC, MFI, MMFROM, HS-SHwy,
SYS-HPB, INTCA, DBSC, DDRPHY (Logic),
ATAPI, GbEther, AXI-bus

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control
Kuninori Morimoto [Thu, 5 Jul 2012 08:25:24 +0000 (01:25 -0700)]
ARM: shmobile: r8a7740: fixup: MSEL1CR 7bit control

MSEL1CR 7bit selects IRQ7 source pin which was
VBUS pin or A21/MSIOF0_RSYNC/MSIOF1_TSYNC pin.
But current pfc-r8a7740 MSEL1CR 7bit setting was wrong.
This patch fix it up

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-soc-core' into renesas-r8a7740
Rafael J. Wysocki [Fri, 6 Jul 2012 18:39:54 +0000 (20:39 +0200)]
Merge branch 'renesas-soc-core' into renesas-r8a7740

* renesas-soc-core:
  ARM: shmobile: soc-core: add R-mobile PM domain common APIs
  ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register

Conflicts:
arch/arm/mach-shmobile/clock-r8a7740.c

11 years agoARM: shmobile: soc-core: add R-mobile PM domain common APIs
Kuninori Morimoto [Thu, 5 Jul 2012 08:24:46 +0000 (01:24 -0700)]
ARM: shmobile: soc-core: add R-mobile PM domain common APIs

This patch adds Renesas R-mobile series common PM domain APIs.
R-mobile CPU can use/switch this API

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: kzm9d: Add defconfig
Magnus Damm [Fri, 6 Jul 2012 10:05:43 +0000 (19:05 +0900)]
ARM: mach-shmobile: kzm9d: Add defconfig

Original work by Magnus Damm, tested and tweaked by Simon Horman

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: select the fixed regulator driver on several boards
Guennadi Liakhovetski [Thu, 5 Jul 2012 13:17:42 +0000 (15:17 +0200)]
ARM: mach-shmobile: select the fixed regulator driver on several boards

On systems, using regulators to supply power to devices, if the REGULATOR
Kconfig option is disabled, regulator API stubs will be used, which often
suffices to bring a default configuration up. If REGULATOR is enabled but
respective regulator drivers are inactive, the real regulator API calls
will be used, which in the absence of drivers will fail to provide
services. This patch prevents such a problem on sh-mobile boards by
forcing REGULATOR_FIXED_VOLTAGE on if REGULATOR is selected.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: sh7372 A3SM CPUIdle support
Magnus Damm [Thu, 5 Jul 2012 05:46:47 +0000 (14:46 +0900)]
ARM: shmobile: sh7372 A3SM CPUIdle support

Add CPUIdle support for the A3SM power domain on sh7372.

With this in place we can turn off more of the SoC during
run time and save power. Makes use of the recently introduced
sh7372 INTCA A3SM power domain wakeup support.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: Use INTCA with sh7372 A3SM power domain
Magnus Damm [Thu, 5 Jul 2012 05:46:07 +0000 (14:46 +0900)]
ARM: shmobile: Use INTCA with sh7372 A3SM power domain

Convert the sh7372 A3SM power domain code to allow
waking up through INTCA and SYSC instead of only
relying on SYSC for wakeups. This allows us to
enter A3SM more or less regardless of the state
of the rest of the system.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
Guennadi Liakhovetski [Sat, 30 Jun 2012 23:12:04 +0000 (01:12 +0200)]
ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g

The recently added SDHI2 interface to kzm9g needs power supplies for the
upcoming transition away from OCR masks, provided in platform data.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register
Nobuhiro Iwamatsu [Wed, 27 Jun 2012 00:59:00 +0000 (09:59 +0900)]
ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register

sh_clk_mstp32_register is deprecated. This convert to sh_clk_mstp_register.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: pxa: hx4700: Use DEFINE_RES_* macros consistently
Paul Parsons [Fri, 29 Jun 2012 12:01:31 +0000 (13:01 +0100)]
ARM: pxa: hx4700: Use DEFINE_RES_* macros consistently

This patch replaces the remaining inline struct resource definitions
with equivalent DEFINE_RES_* macro calls.
The source file is reduced in size; the object file is unchanged.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
11 years agoARM: pxa: remove eseries.h
Paul Bolle [Tue, 12 Jun 2012 12:49:46 +0000 (14:49 +0200)]
ARM: pxa: remove eseries.h

Commit e478fe4cd50b86e95fadc415438b63fa94060b7d ("[ARM] pxa: merge all
eseries board code into eseries.c") removed all six files that included
eseries.h. Everything that this header provides is now either local to
eseries.c or entirely unused. It was apparently just an oversight to
keep this header. This header can safely be removed.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Tested-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
11 years agoLinux 3.5-rc5
Linus Torvalds [Sat, 30 Jun 2012 23:08:57 +0000 (16:08 -0700)]
Linux 3.5-rc5

11 years agoMerge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
Linus Torvalds [Sat, 30 Jun 2012 23:01:50 +0000 (16:01 -0700)]
Merge tag 'fixes-for-linus' of git://git./linux/kernel/git/arm/arm-soc

Pull ARM SoC fixes from Olof Johansson:
 "Another week, another batch of fixes.

  All are small, contained, targeted fixes for explicit problems --
  mostly build and boot failures across i.MX, OMAP, Renesas/Shmobile and
  Samsung."

* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: imx6q: fix suspend regression caused by common clk migration
  ARM: OMAP4470: Fix OMAP4470 boot failure
  ARM: EXYNOS: Fix EXYNOS_DEV_DMA Kconfig entry
  ARM: OMAP2+: nand: fix build error when CONFIG_MTD_ONENAND_OMAP2=n
  ARM: shmobile: r8a7779: Route all interrupts to ARM
  ARM: shmobile: kzm9d: use late init machine hook
  ARM: shmobile: kzm9g: use late init machine hook
  ARM: mach-shmobile: armadillo800eva: Use late init machine hook
  ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping
  ARM: mach-shmobile: add missing GPIO IRQ configuration on mackerel
  ARM: mach-shmobile: Fix build when SMP is enabled and EMEV2 is not enabled
  ARM: shmobile: sh7372: bugfix: chclr_offset base
  ARM: shmobile: sh73a0: bugfix: SY-DMAC number
  ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

11 years agoprintk.c: fix kernel-doc warnings
Randy Dunlap [Sat, 30 Jun 2012 22:37:24 +0000 (15:37 -0700)]
printk.c: fix kernel-doc warnings

Fix kernel-doc warnings in printk.c: use correct parameter name.

  Warning(kernel/printk.c:2429): No description found for parameter 'buf'
  Warning(kernel/printk.c:2429): Excess function parameter 'line' description in 'kmsg_dump_get_buffer'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 years agolinux/irq.h: fix kernel-doc warning
Randy Dunlap [Sat, 30 Jun 2012 22:30:46 +0000 (15:30 -0700)]
linux/irq.h: fix kernel-doc warning

Fix kernel-doc warning.  This struct member was removed in commit
875682648b89 ("irq: Remove irq_chip->release()") so remove its
associated kernel-doc entry also.

  Warning(include/linux/irq.h:338): Excess struct/union/enum/typedef member 'release' description in 'irq_chip'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 years agoMerge branch 'v3.5-samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 30 Jun 2012 22:27:52 +0000 (15:27 -0700)]
Merge branch 'v3.5-samsung-fixes-1' of git://git./linux/kernel/git/kgene/linux-samsung into fixes

* 'v3.5-samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: EXYNOS: Fix EXYNOS_DEV_DMA Kconfig entry
  ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping
  ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

11 years agoARM: imx6q: fix suspend regression caused by common clk migration
Shawn Guo [Tue, 5 Jun 2012 07:16:43 +0000 (15:16 +0800)]
ARM: imx6q: fix suspend regression caused by common clk migration

When moving to common clk framework, the imx6q clks rom and mmdc_ch1_axi
get different on/off states than old clk driver, which breaks suspend
function.  There might be a better way to manage these clocks, but let's
takes the old clk driver approach to fix the regression first.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'omap-fixes-for-v3.5-rc4' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 30 Jun 2012 22:21:00 +0000 (15:21 -0700)]
Merge tag 'omap-fixes-for-v3.5-rc4' of git://git./linux/kernel/git/tmlind/linux-omap into fixes

From Tony Lindgren:
"Here's one more regression fix that I missed earlier, and a
 trivial fix to get omap4470 booting."

* tag 'omap-fixes-for-v3.5-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP4470: Fix OMAP4470 boot failure
  ARM: OMAP2+: nand: fix build error when CONFIG_MTD_ONENAND_OMAP2=n

11 years agoARM: mach-shmobile: add fixed voltage regulators to marzen
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:32 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to marzen

On marzen provide a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add fixed voltage regulators to kzm9g
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:31 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to kzm9g

On kzm9g provide 1.8V and 2.8V supplies for its SD/MMC-card interfaces
and a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-board-common' into renesas-kzm9g
Rafael J. Wysocki [Sat, 30 Jun 2012 20:53:26 +0000 (22:53 +0200)]
Merge branch 'renesas-board-common' into renesas-kzm9g

* renesas-board-common:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

11 years agoARM: mach-shmobile: add fixed voltage regulators to kzm9d
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:30 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to kzm9d

On kzm9d provide a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add fixed voltage regulators to kota2
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:29 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to kota2

On kota2 provide 1.8V and 3.3V supplies for its SD/MMC-card interfaces
and a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add fixed voltage regulators to g4evm
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:28 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to g4evm

On g4evm provide a 3.3V supply for its SD/MMC-card interfaces.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-board-common' into renesas-g4evm
Rafael J. Wysocki [Sat, 30 Jun 2012 20:48:37 +0000 (22:48 +0200)]
Merge branch 'renesas-board-common' into renesas-g4evm

* renesas-board-common:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

11 years agoARM: mach-shmobile: add fixed voltage regulators to bonito
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:27 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to bonito

On bonito provide a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add fixed voltage regulators to armadillo800eva
Guennadi Liakhovetski [Fri, 29 Jun 2012 06:33:11 +0000 (08:33 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to armadillo800eva

On armadillo800eva provide a 3.3V supply for its SD/MMC-card interfaces.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-board-common' into renesas-armadillo
Rafael J. Wysocki [Sat, 30 Jun 2012 20:42:11 +0000 (22:42 +0200)]
Merge branch 'renesas-board-common' into renesas-armadillo

* renesas-board-common:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

11 years agoARM: mach-shmobile: add fixed voltage regulators to ap4evb
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:25 +0000 (00:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to ap4evb

On ap4evb provide 1.8V and 3.3V supplies for its SD/MMC-card interfaces
and a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-board-common' into renesas-ap4evb
Rafael J. Wysocki [Sat, 30 Jun 2012 20:40:25 +0000 (22:40 +0200)]
Merge branch 'renesas-board-common' into renesas-ap4evb

* renesas-board-common:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

11 years agoARM: mach-shmobile: add fixed voltage regulators to ag5evm
Guennadi Liakhovetski [Fri, 29 Jun 2012 07:32:29 +0000 (09:32 +0200)]
ARM: mach-shmobile: add fixed voltage regulators to ag5evm

On ag5evm provide 1.8V, 2.8V, and 3.3V supplies for its SD/MMC-card
interfaces and a dummy regulator for the smsc911x driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: mach-shmobile: add 3.3V and 1.8V fixed regulators to mackerel
Guennadi Liakhovetski [Tue, 26 Jun 2012 22:32:23 +0000 (00:32 +0200)]
ARM: mach-shmobile: add 3.3V and 1.8V fixed regulators to mackerel

Drivers for several devices on mackerel, including all SDHI instances, the
MMCIF controller and the SMSC9220 ethernet chip use regulators to control
power supply to their devices. MMC drivers need to be able to at least
retrieve voltage values from supplying regulators, whereas the smsc911x
driver only enables and disables chip power supplies without further looking
at them. This patch adds two fixed voltage regulators to describe 1.8V and
3.3V supplies on the board and a dummy regulator for SMSC9220.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-board-common' into renesas-mackerel
Rafael J. Wysocki [Sat, 30 Jun 2012 20:31:58 +0000 (22:31 +0200)]
Merge branch 'renesas-board-common' into renesas-mackerel

* renesas-board-common:
  regulator: extend the fixed dummy voltage regulator to accept voltage
  regulator: support multiple dummy fixed regulators

11 years agoMerge tag 'topic/fixed' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
Rafael J. Wysocki [Sat, 30 Jun 2012 20:23:24 +0000 (22:23 +0200)]
Merge tag 'topic/fixed' of git://git./linux/kernel/git/broonie/regulator into renesas-board-common

Several following board changes depend on this branch.

11 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
Linus Torvalds [Sat, 30 Jun 2012 18:11:58 +0000 (11:11 -0700)]
Merge branch 'release' of git://git./linux/kernel/git/lenb/linux

Pull ACPI & Power Management patches from Len Brown.

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux:
  acpi_pad: fix power_saving thread deadlock
  ACPI video: Still use ACPI backlight control if _DOS doesn't exist
  ACPI, APEI, Avoid too much error reporting in runtime
  ACPI: Add a quirk for "AMILO PRO V2030" to ignore the timer overriding
  ACPI: Remove one board specific WARN when ignoring timer overriding
  ACPI: Make acpi_skip_timer_override cover all source_irq==0 cases
  ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI
  ACPI sysfs.c strlen fix

11 years agoMerge tag 'driver-core-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sat, 30 Jun 2012 17:11:24 +0000 (10:11 -0700)]
Merge tag 'driver-core-3.5-rc5' of git://git./linux/kernel/git/gregkh/driver-core

Pull driver Core fixes from Greg Kroah-Hartman:
 "Here is a number of printk() fixes, specifically a few reported by the
  crazy blog program that ships in SUSE releases (that's "boot log" and
  not "web log", it predates the general "blog" terminology by many
  years), and the restoration of the continuation line functionality
  reported by Stephen and others.  Yes, the changes seem a bit big this
  late in the cycle, but I've been beating on them for a while now, and
  Stephen has even optimized it a bit, so all looks good to me.

  The other change in here is a Documentation update for the stable
  kernel rules describing how some distro patches should be backported,
  to hopefully drive a bit more response from the distros to the stable
  kernel releases.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
* tag 'driver-core-3.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  printk: Optimize if statement logic where newline exists
  printk: flush continuation lines immediately to console
  syslog: fill buffer with more than a single message for SYSLOG_ACTION_READ
  Revert "printk: return -EINVAL if the message len is bigger than the buf size"
  printk: fix regression in SYSLOG_ACTION_CLEAR
  stable: Allow merging of backports for serious user-visible performance issues

11 years agoARM: shmobile: use common extra gpio functions on g4evm
Kuninori Morimoto [Mon, 25 Jun 2012 10:41:27 +0000 (03:41 -0700)]
ARM: shmobile: use common extra gpio functions on g4evm

This patch switch over to use common extra gpio method,
and reduced a waste of code on SH-ARM.

But these functions should be replaced by correct
gpio function in the future.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: use common extra gpio functions on ap4evb
Kuninori Morimoto [Mon, 25 Jun 2012 10:41:19 +0000 (03:41 -0700)]
ARM: shmobile: use common extra gpio functions on ap4evb

This patch switch over to use common extra gpio method,
and reduced a waste of code on SH-ARM.

But these functions should be replaced by correct
gpio function in the future.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: use common extra gpio functions on Mackerel
Kuninori Morimoto [Mon, 25 Jun 2012 10:41:36 +0000 (03:41 -0700)]
ARM: shmobile: use common extra gpio functions on Mackerel

This patch switch over to use common extra gpio method,
and reduced a waste of code on SH-ARM.

But these functions should be replaced by correct
gpio function in the future.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: kzm9g: enable DMAEngine on MMCIF
Kuninori Morimoto [Mon, 25 Jun 2012 10:39:39 +0000 (03:39 -0700)]
ARM: shmobile: kzm9g: enable DMAEngine on MMCIF

It is possible to reduce CPU load if MMCIF used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: kzm9g: enable DMAEngine on FSI
Kuninori Morimoto [Mon, 25 Jun 2012 10:39:30 +0000 (03:39 -0700)]
ARM: shmobile: kzm9g: enable DMAEngine on FSI

It is possible to reduce CPU load if FSI playback used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: kzm9g: enable MicroSD
Kuninori Morimoto [Mon, 25 Jun 2012 10:35:11 +0000 (03:35 -0700)]
ARM: shmobile: kzm9g: enable MicroSD

This patch enable MicroSD on CN20

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: kzm9g: enable USB function
Kuninori Morimoto [Mon, 25 Jun 2012 10:35:01 +0000 (03:35 -0700)]
ARM: shmobile: kzm9g: enable USB function

This patch enable USB function on CN17

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-sh73a0' into renesas-kzm9g
Rafael J. Wysocki [Sat, 30 Jun 2012 13:30:16 +0000 (15:30 +0200)]
Merge branch 'renesas-sh73a0' into renesas-kzm9g

* renesas-sh73a0:
  ARM: shmobile: use common DMAEngine definitions on sh73a0
  ARM: shmobile: sh73a0: add DMAEngine support for MPDMAC
  ARM: shmobile: sh73a0: add USB clock support
  ARM: shmobile: add common DMAEngine definitions
  ARM: shmobile: add common extra gpio functions

11 years agoARM: shmobile: use common extra gpio functions on armadillo800eva
Kuninori Morimoto [Mon, 25 Jun 2012 10:41:45 +0000 (03:41 -0700)]
ARM: shmobile: use common extra gpio functions on armadillo800eva

This patch switch over to use common extra gpio method,
and reduced a waste of code on SH-ARM.

But these functions should be replaced by correct
gpio function in the future.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: enable DMAEngine on USB
Kuninori Morimoto [Mon, 25 Jun 2012 10:37:47 +0000 (03:37 -0700)]
ARM: shmobile: armadillo800eva: enable DMAEngine on USB

It is possible to reduce CPU load if USB used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: enable DMAEngine on SDHI
Kuninori Morimoto [Mon, 25 Jun 2012 10:37:38 +0000 (03:37 -0700)]
ARM: shmobile: armadillo800eva: enable DMAEngine on SDHI

It is possible to reduce CPU load if SDHI used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: enable DMAEngine on FSI
Kuninori Morimoto [Mon, 25 Jun 2012 10:37:20 +0000 (03:37 -0700)]
ARM: shmobile: armadillo800eva: enable DMAEngine on FSI

It is possible to reduce CPU load if FSI playback used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: enable FSI-HDMI sound
Kuninori Morimoto [Mon, 25 Jun 2012 10:33:04 +0000 (03:33 -0700)]
ARM: shmobile: armadillo800eva: enable FSI-HDMI sound

This patch enable HDMI sound support on CON3

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: armadillo800eva: enable FSI-WM8978 sound
Kuninori Morimoto [Mon, 25 Jun 2012 10:32:50 +0000 (03:32 -0700)]
ARM: shmobile: armadillo800eva: enable FSI-WM8978 sound

This patch enable sound support on CON11

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-r8a7740' into renesas-armadillo
Rafael J. Wysocki [Sat, 30 Jun 2012 13:24:35 +0000 (15:24 +0200)]
Merge branch 'renesas-r8a7740' into renesas-armadillo

* renesas-r8a7740:
  ARM: shmobile: use common DMAEngine definitions on r8a7740
  ARM: shmobile: r8a7740: add DMAEngine support for USB
  ARM: shmobile: r8a7740: add DMAEngine support for SDHI
  ARM: shmobile: r8a7740: add DMAEngine support for FSI
  ARM: shmobile: add common DMAEngine definitions
  ARM: shmobile: add common extra gpio functions

11 years agoARM: shmobile: use common DMAEngine definitions on sh7372
Kuninori Morimoto [Mon, 25 Jun 2012 10:43:19 +0000 (03:43 -0700)]
ARM: shmobile: use common DMAEngine definitions on sh7372

This patch switch over to use common DMAEngine definitions,
and reduced a waste of code.

It is easy to understand if sh_dmae_pdata / sh_dmae_slave_config
settings are used defined value instead of direct value.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-soc-core' into renesas-sh7372
Rafael J. Wysocki [Sat, 30 Jun 2012 13:16:35 +0000 (15:16 +0200)]
Merge branch 'renesas-soc-core' into renesas-sh7372

* renesas-soc-core:
  ARM: shmobile: add common DMAEngine definitions
  ARM: shmobile: add common extra gpio functions

11 years agoARM: shmobile: use common DMAEngine definitions on sh73a0
Kuninori Morimoto [Mon, 25 Jun 2012 10:43:28 +0000 (03:43 -0700)]
ARM: shmobile: use common DMAEngine definitions on sh73a0

This patch switch over to use common DMAEngine definitions,
and reduced a waste of code.

It is easy to understand if sh_dmae_pdata / sh_dmae_slave_config
settings are used defined value instead of direct value.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: sh73a0: add DMAEngine support for MPDMAC
Kuninori Morimoto [Mon, 25 Jun 2012 10:39:20 +0000 (03:39 -0700)]
ARM: shmobile: sh73a0: add DMAEngine support for MPDMAC

Current shdmac can support MPDMAC (= sound DMA) on sh73a0.
This support reduce CPU load when sound was playback.

On v2.0 manual, MPDMAC MID/RID number were wrong.
This patch is using the number which seems correct.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: sh73a0: add USB clock support
Kuninori Morimoto [Mon, 25 Jun 2012 10:34:49 +0000 (03:34 -0700)]
ARM: shmobile: sh73a0: add USB clock support

It is required from renesas_usbhs driver.
This patch is based on v2.0 manual.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoMerge branch 'renesas-soc-core' into renesas-sh73a0
Rafael J. Wysocki [Sat, 30 Jun 2012 13:13:34 +0000 (15:13 +0200)]
Merge branch 'renesas-soc-core' into renesas-sh73a0

* renesas-soc-core:
  ARM: shmobile: add common DMAEngine definitions
  ARM: shmobile: add common extra gpio functions

11 years agoARM: shmobile: use common DMAEngine definitions on r8a7740
Kuninori Morimoto [Mon, 25 Jun 2012 10:43:10 +0000 (03:43 -0700)]
ARM: shmobile: use common DMAEngine definitions on r8a7740

This patch switch over to use common DMAEngine definitions,
and reduced a waste of code.

It is easy to understand if sh_dmae_pdata / sh_dmae_slave_config
settings are used defined value instead of direct value.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: r8a7740: add DMAEngine support for USB
Kuninori Morimoto [Mon, 25 Jun 2012 10:37:10 +0000 (03:37 -0700)]
ARM: shmobile: r8a7740: add DMAEngine support for USB

Current shdmac can support USB DMAC on r8a7740.
This support reduce CPU duty when USB access.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
11 years agoARM: shmobile: r8a7740: add DMAEngine support for SDHI
Kuninori Morimoto [Mon, 25 Jun 2012 10:37:00 +0000 (03:37 -0700)]
ARM: shmobile: r8a7740: add DMAEngine support for SDHI

Current shdmac can support SDHI DMAC on r8a7740.
This support reduce CPU duty when SDHI access.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>