diff options
author | Sakari Ailus <[email protected]> | 2021-10-18 15:17:25 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2021-11-03 19:03:55 +0100 |
commit | b18c1ad685d9a6af5189d4cc037a653270a07b4c (patch) | |
tree | 4f39945648c32972f9bd9cb6815b1a1bb6532764 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | b340c7d6f619ad63d1896a6debceea1de3a78f29 (diff) |
i2c: Allow an ACPI driver to manage the device's power state during probe
Enable drivers to tell ACPI that there's no need to power on a device for
probe. Drivers should still perform this by themselves if there's a need
to. In some cases powering on the device during probe is undesirable, and
this change enables a driver to choose what fits best for it.
Add a field called "flags" into struct i2c_driver for driver flags, and a
flag I2C_DRV_ACPI_WAIVE_D0_PROBE to tell a driver supports probe in ACPI D
states other than 0.
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions