Commit 404ee89b authored by Louis-Alexis Eyraud's avatar Louis-Alexis Eyraud Committed by Linus Walleij
Browse files

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: f7a29377 ("pinctrl: mediatek: Add pinctrl driver on mt8196")
Signed-off-by: default avatarLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3a866087
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1801,10 +1801,8 @@ static const struct mtk_pin_reg_calc mt8196_reg_cals[PINCTRL_PIN_REG_MAX] = {
};

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

static const struct mtk_eint_hw mt8196_eint_hw = {