Re: [PATCH v3 4/4] clk: bcm2835: Add PWM clock support to the device tree
From: Remi Pommarel
Date: Mon Dec 07 2015 - 13:17:25 EST
Hi Stefan,
On Sun, Dec 06, 2015 at 10:16:25PM +0100, Stefan Wahren wrote:
> Hi Remi,
>
> please send this patch to devicetree@xxxxxxxxxxxxxxxx
Ok, just to be sure I understand the process here. I should resend a new
version of the whole patchset including the devicetree mailing list as
recipent. Then the first 3 patches will eventually get pushed by a clock
subsystem maintainer. And finally this last patch will be pushed by a
devicetree maintainer.
Am I right here ?
>
> Am 06.12.2015 um 17:22 schrieb Remi Pommarel:
> >Signed-off-by: Remi Pommarel <repk@xxxxxxxxxxxx>
> >---
> > 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.
>
Yes will do. Thank you.
Regards
--
Remi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/