]> git.karo-electronics.de Git - linux-beck.git/log
linux-beck.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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
  ...

12 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

12 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

12 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

12 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

12 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

12 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

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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

12 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>
12 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

12 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>
12 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>
12 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

12 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.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into renesas-board-common

Several following board changes depend on this branch.

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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

12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 years agoARM: shmobile: r8a7740: add DMAEngine support for FSI
Kuninori Morimoto [Mon, 25 Jun 2012 10:36:49 +0000 (03:36 -0700)]
ARM: shmobile: r8a7740: add DMAEngine support for FSI

Current shdmac can support FSI DMAC on r8a7740.
This support reduce CPU duty when sound was playback.

This patch is based on v1.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>
12 years agoMerge branch 'renesas-soc-core' into renesas-r8a7740
Rafael J. Wysocki [Sat, 30 Jun 2012 13:04:01 +0000 (15:04 +0200)]
Merge branch 'renesas-soc-core' into renesas-r8a7740

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

12 years agoARM: shmobile: add common DMAEngine definitions
Kuninori Morimoto [Mon, 25 Jun 2012 10:43:00 +0000 (03:43 -0700)]
ARM: shmobile: add common DMAEngine definitions

Current shmobile have DMAEngine specific settings on each CPU code,
but SH-ARM DMAC use same value.

This patch adds new dma-register.h header to share definitions
and reduce a waste of code on SH-ARM architecture.

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>
12 years agoARM: shmobile: add common extra gpio functions
Kuninori Morimoto [Mon, 25 Jun 2012 10:41:09 +0000 (03:41 -0700)]
ARM: shmobile: add common extra gpio functions

Current gpio frame work doesn't have the method to control
just pull up/down/free, but some SH-ARM boards need such kind of operation.
This patch adds common extra gpio functions for 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>
12 years agoARM: shmobile: sh7372: remove unused sh7372_a3sp_init() on !CONFIG_PM
Kuninori Morimoto [Sun, 24 Jun 2012 20:00:13 +0000 (22:00 +0200)]
ARM: shmobile: sh7372: remove unused sh7372_a3sp_init() on !CONFIG_PM

767c0f3aed74be56f268709f5347e6c86d52b408
(PM / shmobile: Remove the stay_on flag from SH7372's PM domains)
commit removed sh7372_a3sp_init().
Now, there is no user for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: r8a7779: Route all interrupts to ARM
Phil Edworthy [Fri, 22 Jun 2012 23:12:09 +0000 (01:12 +0200)]
ARM: shmobile: r8a7779: Route all interrupts to ARM

Without this, the interrupts for I2C, VIN, GPIO, SDHC, HSCIF and
HPB-DMAC are sent to the SH processor.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoMerge branch 'renesas-kzm9g' into renesas-board
Rafael J. Wysocki [Thu, 21 Jun 2012 10:05:52 +0000 (12:05 +0200)]
Merge branch 'renesas-kzm9g' into renesas-board

* renesas-kzm9g:
  ARM: shmobile: kzm9g: Support Real Time Clock
  ARM: shmobile: kzm9g: enable FSI-AK4648
  ARM: shmobile: sh73a0: add FSI clock

12 years agoARM: shmobile: kzm9g: Support Real Time Clock
Tetsuyuki Kobayashi [Wed, 20 Jun 2012 10:57:51 +0000 (12:57 +0200)]
ARM: shmobile: kzm9g: Support Real Time Clock

KZM-A9-GT board has RTC device r2025d at I2C channel 0
with slave address 0x64.

This patch enables reading and writing hardware real time clock on
KZM-A9-GT board. Interrupt is not yet supported.

How to test this patch using user space command.

Read RTC
 # hwclock -r

Copy system clock to RTC
 # hwclock -w

Shutdown and power off the board, and wait a while, then power on again.
Check RTC still keeps correct date.

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: armadillo800eva: enable camera
Kuninori Morimoto [Tue, 12 Jun 2012 09:40:07 +0000 (02:40 -0700)]
ARM: shmobile: armadillo800eva: enable camera

This patch enable camera support on CON1

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: kzm9d: use late init machine hook
Kuninori Morimoto [Thu, 21 Jun 2012 05:41:34 +0000 (22:41 -0700)]
ARM: shmobile: kzm9d: use late init machine hook

Since commit 21cc1b7ede3cf456cf1d51f8a906093261f7c111 ("ARM: shmobile:
use machine specific hook for late init") suspend and CPU idle are not
initialized automatically anymore. Set shmobile_init_late() as the
machine late init hook to initialize them.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: kzm9g: use late init machine hook
Kuninori Morimoto [Thu, 21 Jun 2012 05:40:08 +0000 (22:40 -0700)]
ARM: shmobile: kzm9g: use late init machine hook

Since commit 21cc1b7ede3cf456cf1d51f8a906093261f7c111 ("ARM: shmobile:
use machine specific hook for late init") suspend and CPU idle are not
initialized automatically anymore. Set shmobile_init_late() as the
machine late init hook to initialize them.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: mach-shmobile: armadillo800eva: Use late init machine hook
Laurent Pinchart [Wed, 20 Jun 2012 10:53:25 +0000 (12:53 +0200)]
ARM: mach-shmobile: armadillo800eva: Use late init machine hook

Since commit 21cc1b7ede3cf456cf1d51f8a906093261f7c111 ("ARM: shmobile:
use machine specific hook for late init") suspend and CPU idle are not
initialized automatically anymore. Set shmobile_init_late() as the
machine late init hook to initialize them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoMerge branch 'renesas-sh73a0' into renesas-soc
Rafael J. Wysocki [Wed, 20 Jun 2012 10:48:31 +0000 (12:48 +0200)]
Merge branch 'renesas-sh73a0' into renesas-soc

* renesas-sh73a0:
  ARM: shmobile: sh73a0: add FSI clock

12 years agoARM: shmobile: kzm9g: enable FSI-AK4648
Kuninori Morimoto [Tue, 12 Jun 2012 09:44:03 +0000 (02:44 -0700)]
ARM: shmobile: kzm9g: enable FSI-AK4648

This patch enable sound playback/capture on CN9/CN10.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: sh73a0: add FSI clock
Kuninori Morimoto [Tue, 12 Jun 2012 09:43:40 +0000 (02:43 -0700)]
ARM: shmobile: sh73a0: add FSI clock

This patch is required from FSI sound driver

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
12 years agoARM: shmobile: armadillo800eva: enable HDMI
Kuninori Morimoto [Tue, 12 Jun 2012 09:39:11 +0000 (02:39 -0700)]
ARM: shmobile: armadillo800eva: enable HDMI

This patch enable HDMI support on CON3.
And removed unnecessary CONFIG_SYSFS_DEPRECATED_xxx config.

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>
12 years agoARM: shmobile: r8a7740: add FSI-B (for HDMI) GPIO support
Kuninori Morimoto [Tue, 12 Jun 2012 09:37:16 +0000 (02:37 -0700)]
ARM: shmobile: r8a7740: add FSI-B (for HDMI) GPIO support

In order to enable FSI-B selection from platform board,
this patch adds its interface to GPIO framework.

This patch is based on v1.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>