Message ID | 1467036842-20913-1-git-send-email-fcooper@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Monday 27 June 2016 07:44 PM, Franklin S Cooper Jr wrote: > From: "Cooper Jr., Franklin" <fcooper@ti.com> > > Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to > provide the various required clocks. there is nothing called hwmod on da850, so this need rewording to make sense for that platform. > > Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> > Acked-by: Rob Herring <robh@kernel.org> Also, documentation needs update as well since it says: " for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm" " Thanks, Sekhar
On 07/04/2016 07:47 AM, Sekhar Nori wrote: > On Monday 27 June 2016 07:44 PM, Franklin S Cooper Jr wrote: >> From: "Cooper Jr., Franklin" <fcooper@ti.com> >> >> Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to >> provide the various required clocks. > > there is nothing called hwmod on da850, so this need rewording to make > sense for that platform. Sorry will fix. > >> >> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> >> Acked-by: Rob Herring <robh@kernel.org> > > Also, documentation needs update as well since it says: > > " > for da850 - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm" > " > The original patch that Tony pulled in already includes this documentation update for the new bindings. This patch just handles the DA850 DT changes that didn't apply when Tony pulled in the original patch. > Thanks, > Sekhar >
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 25f0f8e..09cf663 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -274,31 +274,36 @@ status = "disabled"; }; ehrpwm0: pwm@300000 { - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; + compatible = "ti,da850-ehrpwm", "ti,am3352-ehrpwm", + "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x300000 0x2000>; status = "disabled"; }; ehrpwm1: pwm@302000 { - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; + compatible = "ti,da850-ehrpwm", "ti,am3352-ehrpwm", + "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x302000 0x2000>; status = "disabled"; }; ecap0: ecap@306000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x306000 0x80>; status = "disabled"; }; ecap1: ecap@307000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x307000 0x80>; status = "disabled"; }; ecap2: ecap@308000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x308000 0x80>; status = "disabled";