OpenCloudOS-Kernel/arch/arm/mach-pxa
eric miao 2f1a74e5a2 [ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free()
1. make pxa2xx_spi.c use ssp_request() and ssp_free() to get the common
   information of the designated SSP port.

2. remove those IRQ/memory request code, ssp_request() has done that for
   the driver

3. the SPI platform device is thus made psuedo, no resource (memory/IRQ)
   has to be defined, all will be retreived by ssp_request()

4. introduce ssp_get_clk_div() to handle controller difference in clock
   divisor setting

5. use clk_xxx() API for clock enable/disable, and clk_get_rate() to
   handle the different SSP clock frequency between different processors

Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-01-26 15:07:52 +00:00
..
Kconfig [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
Makefile [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
akita-ioexp.c WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
clock.c [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
clock.h [ARM] pxa: introduce clk support for PXA SoC clocks 2007-10-12 21:14:55 +01:00
cm-x270-pci.c [ARM] 4667/1: CM-X270 fixes 2007-12-08 14:35:43 +00:00
cm-x270-pci.h [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
cm-x270.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
corgi.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
corgi_lcd.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c [ARM] pxa: move SSP register definitions from pxa-regs.h to regs-ssp.h 2008-01-26 15:07:51 +00:00
devices.h [ARM] pxa: define SSP platform devices for pxa2xx/pxa3xx 2008-01-26 15:07:51 +00:00
dma.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
em-x270.c [ARM] 4475/2: EM-x270 board support 2007-07-20 17:45:15 +01:00
generic.c [ARM] pxa: define SSP platform devices for pxa2xx/pxa3xx 2008-01-26 15:07:51 +00:00
generic.h [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
idp.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
irq.c [ARM] pxa: PXA3xx base support 2007-10-15 18:53:43 +01:00
leds-idp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-lubbock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-mainstone.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-trizeps4.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
leds.c [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
lpd270.c Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
lubbock.c [ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free() 2008-01-26 15:07:52 +00:00
mainstone.c [ARM] pxa: mainstone: update backlight to use the backlight infrastructure 2008-01-26 15:07:50 +00:00
mfp.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pm.c PM: Rename struct pm_ops and related things 2007-10-18 14:37:18 -07:00
poodle.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
pxa3xx.c [ARM] pxa: add ssp devices and clk support for pxa25x/pxa27x/pxa3xx 2008-01-26 15:07:51 +00:00
pxa25x.c [ARM] pxa: add ssp devices and clk support for pxa25x/pxa27x/pxa3xx 2008-01-26 15:07:51 +00:00
pxa27x.c [ARM] pxa: add ssp devices and clk support for pxa25x/pxa27x/pxa3xx 2008-01-26 15:07:51 +00:00
pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
pxa320.c [ARM] 4675/1: pxa: fix mfp address definition error for pxa320 2007-11-29 20:52:54 +00:00
sharpsl.h [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sleep.S [ARM] pxa: don't rely on r2 being preserved over a function call 2008-01-20 10:09:59 +00:00
spitz.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
ssp.c [ARM] pxa: use __raw_writel()/__raw_readl() for ssp_xxxx() 2008-01-26 15:07:51 +00:00
standby.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
time.c [ARM] pxa: Don't wind OSCR backwards over suspend/resume 2008-01-26 15:07:51 +00:00
tosa.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
trizeps4.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
zylonite.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
zylonite_pxa300.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00
zylonite_pxa320.c [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com 2007-10-31 15:21:48 +00:00