Page MenuHomeFreeBSD

arm64/rk_pcie_phy: handle assigned-clock*
ClosedPublic

Authored by bz on May 20 2021, 5:06 PM.
Tags
None
Referenced Files
F95909584: D30363.id.diff
Mon, Sep 23, 12:20 AM
F95854028: D30363.id89545.diff
Sun, Sep 22, 8:11 PM
Unknown Object (File)
Sat, Sep 21, 4:49 AM
Unknown Object (File)
Thu, Sep 12, 4:15 PM
Unknown Object (File)
Sat, Sep 7, 11:20 AM
Unknown Object (File)
Sat, Sep 7, 7:22 AM
Unknown Object (File)
Thu, Sep 5, 7:20 PM
Unknown Object (File)
Tue, Sep 3, 8:52 PM

Details

Summary

Nanopi4 based SoCs (NanoPC-T4, NanoPi M4*, and NanoPi Neo4) have
assigned-clock* in the pcie_phy node. Handle them but do not fail
in case clk_set_assigned() returns an error (as it would for
other SoCs).

Reviewed by: ..
MFC After: 2 weeks
Differential Revision: ..

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39727
Build 36616: arc lint + arc unit

Event Timeline

bz requested review of this revision.May 20 2021, 5:06 PM

Anyone? Otherwise I'll commit this within the next week.

sys/arm64/rockchip/rk_pcie_phy.c
301

We should fail if rv != ENOENT
Otherwise just be silent is enough.

In case off error not being ENOENT log and fail as suggested by @manu.

bz marked an inline comment as done.Jun 5 2021, 4:12 PM
bz added inline comments.
sys/arm64/rockchip/rk_pcie_phy.c
301

Like this?

This revision is now accepted and ready to land.Jun 5 2021, 4:17 PM
This revision was automatically updated to reflect the committed changes.
bz marked an inline comment as done.