2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +08:00
linux-next/arch/blackfin
steven miao 05bbec38db Blackfin: gpio: add peripheral group check
Many Blackfin parts group sets of pins into a single functional unit.
This means you cannot use different pins within a group for different
peripherals.  Our resource conflict checking thus far has been limited
to individual pins, so if someone tried to grab a different pin from
the same group, it would be allowed while silently changing the other
pins in the same group.

One common example is the pin set PG12 - PG15 on BF51x parts.  They
may either be used with SPI0 (1st function), or they may be used with
PTP/PWM/AMS3 (3rd function).  Ideally, we'd like to use PG12 - PG14
for SPI0 while using PG15 with AMS3, but the hardware does not permit
this.  In the past, the software would allow the pins to be requested
this way, but ultimately things like the Blackfin SPI driver would
stop working when the hardware rerouted to a different peripheral.

Signed-off-by: steven miao <realmz6@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-22 04:02:01 -04:00
..
boot Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00
configs Blackfin: ad7160eval: new board port 2010-10-22 03:48:51 -04:00
include/asm Blackfin: add new cacheflush syscall 2010-10-22 03:48:59 -04:00
kernel Blackfin: gpio: add peripheral group check 2010-10-22 04:02:01 -04:00
lib Blackfin: optimize strncpy a bit 2010-05-22 14:19:11 -04:00
mach-bf518 Blackfin: boards: fix num_chipselect values for on-chip SPI buses 2010-10-22 03:48:52 -04:00
mach-bf527 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf533 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf537 Blackfin: boards: add example i2c resources for ad525x devices 2010-10-22 03:48:58 -04:00
mach-bf538 Blackfin: boards: fix num_chipselect values for on-chip SPI buses 2010-10-22 03:48:52 -04:00
mach-bf548 Blackfin: dma: bf54x: add missing break for SPORT1 TX IRQ 2010-10-22 03:49:00 -04:00
mach-bf561 Blackfin: i2c-gpio boards: use GPIO_PF# defines 2010-10-22 03:48:54 -04:00
mach-common Blackfin: add new cacheflush syscall 2010-10-22 03:48:59 -04:00
mm Blackfin: use atomic kmalloc in L1 alloc so it too can be atomic 2010-05-22 14:19:12 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig Blackfin: bf51x: enable support for 0.2 silicon 2010-10-22 03:48:56 -04:00
Kconfig.debug Blackfin: allow NMI watchdog to be used w/RETN as a scratch reg 2010-05-22 14:19:04 -04:00
Makefile Blackfin: add support for LZO compressed kernels 2010-08-06 12:55:53 -04:00