[PATCH V2 1/8] SPEAr13xx: Set dt field entry <stmmac,phy-addr> for phy probe
Mohit KUMAR DCG
Mohit.KUMAR at st.com
Fri Jan 24 01:51:41 EST 2014
Hello Chen,
> -----Original Message-----
> From: wens213 at gmail.com [mailto:wens213 at gmail.com] On Behalf Of
> Chen-Yu Tsai
> Sent: Friday, January 24, 2014 11:33 AM
> To: Viresh Kumar
> Cc: Mohit KUMAR DCG; Pratyush ANAND; spear-devel; linux-arm-
> kernel at lists.infradead.org; devicetree
> Subject: Re: [PATCH V2 1/8] SPEAr13xx: Set dt field entry <stmmac,phy-
> addr> for phy probe
>
> Hi,
>
> On Fri, Jan 24, 2014 at 1:02 PM, Viresh Kumar <viresh.kumar at linaro.org>
> wrote:
> > On Thu, Jan 23, 2014 at 4:02 PM, Mohit Kumar <mohit.kumar at st.com>
> wrote:
> >> DT field name for the phy address changed since kernel 3.10. Set the
> >> snps,phy-addr to 0xffffffff so that the driver probes for the phy.
>
> This will no longer be required. The default behavior for DT based setups has
> been changed to auto-detecting the phy.
>
> See http://patchwork.ozlabs.org/patch/312063/
>
- Thanks, we will test with your patch and remove this one from v3.
Regards
Mohit
>
> Cheers
> ChenYu
>
> >>
> >> Signed-off-by: Mohit Kumar <mohit.kumar at st.com>
> >> Cc: Pratyush Anand <pratyush.anand at st.com>
> >> Cc: Viresh Kumar <viresh.linux at gmail.com>
> >> Cc: spear-devel at list.st.com
> >> Cc: linux-arm-kernel at lists.infradead.org
> >> Cc: devicetree at vger.kernel.org
> >> ---
> >> arch/arm/boot/dts/spear13xx.dtsi | 1 +
> >> 1 files changed, 1 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/arch/arm/boot/dts/spear13xx.dtsi
> >> b/arch/arm/boot/dts/spear13xx.dtsi
> >> index 4382547..3518803 100644
> >> --- a/arch/arm/boot/dts/spear13xx.dtsi
> >> +++ b/arch/arm/boot/dts/spear13xx.dtsi
> >> @@ -155,6 +155,7 @@
> >>
> >> gmac0: eth at e2000000 {
> >> compatible = "st,spear600-gmac";
> >> + snps,phy-addr = <0xffffffff>;
> >> reg = <0xe2000000 0x8000>;
> >> interrupts = <0 33 0x4
> >> 0 34 0x4>;
> >
> > Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
More information about the linux-arm-kernel
mailing list