Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names

The dt-bindings for the GSWIP describe that the node should be named
"switch". Use the same name in sysctrl.c so the GSWIP driver can
actually find the "gphy0" and "gphy1" clocks.

Fixes: 14fceff4771e51 ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Cc: stable@vger.kernel.org
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Martin Blumenstingl and committed by
Thomas Bogendoerfer
03e62fd6 b3a9e3b9

+4 -4
+4 -4
arch/mips/lantiq/xway/sysctrl.c
··· 514 514 clkdev_add_pmu("1e10b308.eth", NULL, 0, 0, PMU_SWITCH | 515 515 PMU_PPE_DP | PMU_PPE_TC); 516 516 clkdev_add_pmu("1da00000.usif", "NULL", 1, 0, PMU_USIF); 517 - clkdev_add_pmu("1e108000.gswip", "gphy0", 0, 0, PMU_GPHY); 518 - clkdev_add_pmu("1e108000.gswip", "gphy1", 0, 0, PMU_GPHY); 517 + clkdev_add_pmu("1e108000.switch", "gphy0", 0, 0, PMU_GPHY); 518 + clkdev_add_pmu("1e108000.switch", "gphy1", 0, 0, PMU_GPHY); 519 519 clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU); 520 520 clkdev_add_pmu("1e116000.mei", "afe", 1, 2, PMU_ANALOG_DSL_AFE); 521 521 clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE); ··· 538 538 PMU_SWITCH | PMU_PPE_DPLUS | PMU_PPE_DPLUM | 539 539 PMU_PPE_EMA | PMU_PPE_TC | PMU_PPE_SLL01 | 540 540 PMU_PPE_QSB | PMU_PPE_TOP); 541 - clkdev_add_pmu("1e108000.gswip", "gphy0", 0, 0, PMU_GPHY); 542 - clkdev_add_pmu("1e108000.gswip", "gphy1", 0, 0, PMU_GPHY); 541 + clkdev_add_pmu("1e108000.switch", "gphy0", 0, 0, PMU_GPHY); 542 + clkdev_add_pmu("1e108000.switch", "gphy1", 0, 0, PMU_GPHY); 543 543 clkdev_add_pmu("1e103000.sdio", NULL, 1, 0, PMU_SDIO); 544 544 clkdev_add_pmu("1e103100.deu", NULL, 1, 0, PMU_DEU); 545 545 clkdev_add_pmu("1e116000.mei", "dfe", 1, 0, PMU_DFE);