diff options
| author | Yu-Chun Lin <eleanor.lin@realtek.com> | 2026-07-26 20:51:57 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-07-30 11:05:07 +0200 |
| commit | 5f28e3dbd23199c778f5339c0d4488820435f6d5 (patch) | |
| tree | 076a39d2b5a051ef7f8846f959bae9d290ddf394 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 6c53312b7e2d9a972e509f5bac002e169e241eca (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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
