linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.
@ 2014-01-07  8:13 Xiubo Li
  2014-01-07  8:13 ` [PATCHv9 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board Xiubo Li
  2014-01-07 13:05 ` [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Xiubo Li @ 2014-01-07  8:13 UTC (permalink / raw)
  To: shawn.guo, thierry.reding
  Cc: linux-arm-kernel, linux-pwm, linux-kernel, Xiubo Li

This adds devicetree node for VF610, and there are 8 channels
supported.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
---

No changes since v7.


 arch/arm/boot/dts/vf610.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index d31ce1b..6cce861 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
@@ -152,6 +152,19 @@
 				clock-names = "pit";
 			};
 
+			pwm0: pwm@40038000 {
+				compatible = "fsl,vf610-ftm-pwm";
+				#pwm-cells = <3>;
+				reg = <0x40038000 0x1000>;
+				clock-names = "ftm_sys", "ftm_ext",
+					      "ftm_fix", "ftm_cnt_clk_en";
+				clocks = <&clks VF610_CLK_FTM0>,
+					<&clks VF610_CLK_FTM0_EXT_SEL>,
+					<&clks VF610_CLK_FTM0_FIX_SEL>,
+					<&clks VF610_CLK_FTM0_EXT_FIX_EN>;
+				status = "disabled";
+			};
+
 			wdog@4003e000 {
 				compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
 				reg = <0x4003e000 0x1000>;
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCHv9 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board.
  2014-01-07  8:13 [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Xiubo Li
@ 2014-01-07  8:13 ` Xiubo Li
  2014-01-07 13:05 ` [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Xiubo Li @ 2014-01-07  8:13 UTC (permalink / raw)
  To: shawn.guo, thierry.reding
  Cc: linux-arm-kernel, linux-pwm, linux-kernel, Xiubo Li

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
---


No changes since v7.




 arch/arm/boot/dts/vf610-twr.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index c3a3237..d5c6a39 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -100,6 +100,12 @@
 	status = "okay";
 };
 
+&pwm0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pwm0_1>;
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1_1>;
-- 
1.8.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.
  2014-01-07  8:13 [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Xiubo Li
  2014-01-07  8:13 ` [PATCHv9 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board Xiubo Li
@ 2014-01-07 13:05 ` Shawn Guo
  2014-01-08  5:03   ` Li.Xiubo
  1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2014-01-07 13:05 UTC (permalink / raw)
  To: Xiubo Li; +Cc: thierry.reding, linux-arm-kernel, linux-pwm, linux-kernel

Hi Xiubo,

On Tue, Jan 07, 2014 at 04:13:57PM +0800, Xiubo Li wrote:
> This adds devicetree node for VF610, and there are 8 channels
> supported.
> 
> Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
> Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>

Has the FTM PWM device tree bindings been accepted/merged?  Please only
send me DTS changes after that.  Also when you send me the DTS changes,
please base on imx/dt or for-next branch of my git tree below.

  git://git.linaro.org/people/shawnguo/linux-2.6.git

Shawn

> ---
> 
> No changes since v7.
> 
> 
>  arch/arm/boot/dts/vf610.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
> index d31ce1b..6cce861 100644
> --- a/arch/arm/boot/dts/vf610.dtsi
> +++ b/arch/arm/boot/dts/vf610.dtsi
> @@ -152,6 +152,19 @@
>  				clock-names = "pit";
>  			};
>  
> +			pwm0: pwm@40038000 {
> +				compatible = "fsl,vf610-ftm-pwm";
> +				#pwm-cells = <3>;
> +				reg = <0x40038000 0x1000>;
> +				clock-names = "ftm_sys", "ftm_ext",
> +					      "ftm_fix", "ftm_cnt_clk_en";
> +				clocks = <&clks VF610_CLK_FTM0>,
> +					<&clks VF610_CLK_FTM0_EXT_SEL>,
> +					<&clks VF610_CLK_FTM0_FIX_SEL>,
> +					<&clks VF610_CLK_FTM0_EXT_FIX_EN>;
> +				status = "disabled";
> +			};
> +
>  			wdog@4003e000 {
>  				compatible = "fsl,vf610-wdt", "fsl,imx21-wdt";
>  				reg = <0x4003e000 0x1000>;
> -- 
> 1.8.4
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.
  2014-01-07 13:05 ` [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Shawn Guo
@ 2014-01-08  5:03   ` Li.Xiubo
  0 siblings, 0 replies; 4+ messages in thread
From: Li.Xiubo @ 2014-01-08  5:03 UTC (permalink / raw)
  To: Shawn Guo
  Cc: thierry.reding@gmail.com, linux-arm-kernel@lists.infradead.org,
	linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org


> Has the FTM PWM device tree bindings been accepted/merged?  Please only
> send me DTS changes after that.  Also when you send me the DTS changes,
> please base on imx/dt or for-next branch of my git tree below.
> 
>   git://git.linaro.org/people/shawnguo/linux-2.6.git
> 

Yes, I will resend these dt patches after the FTM driver has been merged
bases on this tree.

Thanks,

Xiubo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-08  5:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-07  8:13 [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Xiubo Li
2014-01-07  8:13 ` [PATCHv9 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board Xiubo Li
2014-01-07 13:05 ` [PATCHv9 2/4] ARM: dts: Add Freescale FTM PWM node for VF610 Shawn Guo
2014-01-08  5:03   ` Li.Xiubo

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).