Message ID | 20160830145801.10364-1-grygorii.strashko@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Grygorii Strashko <grygorii.strashko@ti.com> [160830 07:58]: > > Originally this patch was posted (and acked) here > https://lkml.org/lkml/2016/4/27/272, > but it, unfortunatelly, has never been merged. > So re-send + minor subj change. OK yeah sorry about that. And thanks for the resend. If some patches have pending discussion as I tend to tag threads that have pending discussion as read and then forget them. And I miss patches in other ways too.. Tero, care to take a look and ack? Regards, Tony
On 30/08/16 21:41, Tony Lindgren wrote: > * Grygorii Strashko <grygorii.strashko@ti.com> [160830 07:58]: >> >> Originally this patch was posted (and acked) here >> https://lkml.org/lkml/2016/4/27/272, >> but it, unfortunatelly, has never been merged. >> So re-send + minor subj change. > > OK yeah sorry about that. And thanks for the resend. If some patches > have pending discussion as I tend to tag threads that have pending > discussion as read and then forget them. And I miss patches in other > ways too.. > > Tero, care to take a look and ack? For both patches: Acked-by: Tero Kristo <t-kristo@ti.com>
* Tero Kristo <t-kristo@ti.com> [160830 23:09]: > On 30/08/16 21:41, Tony Lindgren wrote: > > * Grygorii Strashko <grygorii.strashko@ti.com> [160830 07:58]: > > > > > > Originally this patch was posted (and acked) here > > > https://lkml.org/lkml/2016/4/27/272, > > > but it, unfortunatelly, has never been merged. > > > So re-send + minor subj change. > > > > OK yeah sorry about that. And thanks for the resend. If some patches > > have pending discussion as I tend to tag threads that have pending > > discussion as read and then forget them. And I miss patches in other > > ways too.. > > > > Tero, care to take a look and ack? > > For both patches: > > Acked-by: Tero Kristo <t-kristo@ti.com> Thanks applying both into omap-for-v4.9/dt as the Ethernet works currently. Regards, Tony
On 31/08/16 17:39, Tony Lindgren wrote: > * Tero Kristo <t-kristo@ti.com> [160830 23:09]: >> On 30/08/16 21:41, Tony Lindgren wrote: >>> * Grygorii Strashko <grygorii.strashko@ti.com> [160830 07:58]: >>>> >>>> Originally this patch was posted (and acked) here >>>> https://lkml.org/lkml/2016/4/27/272, >>>> but it, unfortunatelly, has never been merged. >>>> So re-send + minor subj change. >>> >>> OK yeah sorry about that. And thanks for the resend. If some patches >>> have pending discussion as I tend to tag threads that have pending >>> discussion as read and then forget them. And I miss patches in other >>> ways too.. >>> >>> Tero, care to take a look and ack? >> >> For both patches: >> >> Acked-by: Tero Kristo <t-kristo@ti.com> > > Thanks applying both into omap-for-v4.9/dt as the Ethernet works > currently. > > Regards, > > Tony > Yea I think the ethernet clock rate happens to be the same in the existing setup, just the hierarchy is wrong. That is at least what I saw with quick testing. -Tero
diff --git a/arch/arm/boot/dts/dra7xx-clocks.dtsi b/arch/arm/boot/dts/dra7xx-clocks.dtsi index 8378b44..3f0c61d 100644 --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi @@ -1718,13 +1718,20 @@ reg = <0x0c00>; }; - gmac_gmii_ref_clk_div: gmac_gmii_ref_clk_div@13d0 { + rmii_50mhz_clk_mux: rmii_50mhz_clk_mux@13d0 { #clock-cells = <0>; - compatible = "ti,divider-clock"; - clocks = <&dpll_gmac_m2_ck>; + compatible = "ti,mux-clock"; + clocks = <&dpll_gmac_h11x2_ck>, <&rmii_clk_ck>; ti,bit-shift = <24>; reg = <0x13d0>; - ti,dividers = <2>; + }; + + gmac_gmii_ref_clk_div: gmac_gmii_ref_clk_div { + #clock-cells = <0>; + compatible = "fixed-factor-clock"; + clocks = <&dpll_gmac_m2_ck>; + clock-mult = <1>; + clock-div = <2>; }; gmac_rft_clk_mux: gmac_rft_clk_mux@13d0 {