[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <571F6BA5.4010004@ti.com>
Date: Tue, 26 Apr 2016 08:22:45 -0500
From: "Franklin S Cooper Jr." <fcooper@...com>
To: Rob Herring <robh@...nel.org>
CC: <thierry.reding@...il.com>, <tony@...mide.com>, <paul@...an.com>,
<t-kristo@...com>, <linux-pwm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-omap@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-clk@...r.kernel.org>, <devicetree@...r.kernel.org>,
<vigneshr@...com>, <nsekhar@...com>
Subject: Re: [PATCH v6 3/7] ARM: dts: am437x/am33xx/da850: Add new ECAP and
EPWM bindings
On 04/25/2016 08:03 AM, Rob Herring wrote:
> 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@...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@...00100 {
>> - 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@...00200 {
>> - compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
>> + compatible = "ti,am4372-ehrpwm",
>
> ditto.
Will fix
>
>> + "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";
>> };
>> };
Powered by blists - more mailing lists