android_kernel_xiaomi_sm8350/arch/arm/mach-at91/include/mach
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
..
at91_adc.h
at91_aic.h
at91_dbgu.h
at91_mci.h
at91_pio.h
at91_pit.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_pmc.h [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
at91_rstc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_rtc.h
at91_rtt.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_shdwc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91_spi.h
at91_ssc.h
at91_st.h
at91_tc.h
at91_twi.h
at91_wdt.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91cap9_ddrsdr.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91cap9_matrix.h
at91cap9.h [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
at91rm9200_emac.h
at91rm9200_mc.h
at91rm9200.h
at91sam9_sdramc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9_smc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9rl_matrix.h
at91sam9rl.h
at91sam9260_matrix.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9260.h
at91sam9261_matrix.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
at91sam9261.h
at91sam9263_matrix.h
at91sam9263.h
at91x40.h
board.h [ARM] 5260/1: [AT91] Touchscreen on AT91SAM9RL 2008-09-21 22:58:39 +01:00
cpu.h [ARM] 5319/1: AT91: support AT91CAP9 revC CPUs 2008-12-01 17:22:07 +00:00
debug-macro.S
entry-macro.S
gpio.h [ARM] gpio_free might sleep, arm architecture 2008-10-30 14:41:50 +00:00
hardware.h
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
irqs.h
memory.h [ARM] remove a common set of __virt_to_bus definitions 2008-11-28 15:36:49 +00:00
system.h
timex.h
uncompress.h
vmalloc.h