android_kernel_xiaomi_sm8350/arch/arm/mach-pxa
eric miao 7f7c8a6192 [ARM] pxa: make MFP configuration processor independent
There are two reasons for making the MFP configuration to be processor
independent, i.e. removing the relationship of configuration bits with
actual MFPR register settings:

   1. power management sometimes requires the MFP to be configured
      differently when in run mode or in low power mode

   2. for future integration of pxa{25x,27x} GPIO configurations

The modifications include:

1. introducing of processor independent MFP configuration bits, as
   defined in [include/asm-arm/arch-pxa/mfp.h]:

	bit  0.. 9 - MFP Pin Number (1024 Pins Maximum)
	bit 10..12 - Alternate Function Selection
	bit 13..15 - Drive Strength
	bit 16..18 - Low Power Mode State
	bit 19..20 - Low Power Mode Edge Detection
	bit 21..22 - Run Mode Pull State
	and so on,

2. moving the processor dependent code from mfp.h into mfp-pxa3xx.h

3. cleaning up of the MFPR bit definitions

4. mapping of processor independent MFP configuration into processor
   specific MFPR register settings is now totally encapsulated within
   pxa3xx_mfp_config()

5. using of "unsigned long" instead of invented type of "mfp_cfg_t"
   according to Documentation/CodingStyle Chapter 5, usage of this
   in platform code will be slowly removed in later patches

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:56 +00:00
..
akita-ioexp.c
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_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
corgi.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
cpu-pxa.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
devices.c [ARM] pxa: move pxa27x_device_ohci out of pxa27x.c for use with pxa3xx 2008-01-26 15:07:54 +00:00
devices.h [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +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: increase size of memory mapping 2008-01-26 15:07:54 +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
Kconfig [ARM] 4576/1: CM-X270 machine support 2007-10-15 18:53:57 +01:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds-trizeps4.c
leds.c
leds.h
lpd270.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
lubbock.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
mainstone.c [ARM] pxa: move memory controller registers into pxa2xx-regs.h 2008-01-26 15:07:54 +00:00
Makefile [ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate 2008-01-26 15:07:56 +00:00
Makefile.boot
mfp.c [ARM] pxa: make MFP configuration processor independent 2008-01-26 15:07:56 +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 clk of CKEN_USBHOST for pxa3xx 2008-01-26 15:07:53 +00:00
pxa25x.c [ARM] pxa: clean up pxa{27x,25x}_init_pm() to empty if CONFIG_PM not defined 2008-01-26 15:07:54 +00:00
pxa27x.c [ARM] pxa: clean up pxa{27x,25x}_init_pm() to empty if CONFIG_PM not defined 2008-01-26 15:07:54 +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_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sharpsl.h
sleep.S [ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate 2008-01-26 15:07:56 +00:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
spitz.c backlight: Convert corgi backlight driver into a more generic driver 2007-10-11 22:24:13 +01:00
ssp.c [ARM] pxa: ensure SSP TX FIFO is empty instead of not full for pxa3xx 2008-01-26 15:07:53 +00:00
standby.S [ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate 2008-01-26 15:07:56 +00: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_pxa300.c [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +00:00
zylonite_pxa320.c [ARM] pxa: mmc: add 2nd host controller support for pxa3xx 2008-01-26 15:07:53 +00:00
zylonite.c [ARM] pxa: mmc: add 3rd host controller support for pxa310 2008-01-26 15:07:53 +00:00