pinctrl: tegra20: fix function naming mismatches
authorSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 14 Mar 2025 10:29:28 +0000 (12:29 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 19 Mar 2025 08:59:24 +0000 (10:59 +0200)
The names used for displaya, displayb and i2c1 do not align with their
corresponding Linux counterparts. This inconsistency can cause pins to be
configured incorrectly, potentially breaking existing functionality.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/include/asm/arch-tegra20/pinmux.h

index 8c8579e..9598851 100644 (file)
@@ -467,14 +467,14 @@ static const char * const tegra_pinctrl_to_func[] = {
        [PMUX_FUNC_DAP3] = "dap3",
        [PMUX_FUNC_DAP4] = "dap4",
        [PMUX_FUNC_DAP5] = "dap5",
-       [PMUX_FUNC_DISPA] = "dispa",
-       [PMUX_FUNC_DISPB] = "dispb",
+       [PMUX_FUNC_DISPA] = "displaya",
+       [PMUX_FUNC_DISPB] = "displayb",
        [PMUX_FUNC_EMC_TEST0_DLL] = "emc_test0_dll",
        [PMUX_FUNC_EMC_TEST1_DLL] = "emc_test1_dll",
        [PMUX_FUNC_GMI] = "gmi",
        [PMUX_FUNC_GMI_INT] = "gmi_int",
        [PMUX_FUNC_HDMI] = "hdmi",
-       [PMUX_FUNC_I2C] = "i2c",
+       [PMUX_FUNC_I2C] = "i2c1",
        [PMUX_FUNC_I2C2] = "i2c2",
        [PMUX_FUNC_I2C3] = "i2c3",
        [PMUX_FUNC_IDE] = "ide",