Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754681AbbLFVQ4 (ORCPT ); Sun, 6 Dec 2015 16:16:56 -0500 Received: from www.augenpunkt.de ([213.239.207.9]:56173 "EHLO www.augenpunkt.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754481AbbLFVQy (ORCPT ); Sun, 6 Dec 2015 16:16:54 -0500 Subject: Re: [PATCH v3 4/4] clk: bcm2835: Add PWM clock support to the device tree To: Remi Pommarel References: <1449418969-5565-1-git-send-email-repk@triplefau.lt> <1449418969-5565-5-git-send-email-repk@triplefau.lt> Cc: Stephen Warren , Eric Anholt , Lee Jones , Michael Turquette , Stephen Boyd , Rob Herring , linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-clk@vger.kernel.org From: Stefan Wahren Message-ID: <5664A5A9.4030204@lategoodbye.de> Date: Sun, 6 Dec 2015 22:16:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449418969-5565-5-git-send-email-repk@triplefau.lt> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1554 Lines: 56 Hi Remi, please send this patch to devicetree@vger.kernel.org. Am 06.12.2015 um 17:22 schrieb Remi Pommarel: > Signed-off-by: Remi Pommarel > --- > arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 ++++ > arch/arm/boot/dts/bcm2835.dtsi | 9 +++++++++ > 2 files changed, 13 insertions(+) > > diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi > index 3572f03..55801e0 100644 > --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi > +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi > @@ -60,3 +60,7 @@ > status = "okay"; > bus-width = <4>; > }; > + > +&pwm { > + status = "okay"; > +}; > diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi > index aef64de..641f7f4 100644 > --- a/arch/arm/boot/dts/bcm2835.dtsi > +++ b/arch/arm/boot/dts/bcm2835.dtsi > @@ -149,6 +149,15 @@ > status = "disabled"; > }; > > + pwm: pwm@7e20c000 { > + compatible = "brcm,bcm2835-pwm"; > + reg = <0x7e20c000 0x28>; > + clocks = <&clocks BCM2835_CLOCK_PWM>; Looks like #pwm-cells is missing. Regards Stefan > + assigned-clocks = <&clocks BCM2835_CLOCK_PWM>; > + assigned-clock-rates = <10000000>; > + status = "disabled"; > + }; > + > sdhci: sdhci@7e300000 { > compatible = "brcm,bcm2835-sdhci"; > reg = <0x7e300000 0x100>; > -- 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/