Page MenuHomeFreeBSD

Initial import of Ralink/Mediatek MIPS SoC support #3
ClosedPublic

Authored by sgalabov on Apr 5 2016, 1:15 PM.
Tags
Referenced Files
F148713834: D5839.diff
Thu, Mar 19, 7:23 PM
Unknown Object (File)
Thu, Mar 19, 7:17 AM
Unknown Object (File)
Wed, Mar 18, 3:57 AM
Unknown Object (File)
Sat, Mar 14, 7:15 PM
Unknown Object (File)
Fri, Mar 13, 8:10 AM
Unknown Object (File)
Sat, Mar 7, 7:20 AM
Unknown Object (File)
Thu, Mar 5, 9:41 AM
Unknown Object (File)
Mon, Feb 23, 11:28 AM
Subscribers

Details

Summary

Interrupt controllers found in various Mediatek/Ralink SoCs.
mtk_intr_v1 and mtk_intr_v2 are basically the same at the moment, with just different register mappings.
However, v1 interrupt controller has a subset of the functionality of the v2 interrupt controller, so in the future the v2 interrupt controller driver may be enhanced, if needed, with things like level/edge interrupts and soft interrupts. So, for the moment I suggest we keep them as 2 separate files.
mtk_intr_gic provides very basic (similar to v1 and v2) support for MIPS GIC controllers, which currently maps all interrupts to a single core and sets them to type level, active high. In the future this may be developed into a generic GIC controller to support any new MIPS SoCs that include it. The GIC is a standard MTI interrupt controller in their multi-core line-up (e.g., 1004K, 1074K, etc.), rather than a SoC-specific controller.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sgalabov retitled this revision from to Initial import of Ralink/Mediatek MIPS SoC support #3.
sgalabov updated this object.
sgalabov edited the test plan for this revision. (Show Details)
sgalabov added a reviewer: adrian.
sgalabov set the repository for this revision to rS FreeBSD src repository - subversion.
sgalabov added a project: MIPS.
adrian edited edge metadata.
This revision is now accepted and ready to land.Apr 5 2016, 4:20 PM
This revision was automatically updated to reflect the committed changes.