lkml.org 
[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v5 3/4] ARM: dts: sirf: fix the pwm-cells and clocks
2014-07-16 9:55 GMT+08:00 Huayi Li <huayi.li@csr.com>:
> This patch adds missed pwm-cells, clock-names and signal source
> clock for PWM module.
>
> Signed-off-by: Huayi Li <huayi.li@csr.com>

Reviewed-by: Barry Song <Baohua.Song@csr.com>

> ---
> arch/arm/boot/dts/atlas6.dtsi | 8 ++++++--
> arch/arm/boot/dts/prima2.dtsi | 8 ++++++--
> 2 files changed, 12 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/atlas6.dtsi b/arch/arm/boot/dts/atlas6.dtsi
> index bb22842..d424a69 100644
> --- a/arch/arm/boot/dts/atlas6.dtsi
> +++ b/arch/arm/boot/dts/atlas6.dtsi
> @@ -638,10 +638,14 @@
> };
> };
>
> - pwm@b0130000 {
> + pwm: pwm@b0130000 {
> compatible = "sirf,prima2-pwm";
> + #pwm-cells = <2>;
> reg = <0xb0130000 0x10000>;
> - clocks = <&clks 21>;
> + clocks = <&clks 21>, <&clks 1>, <&clks 2>,
> + <&clks 3>, <&clks 0>, <&clks 4>;
> + clock-names = "pwmc", "sigsrc0", "sigsrc1",
> + "sigsrc2", "sigsrc3", "sigsrc4";
> };
>
> efusesys@b0140000 {
> diff --git a/arch/arm/boot/dts/prima2.dtsi b/arch/arm/boot/dts/prima2.dtsi
> index 963b7e5..68bb0c4 100644
> --- a/arch/arm/boot/dts/prima2.dtsi
> +++ b/arch/arm/boot/dts/prima2.dtsi
> @@ -646,10 +646,14 @@
> };
> };
>
> - pwm@b0130000 {
> + pwm: pwm@b0130000 {
> compatible = "sirf,prima2-pwm";
> + #pwm-cells = <2>;
> reg = <0xb0130000 0x10000>;
> - clocks = <&clks 21>;
> + clocks = <&clks 21>, <&clks 1>, <&clks 2>,
> + <&clks 3>, <&clks 0>, <&clks 4>;
> + clock-names = "pwmc", "sigsrc0", "sigsrc1",
> + "sigsrc2", "sigsrc3", "sigsrc4";
> };
>
> efusesys@b0140000 {
> --
> 1.9.3
>

-barry


\
 
 \ /
  Last update: 2014-07-26 07:21    [W:0.060 / U:4.208 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site