kernel_samsung_a53x/drivers/base/regmap
Marek Vasut d29acc899c regmap: Add bulk read/write callbacks into regmap_config
[ Upstream commit d77e745613680c54708470402e2b623dcd769681 ]

Currently the regmap_config structure only allows the user to implement
single element register read/write using .reg_read/.reg_write callbacks.
The regmap_bus already implements bulk counterparts of both, and is being
misused as a workaround for the missing bulk read/write callbacks in
regmap_config by a couple of drivers. To stop this misuse, add the bulk
read/write callbacks to regmap_config and call them from the regmap core
code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Link: https://lore.kernel.org/r/20220430025145.640305-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 3f42b142ea11 ("serial: max310x: fix IO data corruption in batched operations")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 23:19:53 +01:00
..
internal.h regmap: Add bulk read/write callbacks into regmap_config 2024-11-18 23:19:53 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regcache-flat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regcache-lzo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regcache-rbtree.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regcache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-ac97.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-debugfs.c regmap: debugfs: Fix a erroneous check after snprintf() 2024-11-18 11:42:53 +01:00
regmap-i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-i3c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-mmio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-sccb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-sdw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-slimbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-spi-avmm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-spmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap-w1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regmap.c regmap: Add bulk read/write callbacks into regmap_config 2024-11-18 23:19:53 +01:00
trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00