Home
last modified time | relevance | path

Searched hist:"7 ad3d56782ea430c5b03fc7e28428e5ee332b3e6" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dregmap.h7ad3d56782ea430c5b03fc7e28428e5ee332b3e6 Fri Apr 27 09:56:14 UTC 2018 Neil Armstrong <narmstrong@baylibre.com> UPSTREAM: regmap: add regmap_update_bits() helper

Add the regmap_update_bits() to simply the read/modify/write of registers
in a single command. The function is taken from Linux regmap
implementation.

Change-Id: I54aa5e4482369a5f36723005b82bda9b5b7b5499
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 285cbcf97f2b1dcadedb6835b3e9662c7fba0fe2)
/rk3399_rockchip-uboot/drivers/core/
H A Dregmap.c7ad3d56782ea430c5b03fc7e28428e5ee332b3e6 Fri Apr 27 09:56:14 UTC 2018 Neil Armstrong <narmstrong@baylibre.com> UPSTREAM: regmap: add regmap_update_bits() helper

Add the regmap_update_bits() to simply the read/modify/write of registers
in a single command. The function is taken from Linux regmap
implementation.

Change-Id: I54aa5e4482369a5f36723005b82bda9b5b7b5499
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 285cbcf97f2b1dcadedb6835b3e9662c7fba0fe2)