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
Unknown Object (File)
Wed, Dec 18, 10:52 AM
Unknown Object (File)
Sun, Nov 24, 7:03 PM
Unknown Object (File)
Nov 19 2024, 1:05 AM
Unknown Object (File)
Nov 18 2024, 4:55 AM
Unknown Object (File)
Nov 17 2024, 9:25 PM
Unknown Object (File)
Oct 27 2024, 2:55 AM
Unknown Object (File)
Oct 23 2024, 11:30 PM
Unknown Object (File)
Sep 29 2024, 5:35 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.