summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_piovar.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression issue after r248910.hselasky2013-04-071-1/+1
| | | | | PR: arm/177685 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Add userland access to at91 gpio functionality via ioctl calls. Also,ian2013-03-291-0/+1
| | | | | | | | | | | | | | add the ability for userland to be notified of changes on gpio pins via a select(2)/read(2) interface. Change the interrupt handler from filtered to threaded. Because of the uiomove() calls in the new interface, change locking from standard mutex to sx. Add / restore the at91_gpio_high_z() function. Reviewed by: imp (long ago)
* - Try to bring these files closer to style(9).marius2012-04-141-6/+10
| | | | | - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* Tweak the disclaimer section of the license to match COPYRIGHT, forimp2008-11-251-10/+11
| | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship.
* Provide hooks into the GPIO lines and the ability to set/clearimp2008-08-191-0/+4
| | | | | | | interrupts from them. This should be more generalized, but is sufficient for now. Submitted by: Hans Petter Selasky
* MFp4:imp2006-07-141-3/+4
| | | | | | | | | | | | | | | Introduce framework to configure the multiplexed pins on boot. Since the USART supprots RS-485 multidrop mode, it allows the TX pins to float. However, for RS-232 operations, we don't want these pins to float. Instead, they should be pulled up to avoid mismatches. Linux does something similar when it configures the TX lines. This implies that we also allow the RX lines to float rather than be in the state they are left in by the boot loader. Since they are input pins, I think that this is the right thing to do. Plus minor for our board.
* Add support for configuring pins to be one of {GPIO, PERIPHERAL A orimp2006-07-021-0/+38
PERIPHERAL B}, as well as direction of GPIO pin. Add defines for all the pins.
OpenPOWER on IntegriCloud