Skip to content
Commit 6626a76e authored by Paul Cercueil's avatar Paul Cercueil Committed by Linus Walleij
Browse files

pinctrl: ingenic: Add .max_register in regmap_config



Compute the max register from the GPIO chip offset and number of GPIO
chips.

This permits to read all registers from debugfs.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Tested-by: default avatar周琰杰 (Zhou <Yanjie)&lt;zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20210717174836.14776-3-paul@crapouillou.net
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7261851e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment