diff options
| author | Janani Sunil <janani.sunil@analog.com> | 2026-09-10 19:29:11 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-16 11:08:26 +0200 |
| commit | 73748b4ec54da0323bb2ec62b483ea3f60ff657f (patch) | |
| tree | 83c405190f61468358c547fbf689bee6e8a7d22b /tools/perf/scripts/python/bin | |
| parent | a4319947b59145b95353aabed4db879e9448ea50 (diff) | |
| download | linux-next-73748b4ec54da0323bb2ec62b483ea3f60ff657f.tar.gz linux-next-73748b4ec54da0323bb2ec62b483ea3f60ff657f.zip | |
gpio: regmap: Add optional runtime PM support
Some gpio-regmap consumers share their regmap with a parent device that
may be runtime suspended. GPIO register accesses must resume that device
first.
Add an optional pm_dev field and acquire it before register translation
or access. Release it using runtime autosuspend after each operation.
Keep the device active across the complete direction-output sequence and
propagate failure when setting the initial output value.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260910-ad7768-gpio-v8-2-6aaaa15adeb3@analog.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
