Some device requires a special handling for reg_update_bits and can't use the normal regmap read write logic. An example is when locking is handled by the device and rmw operations requires to do atomic operations. Allow to declare a dedicated function in regmap_config for reg_update_bits in no bus configuration. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> Link: https://lore.kernel.org/r/20211104150040.1260-1-ansuelsmth@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Bug: 231624577 Change-Id: I60e64e34d01df8da784dcd07a05f1e375725a14e (cherry picked from commit 02d6fdecb9c38de19065f6bed8d5214556fd061d) Signed-off-by: Zhipeng Wang <zhipeng.wang_1@nxp.com>
64 KiB
64 KiB