summaryrefslogtreecommitdiff
path: root/Documentation/firmware-guide
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2021-10-18 15:17:25 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-11-03 19:03:55 +0100
commitb18c1ad685d9a6af5189d4cc037a653270a07b4c (patch)
tree4f39945648c32972f9bd9cb6815b1a1bb6532764 /Documentation/firmware-guide
parentb340c7d6f619ad63d1896a6debceea1de3a78f29 (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 <sakari.ailus@linux.intel.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Acked-by: Wolfram Sang <wsa@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/firmware-guide')
0 files changed, 0 insertions, 0 deletions