Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1413355 > unrolled thread

Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY

Started byGrygorii Strashko <grygorii.strashko@ti.com>
First post2016-06-03 18:50 +0200
Last post2016-06-10 13:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only  one PHY Grygorii Strashko <grygorii.strashko@ti.com> - 2016-06-03 18:50 +0200
    Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having  only one PHY Tony Lindgren <tony@atomide.com> - 2016-06-10 13:40 +0200

#1413355 — Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY

FromGrygorii Strashko <grygorii.strashko@ti.com>
Date2016-06-03 18:50 +0200
SubjectRe: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
Message-ID<rG0si-5FK-11@gated-at.bofh.it>
On 05/27/2016 09:17 PM, Andrew F. Davis wrote:
> Currently am33xx.dtsi declares the MAC controller to have two
> slave ports, on these boards we only use one, so set the slave
> count to one. This eliminates a console error message when
> the non-existent PHY is not detected.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
>   arch/arm/boot/dts/am335x-bone-common.dtsi | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 0cc150b..8767bbe 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -359,12 +359,8 @@
>   	phy-mode = "mii";
>   };
>
> -&cpsw_emac1 {
> -	phy_id = <&davinci_mdio>, <1>;
> -	phy-mode = "mii";
> -};
> -
>   &mac {
> +	slaves = <1>;
>   	pinctrl-names = "default", "sleep";
>   	pinctrl-0 = <&cpsw_default>;
>   	pinctrl-1 = <&cpsw_sleep>;
>

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>

-- 
regards,
-grygorii

[toc] | [next] | [standalone]


#1419291 — Re: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY

FromTony Lindgren <tony@atomide.com>
Date2016-06-10 13:40 +0200
SubjectRe: [PATCH 2/2] ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
Message-ID<rIsX8-3Yr-21@gated-at.bofh.it>
In reply to#1413355
* Grygorii Strashko <grygorii.strashko@ti.com> [160603 09:49]:
> On 05/27/2016 09:17 PM, Andrew F. Davis wrote:
> > Currently am33xx.dtsi declares the MAC controller to have two
> > slave ports, on these boards we only use one, so set the slave
> > count to one. This eliminates a console error message when
> > the non-existent PHY is not detected.
...

> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>

Applying both into omap-for-v4.8/dt thanks.

Tony

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web