Commit 6626a76
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: Paul Cercueil <paul@crapouillou.net>
Tested-by: 周琰杰 (Zhou Yanjie)<zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20210717174836.14776-3-paul@crapouillou.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent 7261851 commit 6626a76
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4149 | 4149 | | |
4150 | 4150 | | |
4151 | 4151 | | |
| 4152 | + | |
4152 | 4153 | | |
4153 | 4154 | | |
4154 | 4155 | | |
| |||
4166 | 4167 | | |
4167 | 4168 | | |
4168 | 4169 | | |
4169 | | - | |
4170 | | - | |
| 4170 | + | |
| 4171 | + | |
| 4172 | + | |
| 4173 | + | |
4171 | 4174 | | |
4172 | 4175 | | |
4173 | 4176 | | |
| |||
0 commit comments