Page MenuHomeFreeBSD

aw_clk honor CLK_SET_DRYRUN
ClosedPublic

Authored by manu on Dec 16 2016, 7:21 PM.
Tags
Referenced Files
F84418929: D8821.diff
Thu, May 23, 3:47 PM
Unknown Object (File)
Mon, May 13, 7:26 PM
Unknown Object (File)
Mon, May 13, 7:26 PM
Unknown Object (File)
Mon, May 6, 2:35 PM
Unknown Object (File)
Apr 21 2024, 10:19 PM
Unknown Object (File)
Apr 21 2024, 1:15 PM
Unknown Object (File)
Apr 5 2024, 10:10 PM
Unknown Object (File)
Mar 28 2024, 2:56 PM
Subscribers

Details

Summary

Honor the CLK_SET_DRYRUN for the *set_freq function for allwinner clocks.

Test Plan

Tested on A20 SOM EVB

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6277
Build 6517: arc lint + arc unit

Event Timeline

manu retitled this revision from to aw_clk honor CLK_SET_DRYRUN.
manu updated this object.
manu edited the test plan for this revision. (Show Details)
manu added reviewers: ARM, jmcneill.
manu set the repository for this revision to rS FreeBSD src repository - subversion.
manu added a project: ARM.
sys/arm/allwinner/clk/aw_debeclk.c
215

if ((flags & CLK_SET_DRYRUN) != 0)

sys/arm/allwinner/clk/aw_lcdclk.c
421

Why fetch parent_clk freq twice?

manu removed rS FreeBSD src repository - subversion as the repository for this revision.

Remove copy/paste error and explicitly compare flags with dryrun.

manu marked 2 inline comments as done.Dec 16 2016, 8:31 PM
jmcneill edited edge metadata.
This revision is now accepted and ready to land.Dec 16 2016, 9:36 PM
This revision was automatically updated to reflect the committed changes.