diff options
author | Andy Shevchenko <[email protected]> | 2024-08-27 18:00:37 +0300 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-09-10 00:36:44 +0200 |
commit | 534696e4c0bb7dee8f2ceacb1127ad6549f23f53 (patch) | |
tree | 204c5fd669b81bc76bf6d8bf95fd9fd6f36338e0 /scripts/generate_rust_analyzer.py | |
parent | 01e00b5db8608400665a9cc20d9a56b2eeec3186 (diff) |
i2c: designware: Consolidate PM ops
We have the same (*) PM ops in the PCI and platform drivers.
Instead, consolidate that PM ops under exported variable and
deduplicate them.
*)
With the subtle ACPI and P-Unit behaviour differences in PCI case.
But this is not a problem as for ACPI we need to take care of the
P-Unit semaphore anyway and calling PM ops for PCI makes sense as
it might provide specific operation regions in ACPI (however there
are no known devices on market that are using it with PCI enabled I2C).
Note, the clocks are not in use in the PCI case.
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Sanket Goswami <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions