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)
Tue, Apr 16, 2:37 AM
Unknown Object (File)
Fri, Apr 12, 10:26 AM
Unknown Object (File)
Dec 22 2023, 9:37 PM
Unknown Object (File)
Dec 18 2023, 7:38 AM
Unknown Object (File)
Nov 28 2023, 8:04 PM
Unknown Object (File)
Nov 15 2023, 5:48 AM
Unknown Object (File)
Nov 13 2023, 12:10 PM
Unknown Object (File)
Oct 25 2023, 8:05 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.