freebsd-dev/sys/mips
Adrian Chadd 19ac3f84d0 Re-jiggle the GPIO code a little to remove the hard-coded AR71xx GPIO
config and function mask setup.

* "gpiomask" now specifies which GPIO pins to enable, for devices to bind to.
* "function_set" allows bits in the function register to be set at GPIO setup.
* "function_clear" allows bits in the function register to be cleared at
  GPIO setup.

The function_set/function_clear bits allow for individual GPIO pins to either
drive a GPIO line or an alternate function - eg USB, JTAG, etc. This allows
for things like CS1/CS2 be enabled for those boards w/ >1 SPI device connected,
or disabling JTAG for the AR7240 (which is apparently needed ..)

I've verified this on the AR71xx.
2011-12-15 01:03:49 +00:00
..
adm5120 - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros Re-jiggle the GPIO code a little to remove the hard-coded AR71xx GPIO 2011-12-15 01:03:49 +00:00
cavium Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
compile
conf Disable KDB/DDB options for XLP N32 compile. 2011-12-05 03:18:40 +00:00
idt - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
include Replace __signed by signed. 2011-12-13 13:38:03 +00:00
malta - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
mips - Fix backtrace for MIPS64 platform 2011-11-28 19:48:04 +00:00
nlm Fix N32 compilation again for XLP. 2011-12-05 03:10:01 +00:00
rmi Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
rt305x Implement better support for USB controller suspend and resume. 2011-12-14 00:28:54 +00:00
sentry5 Remove duplicate header includes 2011-06-26 10:07:48 +00:00
sibyte Remove duplicate header includes 2011-06-26 10:07:48 +00:00