linux-mips
[Top] [All Lists]

Re: [PATCH 2/5] MIPS: ralink: mt7620: add spi clock definition

To: John Crispin <blogic@openwrt.org>
Subject: Re: [PATCH 2/5] MIPS: ralink: mt7620: add spi clock definition
From: Gabor Juhos <juhosg@openwrt.org>
Date: Wed, 14 Aug 2013 18:34:59 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <1375960672-32619-2-git-send-email-blogic@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1375960672-32619-1-git-send-email-blogic@openwrt.org> <1375960672-32619-2-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
2013.08.08. 13:17 keltezéssel, John Crispin írta:
> The definition of the spi clock is missing.
> 
> Signed-off-by: John Crispin <blogic@openwrt.org>
> ---
>  arch/mips/ralink/mt7620.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c
> index ccdec5a..769296f 100644
> --- a/arch/mips/ralink/mt7620.c
> +++ b/arch/mips/ralink/mt7620.c
> @@ -167,6 +167,7 @@ void __init ralink_clk_init(void)
>       ralink_clk_add("cpu", cpu_rate);
>       ralink_clk_add("10000100.timer", 40000000);
>       ralink_clk_add("10000500.uart", 40000000);
> +     ralink_clk_add("10000b00.spi", 40000000);

Please verify this. The SPI core uses the system clock AFAIK.

-Gabor

<Prev in Thread] Current Thread [Next in Thread>