-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic device dependency tracking #14309
Comments
should we close this? |
Seems like this is done, yes. |
Thank you. To clarify, then, the example you give ("when suspending a SPI device, we might also suspend SPI Controller") is not yet implemented? |
Correct, no drivers have been updated to do this. I expect it will ultimately be done using the device power management API, which is currently being discussed elsewhere (I don't know exactly where). |
We need abstraction of dependencies between devices in order to perform power management operations in correct order and on all devices affected by given operation. For example when suspending a SPI device, we might also suspend SPI Controller (driving SCLK, MISO and MOSI) and GPIO controller (driving /CS) if they are no longer use as well as cut off power from unused part of SoC/board.
All data we need is in the DTS. We have to extract this and convert to a form which will be easy to use by the device power management code.
The text was updated successfully, but these errors were encountered: