regmap: Allow left shifting register offset before access
authorPratyush Yadav <p.yadav@ti.com>
Thu, 24 Sep 2020 04:34:13 +0000 (10:04 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:22 +0000 (11:55 -0400)
commit7aa5ddffe7fbafe7ef828088ba1dbc76270300c5
treea0d6b807b712d780a3ea7f5ea0c5dfcd2346b925
parent78aaedba9f1b92335a4f0ce8344f6abf7a63dccb
regmap: Allow left shifting register offset before access

Drivers can configure it to adjust the final read/write location.

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