diff options
author | Tony Lindgren <[email protected]> | 2023-05-25 14:30:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-05-31 10:46:59 +0100 |
commit | 84a9582fd203063cd4d301204971ff2cd8327f1a (patch) | |
tree | d636cedba8d6f7f7f1c8cf1cce34e0be6139a78d /tools/perf/scripts/python/bin/export-to-sqlite-report | |
parent | ae62c49c0ceff20dc7c1fad4a5b8f91d64b4f628 (diff) |
serial: core: Start managing serial controllers to enable runtime PM
We want to enable runtime PM for serial port device drivers in a generic
way. To do this, we want to have the serial core layer manage the
registered physical serial controller devices.
To manage serial controllers, let's set up a struct bus and struct device
for the serial core controller as suggested by Greg and Jiri. The serial
core controller devices are children of the physical serial port device.
The serial core controller device is needed to support multiple different
kind of ports connected to single physical serial port device.
Let's also set up a struct device for the serial core port. The serial
core port instances are children of the serial core controller device.
With the serial core port device we can now flush pending TX on the
runtime PM resume as suggested by Johan.
Suggested-by: Andy Shevchenko <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Suggested-by: Jiri Slaby <[email protected]>
Suggested-by: Johan Hovold <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions