pinctrl: mediatek: mt7981: rename reg-names to upstream linux format
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 27 Jan 2025 13:40:38 +0000 (14:40 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 4 Feb 2025 16:20:36 +0000 (10:20 -0600)
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>
arch/arm/dts/mt7981.dtsi
drivers/pinctrl/mediatek/pinctrl-mt7981.c

index 2844ab0..3c8b9ab 100644 (file)
                      <0x11f00000 0x1000>,
                      <0x11f10000 0x1000>,
                      <0x1000b000 0x1000>;
-               reg-names = "gpio_base", "iocfg_rt_base", "iocfg_rm_base",
-                           "iocfg_rb_base", "iocfg_lb_base", "iocfg_bl_base",
-                           "iocfg_tm_base", "iocfg_tl_base", "eint";
+               reg-names = "gpio", "iocfg_rt", "iocfg_rm",
+                           "iocfg_rb", "iocfg_lb", "iocfg_bl",
+                           "iocfg_tm", "iocfg_tl", "eint";
                gpio: gpio-controller {
                        gpio-controller;
                        #gpio-cells = <2>;
index 047e37b..d1c8afd 100644 (file)
@@ -1012,8 +1012,9 @@ static const struct mtk_function_desc mt7981_functions[] = {
 };
 
 static const char *const mt7981_pinctrl_register_base_names[] = {
-       "gpio_base", "iocfg_rt_base", "iocfg_rm_base", "iocfg_rb_base",
-       "iocfg_lb_base", "iocfg_bl_base", "iocfg_tm_base", "iocfg_tl_base",
+       "gpio", "iocfg_rt", "iocfg_rm", "iocfg_rb",
+       "iocfg_lb", "iocfg_bl", "iocfg_tm", "iocfg_tl",
+       "eint",
 };
 
 static const struct mtk_pinctrl_soc mt7981_data = {