#
c28b681c |
| 06-May-2016 |
Svatopluk Kraus <skra@FreeBSD.org> |
INTRNG - use gpio interrupt modes definitions added in r298738 and implement also GPIO_INTR_EDGE_BOTH mode. All reasonable interrupt modes are supported now.
|
#
cd642c88 |
| 05-May-2016 |
Svatopluk Kraus <skra@FreeBSD.org> |
INTRNG - redefine struct intr_map_data to avoid headers pollution. Each struct associated with some type defined in enum intr_map_data_type must have struct intr_map_data on the top of its own defini
INTRNG - redefine struct intr_map_data to avoid headers pollution. Each struct associated with some type defined in enum intr_map_data_type must have struct intr_map_data on the top of its own definition now. When such structs are used, correct type and size must be filled in.
There are three such structs defined in sys/intr.h now. Their definitions should be moved to corresponding headers by follow-up commits.
While this change was propagated to all INTRNG like PICs, pic_map_intr() method implementations were corrected on some places. For this specific method, it's ensured by a caller that the 'data' argument passed to this method is never NULL. Also, the return error values were standardized there.
show more ...
|
#
0edd2576 |
| 16-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
59c3cb81 |
| 15-Apr-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine independent code that needs to know about INTRNG such as PCI drivers.
Obtained from: ABT Systems Ltd Sponsored by: The FreeBS
Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine independent code that needs to know about INTRNG such as PCI drivers.
Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
show more ...
|
#
2263fb58 |
| 06-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
89de2fb6 |
| 05-Apr-2016 |
Svatopluk Kraus <skra@FreeBSD.org> |
Rework BCM283x gpio interrupt controller for INTRNG. It's used on RPI-B and RPI2 where INTRNG is already enabled by default.
Differential Revision: https://reviews.freebsd.org/D5810
|
Revision tags: release/10.3.0, release/10.2.0 |
|
#
98e0ffae |
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|
#
fa1e92b6 |
| 04-Mar-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
072aeeb6 |
| 02-Mar-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Merge r278538 through r279514.
|
#
0d36d957 |
| 19-Feb-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merging ^/head r278916 through r279022.
|
#
6c787c8f |
| 18-Feb-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r278593-r278966
Sponsored by: The FreeBSD Foundation
|
#
5508fc88 |
| 17-Feb-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Make use of the newly introduced macros.
Update the copyright.
|
#
53f2fbca |
| 11-Feb-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r278202,r278205-r278590
Sponsored by: The FreeBSD Foundation
|
#
9f3d45b6 |
| 08-Feb-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from HEAD
|
#
a403ab7f |
| 04-Feb-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r278110 through r278223.
|
#
12471cec |
| 04-Feb-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Add GPIO interrupt support for BCM2835 (Raspberry pi).
With this commit any of the GPIO pins can now be programmed to act as an interrupt source for GPIO devices (i.e. limited to devices directly at
Add GPIO interrupt support for BCM2835 (Raspberry pi).
With this commit any of the GPIO pins can now be programmed to act as an interrupt source for GPIO devices (i.e. limited to devices directly attached to gpiobus - at least for now).
Differential Revision: https://reviews.freebsd.org/D1000
show more ...
|
#
e74d6e2a |
| 04-Feb-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Sort and remove unnecessary includes.
|
#
acdf53f9 |
| 31-Jan-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r277975 through r277998.
|
#
7836352b |
| 31-Jan-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Implement GPIO_GET_BUS() method for all GPIO drivers.
Add helper routines to deal with attach and detach of gpiobus and gpioc devices that are common to all drivers.
|
#
f72f83dc |
| 30-Jan-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r277902 through r277944.
|
#
c2136589 |
| 30-Jan-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
The BCM2835 GPIO controller uses has interrupt lines and not only one. Allocate all four, we will use them soon.
Simplificate the allocation of memory and interrupt resources with a single bus_alloc
The BCM2835 GPIO controller uses has interrupt lines and not only one. Allocate all four, we will use them soon.
Simplificate the allocation of memory and interrupt resources with a single bus_alloc_resources() call instead of doing them separately.
Destroy the mutex in case of errors.
show more ...
|
#
99a20111 |
| 30-Jan-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Allow the retrieving of the reserved pins state.
With this change, it is now possible to verify the pin function and level of reserved pins (but not set them).
The use of reserved pins on Raspberry
Allow the retrieving of the reserved pins state.
With this change, it is now possible to verify the pin function and level of reserved pins (but not set them).
The use of reserved pins on Raspberry pi can lead to short circuits and real damage to the SoC.
While here, remove duplicated code, make use of OF_getencprop_alloc() instead of using fixed sized variables and reduce the dmesg spam by printing reserved pin ranges (when possible) instead of printing each pin in the range.
show more ...
|
#
d899be7d |
| 19-Jan-2015 |
Glen Barber <gjb@FreeBSD.org> |
Reintegrate head: r274132-r277384
Sponsored by: The FreeBSD Foundation
|
#
8f0ea33f |
| 13-Jan-2015 |
Glen Barber <gjb@FreeBSD.org> |
Reintegrate head revisions r273096-r277147
Sponsored by: The FreeBSD Foundation
|
#
4d56c133 |
| 21-Nov-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r274766
|