pinctrl: mediatek: mt7981: rename reg-names to upstream linux format

Rename reg-names to upstream linux format. Upstream linux drop the
"_base". To make use of upstream DTSI, align to the upstream naming.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
Tested-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
Christian Marangi
2025-01-27 14:40:38 +01:00
committed by Tom Rini
parent 219b048820
commit 8b1ea8a4b9
2 changed files with 6 additions and 5 deletions

View File

@@ -117,9 +117,9 @@
<0x11f00000 0x1000>, <0x11f00000 0x1000>,
<0x11f10000 0x1000>, <0x11f10000 0x1000>,
<0x1000b000 0x1000>; <0x1000b000 0x1000>;
reg-names = "gpio_base", "iocfg_rt_base", "iocfg_rm_base", reg-names = "gpio", "iocfg_rt", "iocfg_rm",
"iocfg_rb_base", "iocfg_lb_base", "iocfg_bl_base", "iocfg_rb", "iocfg_lb", "iocfg_bl",
"iocfg_tm_base", "iocfg_tl_base", "eint"; "iocfg_tm", "iocfg_tl", "eint";
gpio: gpio-controller { gpio: gpio-controller {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;

View File

@@ -1012,8 +1012,9 @@ static const struct mtk_function_desc mt7981_functions[] = {
}; };
static const char *const mt7981_pinctrl_register_base_names[] = { static const char *const mt7981_pinctrl_register_base_names[] = {
"gpio_base", "iocfg_rt_base", "iocfg_rm_base", "iocfg_rb_base", "gpio", "iocfg_rt", "iocfg_rm", "iocfg_rb",
"iocfg_lb_base", "iocfg_bl_base", "iocfg_tm_base", "iocfg_tl_base", "iocfg_lb", "iocfg_bl", "iocfg_tm", "iocfg_tl",
"eint",
}; };
static const struct mtk_pinctrl_soc mt7981_data = { static const struct mtk_pinctrl_soc mt7981_data = {