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)
commit1c4db59d9bf711e7f8902eaa145959429d659679
treea7a3bc07988a5af2dfdeeb1f95f498c8ca64e0ef
parentd8babb9598ce237ffb1feccb576c66a21c52e5f7
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