* [PATCH v2] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2
@ 2016-09-08 17:47 Sylvain Lemieux
2016-09-08 18:21 ` Vladimir Zapolskiy
0 siblings, 1 reply; 2+ messages in thread
From: Sylvain Lemieux @ 2016-09-08 17:47 UTC (permalink / raw)
To: linux-arm-kernel
From: Sylvain Lemieux <slemieux@tycoint.com>
The change setup the peripheral clock (PERIPH_CLK) as the default
parent clock for PWM1 & PWM2.
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
---
Changes from v1 to v2:
* Only assigned the PWM clock.
arch/arm/boot/dts/lpc32xx.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
index e295e1e..218d9fa 100644
--- a/arch/arm/boot/dts/lpc32xx.dtsi
+++ b/arch/arm/boot/dts/lpc32xx.dtsi
@@ -469,6 +469,8 @@
compatible = "nxp,lpc3220-pwm";
reg = <0x4005C000 0x4>;
clocks = <&clk LPC32XX_CLK_PWM1>;
+ assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
+ assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
status = "disabled";
};
@@ -476,6 +478,8 @@
compatible = "nxp,lpc3220-pwm";
reg = <0x4005C004 0x4>;
clocks = <&clk LPC32XX_CLK_PWM2>;
+ assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
+ assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
status = "disabled";
};
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v2] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2
2016-09-08 17:47 [PATCH v2] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Sylvain Lemieux
@ 2016-09-08 18:21 ` Vladimir Zapolskiy
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Zapolskiy @ 2016-09-08 18:21 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sylvain,
On 08.09.2016 20:47, Sylvain Lemieux wrote:
> From: Sylvain Lemieux <slemieux@tycoint.com>
>
> The change setup the peripheral clock (PERIPH_CLK) as the default
> parent clock for PWM1 & PWM2.
>
> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
> ---
> Changes from v1 to v2:
> * Only assigned the PWM clock.
>
> arch/arm/boot/dts/lpc32xx.dtsi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
> index e295e1e..218d9fa 100644
> --- a/arch/arm/boot/dts/lpc32xx.dtsi
> +++ b/arch/arm/boot/dts/lpc32xx.dtsi
> @@ -469,6 +469,8 @@
> compatible = "nxp,lpc3220-pwm";
> reg = <0x4005C000 0x4>;
> clocks = <&clk LPC32XX_CLK_PWM1>;
> + assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
> + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
> status = "disabled";
> };
>
> @@ -476,6 +478,8 @@
> compatible = "nxp,lpc3220-pwm";
> reg = <0x4005C004 0x4>;
> clocks = <&clk LPC32XX_CLK_PWM2>;
> + assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
> + assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
> status = "disabled";
> };
>
>
the change is applied, thank you!
--
With best wishes,
Vladimir
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-08 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08 17:47 [PATCH v2] ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2 Sylvain Lemieux
2016-09-08 18:21 ` Vladimir Zapolskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).