Page MenuHomeFreeBSD

prci: fix up compat
ClosedPublic

Authored by mhorne on Jan 28 2020, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 4:03 PM
Unknown Object (File)
Dec 12 2023, 6:01 AM
Unknown Object (File)
Sep 5 2023, 10:44 PM
Unknown Object (File)
Aug 14 2023, 3:01 PM
Unknown Object (File)
Aug 14 2023, 2:41 AM
Unknown Object (File)
Jul 1 2023, 12:58 PM
Unknown Object (File)
Jun 8 2023, 11:00 AM
Unknown Object (File)
May 9 2023, 12:19 PM
Subscribers

Details

Reviewers
kp
philip
Group Reviewers
riscv
Commits
rS357370: prci: fix up compat
Summary

Add two additional compat strings that can be used to identify the PRCI.

With newer device trees the PRCI has two parents, hfclk and rtcclk, so
allow the driver to attach when more than one parent is found.

Test Plan

Driver attaches with newer device tree, aka the one generated by QEMU.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28998
Build 26972: arc lint + arc unit

Event Timeline

I'm inferring that this driver was written using this device tree, as this is what is passed by the FSBL. If there is a different one that was used please point me to it.

I'm inferring that this driver was written using this device tree, as this is what is passed by the FSBL. If there is a different one that was used please point me to it.

Close to that, this is the BBL dump: http://people.freebsd.org/~kp/sifive_fu540.dts

It only lists "sifive,aloeprci0" for the PRCI, and only has a single parent clock.

This revision is now accepted and ready to land.Jan 29 2020, 2:44 PM
This revision was automatically updated to reflect the committed changes.