soc: ixp4xx: Add features from regmap helper
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Feb 2022 22:32:31 +0000 (23:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 12 Feb 2022 17:20:03 +0000 (18:20 +0100)
commitb50113cbdd1340c31e85e4cfc5f5e81ce9cbb2aa
tree413f185e8e2dedef5cfbd7663222f8e5e64c4cec
parentbb3f6e55a9018271ca99f85abebaff66db3c2b8b
soc: ixp4xx: Add features from regmap helper

If we want to read the CFG2 register on the expansion bus and
apply the inversion and check for some hardcoded versions this
helper comes in handy.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220211223238.648934-7-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/soc/ixp4xx/cpu.h