Page MenuHomeFreeBSD

KERNEL: Add basic infrastructure for tracking of extended resources.
Needs ReviewPublic

Authored by mmel on Dec 21 2015, 11:49 AM.

Details

Reviewers
imp
ian
Summary

This patch allows us to track consumed extended resources (clocks,
resets, regulator) per device basis. Also, we can automatically release
all extended resources in device_detach().

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mmel retitled this revision from to KERNEL: Add basic infrastructure for tracking of extended resources..
mmel updated this object.
mmel edited the test plan for this revision. (Show Details)
mmel added reviewers: imp, ian.
mmel set the repository for this revision to rS FreeBSD src repository - subversion.

How is this expected to be used? An example consumer of the api would be useful.

It will be used in upcoming clk/regulator/reset framework.
Example of usage can be found in https://github.com/strejda/tegra/blob/master/sys/dev/clk/clk.c