Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754112AbbGXPXo (ORCPT ); Fri, 24 Jul 2015 11:23:44 -0400 Received: from mail.kernel.org ([198.145.29.136]:36415 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753765AbbGXPXm (ORCPT ); Fri, 24 Jul 2015 11:23:42 -0400 Date: Fri, 24 Jul 2015 16:23:36 +0100 From: Lee Jones To: Eric Anholt Cc: linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stephen Warren , linux-clk@vger.kernel.org, Stephen Boyd , Mike Turquette Subject: Re: [PATCH v4 7/8] ARM: bcm2835: Tie SPI clock to the core clock rate. Message-ID: <20150724152336.GP3436@x1> References: <1437420787-32137-1-git-send-email-eric@anholt.net> <1437420787-32137-8-git-send-email-eric@anholt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437420787-32137-8-git-send-email-eric@anholt.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 32 On Mon, 20 Jul 2015, Eric Anholt wrote: > We were previously using a fixed clock declared in the 2835 DT, but > it's actually the core clock, and it might not be the same if you had > adjusted it using the firmware's config.txt. > > Signed-off-by: Eric Anholt > Acked-by: Stephen Warren > --- > arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) For my own reference: Acked-by: Lee Jones > diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi > index 9549eb8..0a32123 100644 > --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi > +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi > @@ -69,3 +69,7 @@ > <&firmware_clocks RPI_CLOCK_CORE>; > clock-names = "uartclk", "apb_pclk"; > }; > + > +&spi { > + clocks = <&firmware_clocks RPI_CLOCK_CORE>; > +}; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/