diff options
| author | Janani Sunil <janani.sunil@analog.com> | 2026-09-10 19:29:12 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-09-16 11:08:26 +0200 |
| commit | ea4f5a734cd7625ab161ead75403aded18c0c5ab (patch) | |
| tree | b3798e14806d8c8c5bad9fc3547c72127486a774 /tools/perf/scripts/python | |
| parent | 73748b4ec54da0323bb2ec62b483ea3f60ff657f (diff) | |
| download | linux-next-ea4f5a734cd7625ab161ead75403aded18c0c5ab.tar.gz linux-next-ea4f5a734cd7625ab161ead75403aded18c0c5ab.zip | |
gpio: ad7768: Add AD7768 GPIO auxiliary driver
The AD7768 provides five GPIOs controlled through registers shared
with the parent IIO device. Register an auxiliary gpio-regmap driver
and use the parent device for runtime PM.
The device has separate input-state and output-latch registers. Add a
reg_mask_xlate() callback that checks the line direction and reads the
programmed output latch for output lines while retaining input-state
reads for input lines.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Janani Sunil <janani.sunil@analog.com>
Link: https://patch.msgid.link/20260910-ad7768-gpio-v8-3-6aaaa15adeb3@analog.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
