From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932411AbaBGMpN (ORCPT ); Fri, 7 Feb 2014 07:45:13 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:54977 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752952AbaBGMpI (ORCPT ); Fri, 7 Feb 2014 07:45:08 -0500 MIME-Version: 1.0 In-Reply-To: <1389522649-1753-1-git-send-email-geert@linux-m68k.org> References: <1389522649-1753-1-git-send-email-geert@linux-m68k.org> Date: Fri, 7 Feb 2014 13:45:07 +0100 X-Google-Sender-Auth: ASIVvpJknDBvwVWHYmSdav62NXw Message-ID: Subject: Re: [PATCH] sh: sh7757: switch RSPI clock to dev ID match From: Geert Uytterhoeven To: Linux-sh list Cc: "linux-kernel@vger.kernel.org" , Geert Uytterhoeven , Yoshihiro Shimoda Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 12, 2014 at 11:30 AM, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > 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. > > Signed-off-by: Geert Uytterhoeven > --- > Untested, as I don't have the hardware, but this is a prerequisite for > "spi: rspi: Use NULL as the clock ID". Is there anyone who can test this? "spi: rspi: Use NULL as the clock ID" 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=29f397b739ceef90c8b848f6579cbacd088e896e and this patch should go in first. Thanks! > arch/sh/kernel/cpu/sh4a/clock-sh7757.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7757.c b/arch/sh/kernel/cpu/sh4a/clock-sh7757.c > index e84a43229b9c..5c0e3c335161 100644 > --- a/arch/sh/kernel/cpu/sh4a/clock-sh7757.c > +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7757.c > @@ -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) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds