public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v6 3/7] ARM: dts: am437x/am33xx/da850: Add new ECAP and EPWM bindings
Date: Mon, 25 Apr 2016 08:03:08 -0500	[thread overview]
Message-ID: <20160425130308.GA7802@rob-hp-laptop> (raw)
In-Reply-To: <1461343238-29274-4-git-send-email-fcooper@ti.com>

On Fri, Apr 22, 2016 at 11:40:34AM -0500, Franklin S Cooper Jr wrote:
> Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to
> provide the various required clocks.
> 
> For AM437 and AM335x, add the required clocks explicitly to DT. The
> hwmod entries for ECAP and EPWM will be removed and this will prevent
> anything from breaking.
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> ---
>  .../devicetree/bindings/pwm/pwm-tiecap.txt         | 12 +++--
>  .../devicetree/bindings/pwm/pwm-tiehrpwm.txt       | 12 +++--
>  arch/arm/boot/dts/am33xx.dtsi                      | 30 +++++++++---
>  arch/arm/boot/dts/am4372.dtsi                      | 54 ++++++++++++++++++----
>  arch/arm/boot/dts/da850.dtsi                       | 15 ++++--
>  5 files changed, 95 insertions(+), 28 deletions(-)

[...]

> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
> index 12fcde4..e858460 100644
> --- a/arch/arm/boot/dts/am4372.dtsi
> +++ b/arch/arm/boot/dts/am4372.dtsi
> @@ -672,18 +672,26 @@
>  			status = "disabled";
>  
>  			ecap0: ecap at 48300100 {
> -				compatible = "ti,am4372-ecap","ti,am33xx-ecap";
> +				compatible = "ti,am4372-ecap",

This doesn't appear to be documented.

> +					     "ti,am3352-ecap",
> +					     "ti,am33xx-ecap";
>  				#pwm-cells = <3>;
>  				reg = <0x48300100 0x80>;
>  				ti,hwmods = "ecap0";
> +				clocks = <&l4ls_gclk>;
> +				clock-names = "fck";
>  				status = "disabled";
>  			};
>  
>  			ehrpwm0: pwm at 48300200 {
> -				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
> +				compatible = "ti,am4372-ehrpwm",

ditto.

> +					     "ti,am3352-ehrpwm",
> +					     "ti,am33xx-ehrpwm";
>  				#pwm-cells = <3>;
>  				reg = <0x48300200 0x80>;
>  				ti,hwmods = "ehrpwm0";
> +				clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
> +				clock-names = "tbclk", "fck";
>  				status = "disabled";
>  			};
>  		};

  reply	other threads:[~2016-04-25 13:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22 16:40 [PATCH v6 0/7] ARM: dts: DRA7: Add dt nodes for PWMSS Franklin S Cooper Jr
2016-04-22 16:40 ` [PATCH v6 1/7] clk: ti: am335x/am4372: Add tbclk to pwm node Franklin S Cooper Jr
2016-04-22 16:40 ` [PATCH v6 2/7] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name Franklin S Cooper Jr
2016-04-22 16:40 ` [PATCH v6 3/7] ARM: dts: am437x/am33xx/da850: Add new ECAP and EPWM bindings Franklin S Cooper Jr
2016-04-25 13:03   ` Rob Herring [this message]
2016-04-26 13:22     ` Franklin S Cooper Jr.
2016-04-22 16:40 ` [PATCH v6 4/7] pwms: pwm-ti*: Get the clock from the PWMSS parent when using old bindings Franklin S Cooper Jr
2016-04-22 16:40 ` [PATCH v6 5/7] ARM: dts: am437x/am33xx: Remove hwmod entries for ECAP and EPWM nodes Franklin S Cooper Jr
2016-04-25 13:04   ` Rob Herring
2016-04-22 16:40 ` [PATCH v6 6/7] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries Franklin S Cooper Jr
2016-04-22 16:40 ` [PATCH v6 7/7] ARM: dts: DRA7: Add dt nodes for PWMSS Franklin S Cooper Jr
2016-04-25 13:05   ` Rob Herring
2016-04-25 16:18 ` [PATCH v6 0/7] " Paul Walmsley
2016-04-26 13:22   ` Franklin S Cooper Jr.
2016-04-26 14:27     ` Paul Walmsley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160425130308.GA7802@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox