Page MenuHomeFreeBSD

Fix Zynq interrupts and rearrange FDT files.
ClosedPublic

Authored by skibo on Apr 25 2016, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 8 2024, 4:39 PM
Unknown Object (File)
Oct 6 2024, 4:33 AM
Unknown Object (File)
Sep 27 2024, 10:14 PM
Unknown Object (File)
Sep 20 2024, 12:53 AM
Unknown Object (File)
Sep 18 2024, 10:01 PM
Unknown Object (File)
Sep 11 2024, 5:12 PM
Unknown Object (File)
Sep 11 2024, 5:12 PM
Unknown Object (File)
Aug 24 2024, 6:15 PM
Subscribers

Details

Summary

Use a standard Zynq .dtsi file for Zynq-based boards (currently only zybo and zedboard). Fix problem with Zynq interrupts by using interrupt "triples" in .dtsi file. Fix cgem driver so it pays attention to status property.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

skibo retitled this revision from to Fix Zynq interrupts and rearrange FDT files..
skibo updated this object.
skibo edited the test plan for this revision. (Show Details)

Have you tried using the Linux dts files in sys/gnu/dts/arm? I prefer us moving towards using them over our non-standard entries.

Have you tried using the Linux dts files in sys/gnu/dts/arm? I prefer us moving towards using them over our non-standard entries.

Actually, I did try to make it work by changing/adding the driver compatible names to the ones used in the gnu dts file. But, we don't have the clock infrastructure that Linux has so I have to add clock frequency properties here and there. Is it worth it for me to change compatible and property names to match the gnu file as close as possible?

We now have clock framework in -CURRENT. So it might be worthwhile project to migrate FreeBSD to upstream dts. But I believe this patch should be committed anyways, to fix current breakage, and migrating to gnu/dts should be the next step.

I did not know about the clock framework. I can look into migrating the Zynq stuff to it but I may not get to it in time for 11.0-RELEASE. I'd like to see this committed and treat migrating to the gnu dts as a separate project.

This revision was automatically updated to reflect the committed changes.