Skip to content

Commit 404ee89

Browse files
laeyraudLinus Walleij
authored andcommitted
pinctrl: mediatek: mt8196: align register base names to dt-bindings ones
The mt8196-pinctrl driver requires to probe that a device tree uses in the device node the same names than mt8196_pinctrl_register_base_names array. But they are not matching the required ones in the "mediatek,mt8196-pinctrl" dt-bindings, leading to possible dtbs check issues. So, align all mt8196_pinctrl_register_base_names entries on dt-bindings ones. Fixes: f7a2937 ("pinctrl: mediatek: Add pinctrl driver on mt8196") Signed-off-by: Louis-Alexis Eyraud <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 3a86608 commit 404ee89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/pinctrl/mediatek/pinctrl-mt8196.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,10 +1801,8 @@ static const struct mtk_pin_reg_calc mt8196_reg_cals[PINCTRL_PIN_REG_MAX] = {
18011801
};
18021802

18031803
static const char * const mt8196_pinctrl_register_base_names[] = {
1804-
"iocfg0", "iocfg_rt", "iocfg_rm1", "iocfg_rm2",
1805-
"iocfg_rb", "iocfg_bm1", "iocfg_bm2", "iocfg_bm3",
1806-
"iocfg_lt", "iocfg_lm1", "iocfg_lm2", "iocfg_lb1",
1807-
"iocfg_lb2", "iocfg_tm1", "iocfg_tm2", "iocfg_tm3",
1804+
"base", "rt", "rm1", "rm2", "rb", "bm1", "bm2", "bm3",
1805+
"lt", "lm1", "lm2", "lb1", "lb2", "tm1", "tm2", "tm3",
18081806
};
18091807

18101808
static const struct mtk_eint_hw mt8196_eint_hw = {

0 commit comments

Comments
 (0)