Re: [PATCH v7 6/9] gpio: regmap: Add value_xlate callback

"Michael Walle" <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu Jul 23, 2026 at 5:42 AM CEST, Yu-Chun Lin wrote:
> 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.
>
> Suggested-by: Michael Walle <[email protected]>
> Signed-off-by: Yu-Chun Lin <[email protected]>

Reviewed-by: Michael Walle <[email protected]>
signature.asc (application/pgp-signature, 297 B)
-----BEGIN PGP SIGNATURE-----

iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCamG6mhIcbXdhbGxlQGtl
cm5lbC5vcmcACgkQEic87j4CH/iQkwF/Tt4BiYCcfypNSwSJV+0TEziuaHgNOFXT
rOWCxZI4kUCmmm1tC/N/S+EbDc71Zf33AX9t2ZYzufSY+0qAT+tRY1kamosYyaQ5
W0tYjDs/Eb73sxCFmuMdb5DbODCZG2DxYpw=
=rPmo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.