OpenCloudOS-Kernel/arch/arm/mach-ux500
Linus Walleij 78d80c5a72 serial/amba-pl011: move custom pin control to driver
We had a boot regression in Ux500 in the merge window because
two orthogonal pin control schemes for the PL011 were merged
at the same time:

- One using the .init() and .exit() hooks into the platform
  for Ux500 putting the pins into default vs sleep state
  respectively as the port was started/stopped.
  commit a09806607f
  "ARM: ux500: switch to using pinctrl for uart0"

- One hogging the default setting at PL011 probe()
  commit 258e055111
  "serial: amba-pl011: adopt pinctrl support"

To get a solution that works for both let's scrap the stuff
in the platform callbacks, instead have the driver itself
select default and sleep states when the port is
started/stopped. Hopefully this works for all clients.
Platform callbacks are bad for device tree migration anyway,
so this rids us of another problem in Ux500.

Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Reported-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-12 15:41:44 -07:00
..
include/mach arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
Kconfig arm-soc: soc-specific pinctrl changes 2012-05-22 09:39:42 -07:00
Makefile arm-soc: power management changes 2012-05-22 09:41:01 -07:00
Makefile.boot ARM: ux500: Initial Device Tree support for Snowball 2012-03-16 19:46:12 +00:00
board-mop500-msp.c ARM: ux500: switch MSP to using pinctrl for pins 2012-05-11 11:14:19 +02:00
board-mop500-msp.h ARM: ux500: Add support for MSP I2S-devices 2012-04-24 10:26:47 +02:00
board-mop500-pins.c ARM: ux500: switch MSP to using pinctrl for pins 2012-05-11 11:14:19 +02:00
board-mop500-regulators.c ARM: ux500: Add audio-regulators 2012-02-29 16:32:37 +01:00
board-mop500-regulators.h mach-ux500: configure board for the TPS61052 regulator v2 2011-03-28 08:54:23 +02:00
board-mop500-sdi.c ARM: More SoC support updates 2012-03-28 12:24:40 -07:00
board-mop500-stuib.c mach-ux500: basic HREFv60 support v2 2011-03-14 14:05:16 +01:00
board-mop500-u8500uib.c ARM: ux500: included linux/gpio.h twice 2012-02-29 16:32:38 +01:00
board-mop500-uib.c ARM: ux500: Only initialise STE's UIBs on boards which support them 2012-06-01 02:04:33 +02:00
board-mop500.c serial/amba-pl011: move custom pin control to driver 2012-06-12 15:41:44 -07:00
board-mop500.h ARM: ux500: Only initialise STE's UIBs on boards which support them 2012-06-01 02:04:33 +02:00
cache-l2x0.c Merge branch 'ux500/delete-u5500' into next/soc 2012-05-14 16:29:32 +02:00
clock.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
clock.h ARM: ux500: use machine specific hook for late init 2012-05-08 20:36:38 +08:00
cpu-db8500.c ARM: ux500: Remove DB8500 PRCMU platform registration when DT is enabled 2012-06-01 02:04:10 +02:00
cpu.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
cpuidle.c ARM: ux500: add the cpuidle driver for WFI and ARM retention 2012-05-02 00:44:38 +02:00
devices-common.c ARM: 7372/1: ux500: factor out dynamic amba device allocator 2012-04-19 19:31:34 +01:00
devices-common.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2012-05-23 15:59:10 -07:00
devices-db8500.c mach-ux500: crypto - core support for CRYP/HASH module. 2012-05-15 17:25:32 +10:00
devices-db8500.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2012-05-23 15:59:10 -07:00
devices.c ux500: rework device registration 2010-12-08 13:14:06 +01:00
headsmp.S ARM: ux500: add missing ENDPROC to headsmp.S 2012-01-16 08:36:03 -06:00
hotplug.c ARM: 7293/1: logical_cpu_map: decouple CPU mapping from SMP 2012-01-23 10:20:05 +00:00
id.c ARM: ux500: core U9540 support 2012-05-02 00:25:13 +02:00
pins-db8500.h ARM: ux500: remove a bunch of internal pull-ups 2012-04-24 09:36:05 +02:00
platsmp.c Merge branch 'ux500/delete-u5500' into next/soc 2012-05-14 16:29:32 +02:00
ste-dma40-db8500.h ARM: 6418/1: ux500: rename DB8500 DMA event line macros 2010-10-04 19:46:07 +01:00
timer.c arm-soc: support for new SoCs 2012-05-22 09:32:42 -07:00
usb.c ARM: ux500: move top level platform devices in sysfs to /sys/devices/socX 2012-02-13 06:31:44 +00:00