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)
Mar 19 2024, 1:32 AM
Unknown Object (File)
Jan 8 2024, 3:19 PM
Unknown Object (File)
Dec 15 2023, 4:15 PM
Unknown Object (File)
Nov 8 2023, 6:18 PM
Unknown Object (File)
Nov 8 2023, 12:17 AM
Unknown Object (File)
Nov 6 2023, 5:39 PM
Unknown Object (File)
Oct 7 2023, 5:06 PM
Unknown Object (File)
Oct 6 2023, 11:08 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.