diff options
| author | 2026-09-10 19:29:12 +0200 | |
|---|---|---|
| committer | 2026-09-16 11:08:26 +0200 | |
| commit | ea4f5a734cd7625ab161ead75403aded18c0c5ab (patch) | |
| tree | b3798e14806d8c8c5bad9fc3547c72127486a774 /scripts/Makefile.thinlto | |
| parent | gpio: regmap: Add optional runtime PM support (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
