mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
@ 2015-01-19  9:54 Bo Shen
  2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 9+ messages in thread
From: Bo Shen @ 2015-01-19  9:54 UTC (permalink / raw)
  To: s.hauer, plagnioj; +Cc: barebox

On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
So, let the GMAC auto detect phy id, or else hard code to 7,
it can not work on these two boards.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
---

 arch/arm/boards/sama5d3xek/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
index 49d2b37..0b83147 100644
--- a/arch/arm/boards/sama5d3xek/init.c
+++ b/arch/arm/boards/sama5d3xek/init.c
@@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
 #if defined(CONFIG_DRIVER_NET_MACB)
 static struct macb_platform_data gmac_pdata = {
 	.phy_interface = PHY_INTERFACE_MODE_RGMII,
-	.phy_addr = 7,
+	.phy_addr = -1,
 };
 
 static struct macb_platform_data macb_pdata = {
-- 
2.3.0.rc0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-19  9:54 [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id Bo Shen
@ 2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
  2015-01-20  0:56   ` Bo Shen
  2015-01-21 15:07   ` Sascha Hauer
  0 siblings, 2 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-01-19 11:39 UTC (permalink / raw)
  To: Bo Shen; +Cc: barebox

On 17:54 Mon 19 Jan     , Bo Shen wrote:
> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
> So, let the GMAC auto detect phy id, or else hard code to 7,
> it can not work on these two boards.
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> 
>  arch/arm/boards/sama5d3xek/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> index 49d2b37..0b83147 100644
> --- a/arch/arm/boards/sama5d3xek/init.c
> +++ b/arch/arm/boards/sama5d3xek/init.c
> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>  #if defined(CONFIG_DRIVER_NET_MACB)
>  static struct macb_platform_data gmac_pdata = {
>  	.phy_interface = PHY_INTERFACE_MODE_RGMII,
> -	.phy_addr = 7,
> +	.phy_addr = -1,
IIRC the auto detect do not work on all board
NACK

Best Regards,
J.
>  };
>  
>  static struct macb_platform_data macb_pdata = {
> -- 
> 2.3.0.rc0
> 

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2015-01-20  0:56   ` Bo Shen
  2015-01-21 15:07   ` Sascha Hauer
  1 sibling, 0 replies; 9+ messages in thread
From: Bo Shen @ 2015-01-20  0:56 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

Hi J,

On 01/19/2015 07:39 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 17:54 Mon 19 Jan     , Bo Shen wrote:
>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
>> So, let the GMAC auto detect phy id, or else hard code to 7,
>> it can not work on these two boards.
>>
>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>> ---
>>
>>   arch/arm/boards/sama5d3xek/init.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
>> index 49d2b37..0b83147 100644
>> --- a/arch/arm/boards/sama5d3xek/init.c
>> +++ b/arch/arm/boards/sama5d3xek/init.c
>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>>   #if defined(CONFIG_DRIVER_NET_MACB)
>>   static struct macb_platform_data gmac_pdata = {
>>   	.phy_interface = PHY_INTERFACE_MODE_RGMII,
>> -	.phy_addr = 7,
>> +	.phy_addr = -1,
> IIRC the auto detect do not work on all board

On which board? Can you be more detail?
Thanks.

> NACK
>
> Best Regards,
> J.
>>   };
>>
>>   static struct macb_platform_data macb_pdata = {
>> --
>> 2.3.0.rc0
>>

Best Regards,
Bo Shen

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
  2015-01-20  0:56   ` Bo Shen
@ 2015-01-21 15:07   ` Sascha Hauer
  2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 1 reply; 9+ messages in thread
From: Sascha Hauer @ 2015-01-21 15:07 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 17:54 Mon 19 Jan     , Bo Shen wrote:
> > On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
> > So, let the GMAC auto detect phy id, or else hard code to 7,
> > it can not work on these two boards.
> > 
> > Signed-off-by: Bo Shen <voice.shen@atmel.com>
> > ---
> > 
> >  arch/arm/boards/sama5d3xek/init.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> > index 49d2b37..0b83147 100644
> > --- a/arch/arm/boards/sama5d3xek/init.c
> > +++ b/arch/arm/boards/sama5d3xek/init.c
> > @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
> >  #if defined(CONFIG_DRIVER_NET_MACB)
> >  static struct macb_platform_data gmac_pdata = {
> >  	.phy_interface = PHY_INTERFACE_MODE_RGMII,
> > -	.phy_addr = 7,
> > +	.phy_addr = -1,
> IIRC the auto detect do not work on all board
> NACK

Please give us some more information why this doesn't work or on which
boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
patch without giving a clue what else should be done.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-21 15:07   ` Sascha Hauer
@ 2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
       [not found]       ` <54C086AA.9030605@atmel.com>
                         ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-01-22  4:35 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox


> On Jan 21, 2015, at 11:07 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> 
> On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
>> On 17:54 Mon 19 Jan     , Bo Shen wrote:
>>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
>>> So, let the GMAC auto detect phy id, or else hard code to 7,
>>> it can not work on these two boards.
>>> 
>>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>>> ---
>>> 
>>> arch/arm/boards/sama5d3xek/init.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>> 
>>> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
>>> index 49d2b37..0b83147 100644
>>> --- a/arch/arm/boards/sama5d3xek/init.c
>>> +++ b/arch/arm/boards/sama5d3xek/init.c
>>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>>> #if defined(CONFIG_DRIVER_NET_MACB)
>>> static struct macb_platform_data gmac_pdata = {
>>> 	.phy_interface = PHY_INTERFACE_MODE_RGMII,
>>> -	.phy_addr = 7,
>>> +	.phy_addr = -1,
>> IIRC the auto detect do not work on all board
>> NACK
> 
> Please give us some more information why this doesn't work or on which
> boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
> patch without giving a clue what else should be done.

This is the same board but différent SoC Module

Bo MUST test it on all of them before do such modification

IIRC the phy is detect on addr 1 instead of 7 on some CPU Module

Best Regards,
J.
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
       [not found]       ` <54C086AA.9030605@atmel.com>
@ 2015-01-22  6:20         ` Bo Shen
  0 siblings, 0 replies; 9+ messages in thread
From: Bo Shen @ 2015-01-22  6:20 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Sascha Hauer; +Cc: barebox

On 01/22/2015 01:12 PM, Bo Shen wrote:
> Hi J,
>
> On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
>>
>>> On Jan 21, 2015, at 11:07 PM, Sascha Hauer <s.hauer@pengutronix.de>
>>> wrote:
>>>
>>> On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe
>>> PLAGNIOL-VILLARD wrote:
>>>> On 17:54 Mon 19 Jan     , Bo Shen wrote:
>>>>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
>>>>> So, let the GMAC auto detect phy id, or else hard code to 7,
>>>>> it can not work on these two boards.
>>>>>
>>>>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>>>>> ---
>>>>>
>>>>> arch/arm/boards/sama5d3xek/init.c | 2 +-
>>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/arch/arm/boards/sama5d3xek/init.c
>>>>> b/arch/arm/boards/sama5d3xek/init.c
>>>>> index 49d2b37..0b83147 100644
>>>>> --- a/arch/arm/boards/sama5d3xek/init.c
>>>>> +++ b/arch/arm/boards/sama5d3xek/init.c
>>>>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>>>>> #if defined(CONFIG_DRIVER_NET_MACB)
>>>>> static struct macb_platform_data gmac_pdata = {
>>>>>     .phy_interface = PHY_INTERFACE_MODE_RGMII,
>>>>> -    .phy_addr = 7,
>>>>> +    .phy_addr = -1,
>>>> IIRC the auto detect do not work on all board
>>>> NACK
>>>
>>> Please give us some more information why this doesn't work or on which
>>> boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
>>> patch without giving a clue what else should be done.
>>
>> This is the same board but différent SoC Module
>>
>> Bo MUST test it on all of them before do such modification
>
> Yes, I do this kind of test.
>
>> IIRC the phy is detect on addr 1 instead of 7 on some CPU Module
>
> Yes, as the commit message specified, the phy address of SAMA5D33 and
> SAMA5D35 are 1. So, let the GMAC to auto detect the phy address, or else
> using the hard coded phy address 7, then the network won't work on
> SAMA5D33 and SAMA5D35 module.
>
>> Best Regards,
>> J.
>>>
>>> Sascha
>>>
>>> --
>>> Pengutronix e.K.
>>> |                             |
>>> Industrial Linux Solutions                 |
>>> http://www.pengutronix.de/  |
>>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone:
>>> +49-5121-206917-0    |
>>> Amtsgericht Hildesheim, HRA 2686           | Fax:
>>> +49-5121-206917-5555 |
>>
>
> Best Regards,
> Bo Shen


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
       [not found]       ` <54C086AA.9030605@atmel.com>
@ 2015-01-22  6:20       ` Bo Shen
  2015-01-23  7:36       ` Sascha Hauer
  2 siblings, 0 replies; 9+ messages in thread
From: Bo Shen @ 2015-01-22  6:20 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Sascha Hauer; +Cc: barebox

Hi J,

On 01/22/2015 12:35 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
>
>> On Jan 21, 2015, at 11:07 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
>>
>> On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
>>> On 17:54 Mon 19 Jan     , Bo Shen wrote:
>>>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
>>>> So, let the GMAC auto detect phy id, or else hard code to 7,
>>>> it can not work on these two boards.
>>>>
>>>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>>>> ---
>>>>
>>>> arch/arm/boards/sama5d3xek/init.c | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
>>>> index 49d2b37..0b83147 100644
>>>> --- a/arch/arm/boards/sama5d3xek/init.c
>>>> +++ b/arch/arm/boards/sama5d3xek/init.c
>>>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>>>> #if defined(CONFIG_DRIVER_NET_MACB)
>>>> static struct macb_platform_data gmac_pdata = {
>>>> 	.phy_interface = PHY_INTERFACE_MODE_RGMII,
>>>> -	.phy_addr = 7,
>>>> +	.phy_addr = -1,
>>> IIRC the auto detect do not work on all board
>>> NACK
>>
>> Please give us some more information why this doesn't work or on which
>> boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
>> patch without giving a clue what else should be done.
>
> This is the same board but différent SoC Module
>
> Bo MUST test it on all of them before do such modification

Yes, I do this kind of test.

> IIRC the phy is detect on addr 1 instead of 7 on some CPU Module

Yes, as the commit message specified, the phy address of SAMA5D33 and 
SAMA5D35 are 1. So, let the GMAC to auto detect the phy address, or else 
using the hard coded phy address 7, then the network won't work on 
SAMA5D33 and SAMA5D35 module.

> Best Regards,
> J.
>>
>> Sascha
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>

Best Regards,
Bo Shen

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
       [not found]       ` <54C086AA.9030605@atmel.com>
  2015-01-22  6:20       ` Bo Shen
@ 2015-01-23  7:36       ` Sascha Hauer
  2015-01-23  8:00         ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 1 reply; 9+ messages in thread
From: Sascha Hauer @ 2015-01-23  7:36 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Thu, Jan 22, 2015 at 12:35:17PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 
> > On Jan 21, 2015, at 11:07 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > 
> > On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> >> On 17:54 Mon 19 Jan     , Bo Shen wrote:
> >>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
> >>> So, let the GMAC auto detect phy id, or else hard code to 7,
> >>> it can not work on these two boards.
> >>> 
> >>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> >>> ---
> >>> 
> >>> arch/arm/boards/sama5d3xek/init.c | 2 +-
> >>> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>> 
> >>> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
> >>> index 49d2b37..0b83147 100644
> >>> --- a/arch/arm/boards/sama5d3xek/init.c
> >>> +++ b/arch/arm/boards/sama5d3xek/init.c
> >>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
> >>> #if defined(CONFIG_DRIVER_NET_MACB)
> >>> static struct macb_platform_data gmac_pdata = {
> >>> 	.phy_interface = PHY_INTERFACE_MODE_RGMII,
> >>> -	.phy_addr = 7,
> >>> +	.phy_addr = -1,
> >> IIRC the auto detect do not work on all board
> >> NACK
> > 
> > Please give us some more information why this doesn't work or on which
> > boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
> > patch without giving a clue what else should be done.
> 
> This is the same board but différent SoC Module
> 
> Bo MUST test it on all of them before do such modification
> 
> IIRC the phy is detect on addr 1 instead of 7 on some CPU Module

When the original 7 does not work on all boards, then autodetection
seems to be a valid solution.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id
  2015-01-23  7:36       ` Sascha Hauer
@ 2015-01-23  8:00         ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 9+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-01-23  8:00 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox


> On Jan 23, 2015, at 3:36 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> 
> On Thu, Jan 22, 2015 at 12:35:17PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote:
>> 
>>> On Jan 21, 2015, at 11:07 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
>>> 
>>> On Mon, Jan 19, 2015 at 12:39:39PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
>>>> On 17:54 Mon 19 Jan     , Bo Shen wrote:
>>>>> On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
>>>>> So, let the GMAC auto detect phy id, or else hard code to 7,
>>>>> it can not work on these two boards.
>>>>> 
>>>>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
>>>>> ---
>>>>> 
>>>>> arch/arm/boards/sama5d3xek/init.c | 2 +-
>>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>> 
>>>>> diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
>>>>> index 49d2b37..0b83147 100644
>>>>> --- a/arch/arm/boards/sama5d3xek/init.c
>>>>> +++ b/arch/arm/boards/sama5d3xek/init.c
>>>>> @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {}
>>>>> #if defined(CONFIG_DRIVER_NET_MACB)
>>>>> static struct macb_platform_data gmac_pdata = {
>>>>> 	.phy_interface = PHY_INTERFACE_MODE_RGMII,
>>>>> -	.phy_addr = 7,
>>>>> +	.phy_addr = -1,
>>>> IIRC the auto detect do not work on all board
>>>> NACK
>>> 
>>> Please give us some more information why this doesn't work or on which
>>> boards this doesn't work. Rejecting patches with 'IIRC' just blocks the
>>> patch without giving a clue what else should be done.
>> 
>> This is the same board but différent SoC Module
>> 
>> Bo MUST test it on all of them before do such modification
>> 
>> IIRC the phy is detect on addr 1 instead of 7 on some CPU Module
> 
> When the original 7 does not work on all boards, then autodetection
> seems to be a valid solution.

Except the auto detection does not work on all board

so as we can detect the board and SoC we can known the phy_addr
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-23  8:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19  9:54 [PATCH] ARM: atmel: sama5d3xek: let gmac auto detect phy id Bo Shen
2015-01-19 11:39 ` Jean-Christophe PLAGNIOL-VILLARD
2015-01-20  0:56   ` Bo Shen
2015-01-21 15:07   ` Sascha Hauer
2015-01-22  4:35     ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]       ` <54C086AA.9030605@atmel.com>
2015-01-22  6:20         ` Bo Shen
2015-01-22  6:20       ` Bo Shen
2015-01-23  7:36       ` Sascha Hauer
2015-01-23  8:00         ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox