Page MenuHomeFreeBSD

clkdev: Pass methods to parent device by default
ClosedPublic

Authored by jmcneill on Mar 26 2016, 7:53 PM.
Tags
Referenced Files
F81993402: D5750.id14633.diff
Wed, Apr 24, 7:06 AM
F81992508: D5750.id14633.diff
Wed, Apr 24, 6:49 AM
Unknown Object (File)
Fri, Apr 19, 9:03 PM
Unknown Object (File)
Feb 20 2024, 10:07 PM
Unknown Object (File)
Feb 9 2024, 5:40 PM
Unknown Object (File)
Feb 8 2024, 11:43 AM
Unknown Object (File)
Jan 28 2024, 12:16 PM
Unknown Object (File)
Dec 25 2023, 5:05 PM
Subscribers

Details

Summary

This change makes the default clkdev_if methods pass through to the parent device.

For Allwinner, I have a device attaching to the /clocks node that implements clkdev_if, and a bunch of clock drivers under it. This saves me from having to implement clkdev_if on all child drivers using the clk_gate, clk_mux, and clk_div helpers.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jmcneill retitled this revision from to clkdev: Pass methods to parent device by default.
jmcneill updated this object.
jmcneill edited the test plan for this revision. (Show Details)
jmcneill added reviewers: mmel, ARM.
jmcneill set the repository for this revision to rS FreeBSD src repository - subversion.
jmcneill added a project: ARM.
mmel edited edge metadata.
This revision is now accepted and ready to land.Mar 27 2016, 8:13 AM
adrian added a reviewer: adrian.
adrian added a subscriber: adrian.

ok, I'm okay with it; please check with #bsdmips for further review first!

This revision was automatically updated to reflect the committed changes.