Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1360295 > unrolled thread

[PATCH v3 0/3] ARM: am335x/am437x: Correct PWM bindings

Started byFranklin S Cooper Jr <fcooper@ti.com>
First post2016-03-18 02:20 +0100
Last post2016-03-20 01:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v3 0/3] ARM: am335x/am437x: Correct PWM bindings Franklin S Cooper Jr <fcooper@ti.com> - 2016-03-18 02:20 +0100
    [PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name Franklin S Cooper Jr <fcooper@ti.com> - 2016-03-18 02:20 +0100
      Re: [PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to  use generic node name Rob Herring <robh@kernel.org> - 2016-03-20 01:50 +0100

#1360295 — [PATCH v3 0/3] ARM: am335x/am437x: Correct PWM bindings

FromFranklin S Cooper Jr <fcooper@ti.com>
Date2016-03-18 02:20 +0100
Subject[PATCH v3 0/3] ARM: am335x/am437x: Correct PWM bindings
Message-ID<rdRf3-6Z3-5@gated-at.bofh.it>
Unlike the majority of other SOCs the PWM node uses ehrpwm instead of
the generic pwm node name. This patch series switches to the pwm node
name and while at it fix some other minor binding documentation issues.

This patch series also includes a patch to insure ABI compatibility.

This series was tested on AM335x and AM437x GP evm. I also validated that
ABI compatibility was maintained.

V3 changes:
Update am335x-shc.dts

V2 changes:
Dropped patches related to the ranges property.

Franklin S Cooper Jr (3):
  clk: ti: am335x/am4372: Add tbclk to pwm node
  ARM: DTS: da850/am4372/am33xx: Use generic node name for ehrpwm
  pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

 Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt |  4 ++--
 arch/arm/boot/dts/am335x-shc.dts                       |  2 +-
 arch/arm/boot/dts/am33xx.dtsi                          |  6 +++---
 arch/arm/boot/dts/am4372.dtsi                          | 12 ++++++------
 arch/arm/boot/dts/da850.dtsi                           |  4 ++--
 drivers/clk/ti/clk-33xx.c                              |  3 +++
 drivers/clk/ti/clk-43xx.c                              |  6 ++++++
 7 files changed, 23 insertions(+), 14 deletions(-)

-- 
2.7.0

[toc] | [next] | [standalone]


#1360296 — [PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

FromFranklin S Cooper Jr <fcooper@ti.com>
Date2016-03-18 02:20 +0100
Subject[PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name
Message-ID<rdRf4-6Z3-17@gated-at.bofh.it>
In reply to#1360295
Now that the node name has been changed from ehrpwm to pwm the document
should show this proper usage. Also change the unit address in the example
from 0 to the proper physical address value that should be used.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
Version 3 changes:
N/A

Version 2 changes:
Changed the unit address for da850 to match the value in the reg property.

 Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
index 9c100b2..0f9ba50 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
+++ b/Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt
@@ -15,14 +15,14 @@ Optional properties:
 
 Example:
 
-ehrpwm0: ehrpwm@0 { /* EHRPWM on am33xx */
+ehrpwm0: pwm@48300200 { /* EHRPWM on am33xx */
 	compatible = "ti,am33xx-ehrpwm";
 	#pwm-cells = <3>;
 	reg = <0x48300200 0x100>;
 	ti,hwmods = "ehrpwm0";
 };
 
-ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
+ehrpwm0: pwm@300000 { /* EHRPWM on da850 */
 	compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
 	#pwm-cells = <3>;
 	reg = <0x300000 0x2000>;
-- 
2.7.0

[toc] | [prev] | [next] | [standalone]


#1361186 — Re: [PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

FromRob Herring <robh@kernel.org>
Date2016-03-20 01:50 +0100
SubjectRe: [PATCH v3 3/3] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name
Message-ID<rezJ7-7BA-5@gated-at.bofh.it>
In reply to#1360296
On Thu, Mar 17, 2016 at 08:15:23PM -0500, Franklin S Cooper Jr wrote:
> Now that the node name has been changed from ehrpwm to pwm the document
> should show this proper usage. Also change the unit address in the example
> from 0 to the proper physical address value that should be used.
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> ---
> Version 3 changes:
> N/A
> 
> Version 2 changes:
> Changed the unit address for da850 to match the value in the reg property.
> 
>  Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web