Skip to contentSkip to conversation

sh: sh7757: switch RSPI clock to dev ID match

PATCH New Geert Uytterhoeven 1 participant 1 message Mar 11, 2014 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sh: sh7757: switch RSPI clock to dev ID match

From: Geert Uytterhoeven <[email protected]>

Switch the RSPI MSTP clock on SH7757 from a con ID match to a dev ID match, so we can start looking it up using clk_get() with a NULL ID.

---
Andrew, as there's no active SH-maintainer, can you please pick this up?

This is a prerequisite for "spi: rspi: Use NULL as the clock ID", which is queued for v3.15:
https://git.kernel.org/cgit/linux/kernel/git/broonie/spi.git/commit/drivers/spi/spi-rspi.c?h=for-next&id)f397b739ceef90c8b848f6579cbacd088e896e

v2: Add Tested-by

 arch/sh/kernel/cpu/sh4a/clock-sh7757.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/cpu/sh4a/clock-sh7757.c +1 -1
index e84a43229b9c..5c0e3c335161 100644
@@ -132,7 +132,7 @@ static struct clk_lookup lookups[] = {
 	CLKDEV_CON_ID("usb_fck", &mstp_clks[MSTP103]),
 	CLKDEV_DEV_ID("renesas_usbhs.0", &mstp_clks[MSTP102]),
 	CLKDEV_CON_ID("mmc0", &mstp_clks[MSTP220]),
-	CLKDEV_CON_ID("rspi2", &mstp_clks[MSTP127]),
+	CLKDEV_DEV_ID("rspi.2", &mstp_clks[MSTP127]),
 };
 
 int __init arch_clk_init(void)
Signature · 1 line
1.7.9.5