[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160317150305.GA27356@rob-hp-laptop>
Date: Thu, 17 Mar 2016 10:03:05 -0500
From: Rob Herring <robh@...nel.org>
To: Franklin S Cooper Jr <fcooper@...com>
Cc: thierry.reding@...il.com, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
bcousson@...libre.com, tony@...mide.com, linux@....linux.org.uk,
t-kristo@...com, mturquette@...libre.com, sboyd@...eaurora.org,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH 5/5] pwm: pwm-tiehrpwm: Update dt binding document to use
generic node name
On Mon, Mar 07, 2016 at 01:51:58PM -0600, 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@...com>
> ---
> 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..20211ed 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@...00200 { /* EHRPWM on am33xx */
> compatible = "ti,am33xx-ehrpwm";
> #pwm-cells = <3>;
> reg = <0x48300200 0x100>;
> ti,hwmods = "ehrpwm0";
> };
>
> -ehrpwm0: ehrpwm@0 { /* EHRPWM on da850 */
> +ehrpwm0: pwm@...00000 { /* EHRPWM on da850 */
No leading 0s, but more importantly the address is wrong.
> compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm";
> #pwm-cells = <3>;
> reg = <0x300000 0x2000>;
> --
> 2.7.0
>
Powered by blists - more mailing lists