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
F102942192: D5839.id.diff
Tue, Nov 19, 1:05 AM
Unknown Object (File)
Mon, Nov 18, 4:55 AM
Unknown Object (File)
Sun, Nov 17, 9:25 PM
Unknown Object (File)
Sun, Oct 27, 2:55 AM
Unknown Object (File)
Wed, Oct 23, 11:30 PM
Unknown Object (File)
Sep 29 2024, 5:35 AM
Unknown Object (File)
Sep 22 2024, 8:28 AM
Unknown Object (File)
Sep 21 2024, 8:34 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 Not Applicable
Unit
Tests Not Applicable

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.