Page MenuHomeFreeBSD

clk: Add clknode_recalc_freq to the spacemit CCU driver
AcceptedPublic

Authored by bnovkov on Tue, Sep 22, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 3, 9:40 AM
Unknown Object (File)
Sat, Oct 3, 4:55 AM
Unknown Object (File)
Sat, Oct 3, 4:31 AM
Unknown Object (File)
Sat, Oct 3, 3:38 AM
Unknown Object (File)
Fri, Oct 2, 3:28 PM
Unknown Object (File)
Thu, Oct 1, 7:16 AM
Unknown Object (File)
Wed, Sep 30, 1:39 PM
Unknown Object (File)
Tue, Sep 29, 2:21 AM
Subscribers

Details

Reviewers
mmel
mhorne
Summary

The spacemit CCU driver was missing the clknode_recalc_freq method
and thus had no way of communicating the actual programmed clock value.

While we're here, reorder the locking so that clknode_set_parent_by_idx
does not recurse on the device mutex.

Fixes: dcb10e3add17

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77197
Build 74080: arc lint + arc unit