android_kernel_xiaomi_sm8350/arch/arm/mach-at91
Stelian Pop 7be90a6ba9 [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs
The AT91CAP9 revC CPU has a few differences over the previous,
revB CPU which was distributed in small quantities only (revA was
an internal Atmel product only).

This patch adds the detection routines to recognize the different
AT91CAP9 revisions (based on the PMC subsystem version number), and
uses them to:
	- activate a workaround for the external interrupts levels
	  (on revB CPUs)
	- set the UDPHS_BYPASS bit (on revB CPUs)
	- set AT91_GPBR register address to the correct offset
	  (0xfffffd50 on revB, 0xfffffd60 on revC)

For debugging usage, the CPU revision can be found in /proc/cpuinfo
on the 'Revision' line.

This patch is extracted from Andrew Victor's -at91 patch (2.6.27-at91.patch)
where it has been tested for the last 6 months.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-12-01 17:22:07 +00:00
..
include/mach [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
at91cap9_devices.c [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
at91cap9.c [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
at91rm9200_devices.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200_time.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91rm9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9rl_devices.c [ARM] 5288/1: [AT91] Remove SMC configuration from devices.c files 2008-12-01 17:18:10 +00:00
at91sam9rl.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91sam926x_time.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9260_devices.c [ARM] 5288/1: [AT91] Remove SMC configuration from devices.c files 2008-12-01 17:18:10 +00:00
at91sam9260.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9261_devices.c [ARM] 5288/1: [AT91] Remove SMC configuration from devices.c files 2008-12-01 17:18:10 +00:00
at91sam9261.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
at91sam9263_devices.c [ARM] 5288/1: [AT91] Remove SMC configuration from devices.c files 2008-12-01 17:18:10 +00:00
at91sam9263.c [ARM] 5258/1: [AT91] PWM controller initialization 2008-09-21 22:58:37 +01:00
at91x40_time.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
at91x40.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-1arm.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-afeb-9260v1.c [ARM] 5326/1: AFEB9260: Fix for i2c_board_info structure 2008-10-30 15:43:42 +00:00
board-cam60.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-cap9adk.c [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
board-carmeva.c [ARM] 5261/1: [AT91] Support for LEDs on Conitec ARM&EVA board 2008-09-29 15:46:03 +01:00
board-csb337.c [ARM] 5263/2: [AT91] GPIO buttons as wakeup sources 2008-09-21 23:01:00 +01:00
board-csb637.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-dk.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-eb01.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-eb9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ecbat91.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-ek.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-kafa.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-kb9202.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-neocore926.c [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
board-picotux200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
board-qil-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9-l9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9g20ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9rlek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9260ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9261ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-sam9263ek.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9260.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-usb-a9263.c [ARM] 5289/1: [AT91] Convert boards to use sam9_smc_configure() 2008-12-01 17:18:13 +00:00
board-yl-9200.c [ARM] 5257/2: [AT91] Use SZ_ definitions and MTDPART_OFS_NXTBLK instead of hex-values 2008-09-21 22:58:36 +01:00
clock.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
clock.h
generic.h
gpio.c [ARM] 5316/1: AT91: oops (regression) fix on gpio irq 2008-10-22 19:40:06 +01:00
irq.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
leds.c [ARM] 5267/1: [AT91] Name conflict in mach-at91/leds.c 2008-09-29 15:46:26 +01:00
Makefile [ARM] 5290/1: [AT91] Add support for the Adeneo NeoCore 926 board 2008-12-01 17:18:15 +00:00
Makefile.boot
pm_slowclock.S [ARM] 5264/2: [AT91] Suspend-to-RAM disables main oscillator 2008-09-21 23:01:01 +01:00
pm.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
sam9_smc.c [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00
sam9_smc.h [ARM] 5287/2: [AT91] Configuration of Static Memory Controller 2008-12-01 17:18:08 +00:00