diff options
| author | 2026-07-26 20:51:57 +0800 | |
|---|---|---|
| committer | 2026-07-30 11:05:07 +0200 | |
| commit | 5f28e3dbd23199c778f5339c0d4488820435f6d5 (patch) | |
| tree | 076a39d2b5a051ef7f8846f959bae9d290ddf394 /scripts/Makefile.thinlto | |
| parent | gpio: regmap: Add gpio_regmap_operation to extend reg_mask_xlate callback (diff) | |
gpio: regmap: Add value_xlate callback
Introduce a new optional 'value_xlate' callback. This routine allows drivers
to translate or modify the register value and mask immediately before a write
operation. It is particularly useful for hardware that requires additional
control bits, such as a write-enable bit, to be appended to the data
dynamically.
Reviewed-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Suggested-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com>
Link: https://patch.msgid.link/20260726125209.140307-7-eleanor.lin@realtek.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
