]> git.baikalelectronics.ru Git - uboot.git/commit
regmap: Add support for regmap fields
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 24 Sep 2020 04:34:16 +0000 (10:04 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:23 +0000 (11:55 -0400)
commit642c29dbe41182d2e0d2005eed18b1ff2a426e9d
treea7a3bc07988a5af2dfdeeb1f95f498c8ca64e0ef
parent55426de43e8ee76ade553038efd8d30b42491b08
regmap: Add support for regmap fields

A regmap field is an abstraction available in Linux. It provides to access
bitfields in a regmap without having to worry about shifts and masks.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
drivers/core/regmap.c
include/regmap.h