* [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB
@ 2013-06-07 0:04 Fabio Estevam
2013-06-07 0:04 ` [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs Fabio Estevam
2013-06-07 0:25 ` [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
0 siblings, 2 replies; 11+ messages in thread
From: Fabio Estevam @ 2013-06-07 0:04 UTC (permalink / raw)
To: u-boot
From: Fabio Estevam <fabio.estevam@freescale.com>
Phylib framework is more appropriate for handling the PHYs, so let's use it
on mx28evk.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
board/freescale/mx28evk/mx28evk.c | 7 +++++++
include/configs/mx28evk.h | 2 ++
2 files changed, 9 insertions(+)
diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c
index 4edd9f4..fc204fc 100644
--- a/board/freescale/mx28evk/mx28evk.c
+++ b/board/freescale/mx28evk/mx28evk.c
@@ -105,6 +105,13 @@ int board_mmc_init(bd_t *bis)
#endif
#ifdef CONFIG_CMD_NET
+int board_phy_config(struct phy_device *phydev)
+{
+ if (phydev->drv->config)
+ phydev->drv->config(phydev);
+
+ return 0;
+}
int board_eth_init(bd_t *bis)
{
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index de69182..a3e2c0e 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -176,6 +176,8 @@
#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_MX28_FEC_MAC_IN_OCOTP
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_SMSC
#endif
/* RTC */
--
1.8.1.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-06-07 0:04 [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
@ 2013-06-07 0:04 ` Fabio Estevam
2013-07-12 2:45 ` Fabio Estevam
2013-08-19 17:41 ` Joe Hershberger
2013-06-07 0:25 ` [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
1 sibling, 2 replies; 11+ messages in thread
From: Fabio Estevam @ 2013-06-07 0:04 UTC (permalink / raw)
To: u-boot
From: Fabio Estevam <fabio.estevam@freescale.com>
LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
drivers/net/phy/smsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index 6dee8eb..0c658f4 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -76,7 +76,7 @@ static struct phy_driver lan8710_driver = {
.name = "SMSC LAN8710/LAN8720",
.uid = 0x0007c0f0,
.mask = 0xffff0,
- .features = PHY_GBIT_FEATURES,
+ .features = PHY_BASIC_FEATURES,
.config = &genphy_config_aneg,
.startup = &smsc_startup,
.shutdown = &genphy_shutdown,
--
1.8.1.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB
2013-06-07 0:04 [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
2013-06-07 0:04 ` [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs Fabio Estevam
@ 2013-06-07 0:25 ` Fabio Estevam
2013-06-07 7:07 ` Stefano Babic
1 sibling, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2013-06-07 0:25 UTC (permalink / raw)
To: u-boot
Hi Stefano,
On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Phylib framework is more appropriate for handling the PHYs, so let's use it
> on mx28evk.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Please discard this one for now.
I found an issue with this one.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB
2013-06-07 0:25 ` [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
@ 2013-06-07 7:07 ` Stefano Babic
0 siblings, 0 replies; 11+ messages in thread
From: Stefano Babic @ 2013-06-07 7:07 UTC (permalink / raw)
To: u-boot
On 07/06/2013 02:25, Fabio Estevam wrote:
> Hi Stefano,
>
> On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> Phylib framework is more appropriate for handling the PHYs, so let's use it
>> on mx28evk.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Please discard this one for now.
>
> I found an issue with this one.
>
Ok, thanks.
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-06-07 0:04 ` [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs Fabio Estevam
@ 2013-07-12 2:45 ` Fabio Estevam
2013-07-12 4:57 ` Joe Hershberger
2013-08-19 17:41 ` Joe Hershberger
1 sibling, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2013-07-12 2:45 UTC (permalink / raw)
To: u-boot
Hi Joe,
On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
>
> Cc: Joe Hershberger <joe.hershberger@ni.com>
> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Any comments?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-07-12 2:45 ` Fabio Estevam
@ 2013-07-12 4:57 ` Joe Hershberger
2013-07-12 5:00 ` Joe Hershberger
0 siblings, 1 reply; 11+ messages in thread
From: Joe Hershberger @ 2013-07-12 4:57 UTC (permalink / raw)
To: u-boot
On Thu, Jul 11, 2013 at 9:45 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Joe,
>
> On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
>>
>> Cc: Joe Hershberger <joe.hershberger@ni.com>
>> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Any comments?
Seems pretty reasonable. I'll pick it up for next release.
-Joe
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-07-12 4:57 ` Joe Hershberger
@ 2013-07-12 5:00 ` Joe Hershberger
2013-07-12 5:06 ` Fabio Estevam
0 siblings, 1 reply; 11+ messages in thread
From: Joe Hershberger @ 2013-07-12 5:00 UTC (permalink / raw)
To: u-boot
On Thu, Jul 11, 2013 at 11:57 PM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> On Thu, Jul 11, 2013 at 9:45 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> Hi Joe,
>>
>> On Thu, Jun 6, 2013 at 9:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
>>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>>
>>> LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
>>>
>>> Cc: Joe Hershberger <joe.hershberger@ni.com>
>>> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
>>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> Any comments?
>
>
> Seems pretty reasonable. I'll pick it up for next release.
On second thought, it's delegated in patchwork to Stefano and it's
marked rejected. Why is that Stefano?
-Joe
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-07-12 5:00 ` Joe Hershberger
@ 2013-07-12 5:06 ` Fabio Estevam
2013-07-12 5:37 ` Joe Hershberger
2013-07-12 6:58 ` Stefano Babic
0 siblings, 2 replies; 11+ messages in thread
From: Fabio Estevam @ 2013-07-12 5:06 UTC (permalink / raw)
To: u-boot
On Fri, Jul 12, 2013 at 2:00 AM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> On second thought, it's delegated in patchwork to Stefano and it's
> marked rejected. Why is that Stefano?
Ok, I think I understand the reason. I asked him to reject the 1/2
patch of the series (it was a mx28evk related patch).
This one (2/2) is fine.
Sorry for the confusion.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-07-12 5:06 ` Fabio Estevam
@ 2013-07-12 5:37 ` Joe Hershberger
2013-07-12 6:58 ` Stefano Babic
1 sibling, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2013-07-12 5:37 UTC (permalink / raw)
To: u-boot
On Fri, Jul 12, 2013 at 12:06 AM, Fabio Estevam <festevam@gmail.com> wrote:
> On Fri, Jul 12, 2013 at 2:00 AM, Joe Hershberger
> <joe.hershberger@gmail.com> wrote:
>
>> On second thought, it's delegated in patchwork to Stefano and it's
>> marked rejected. Why is that Stefano?
>
> Ok, I think I understand the reason. I asked him to reject the 1/2
> patch of the series (it was a mx28evk related patch).
>
> This one (2/2) is fine.
>
> Sorry for the confusion.
OK. That sounds fine.
-Joe
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-07-12 5:06 ` Fabio Estevam
2013-07-12 5:37 ` Joe Hershberger
@ 2013-07-12 6:58 ` Stefano Babic
1 sibling, 0 replies; 11+ messages in thread
From: Stefano Babic @ 2013-07-12 6:58 UTC (permalink / raw)
To: u-boot
On 12/07/2013 07:06, Fabio Estevam wrote:
> On Fri, Jul 12, 2013 at 2:00 AM, Joe Hershberger
> <joe.hershberger@gmail.com> wrote:
>
>> On second thought, it's delegated in patchwork to Stefano and it's
>> marked rejected. Why is that Stefano?
>
> Ok, I think I understand the reason. I asked him to reject the 1/2
> patch of the series (it was a mx28evk related patch).
>
> This one (2/2) is fine.
>
> Sorry for the confusion.
Yes, I confirm this - I rejected on Fabio's request.
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 11+ messages in thread
* [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs
2013-06-07 0:04 ` [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs Fabio Estevam
2013-07-12 2:45 ` Fabio Estevam
@ 2013-08-19 17:41 ` Joe Hershberger
1 sibling, 0 replies; 11+ messages in thread
From: Joe Hershberger @ 2013-08-19 17:41 UTC (permalink / raw)
To: u-boot
On Thu, Jun 6, 2013 at 7:04 PM, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> LAN8710/8720 are 10/100 Mbps PHYs, so fix the '.features' field.
>
> Cc: Joe Hershberger <joe.hershberger@ni.com>
> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
Applied, Thanks!
-Joe
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-08-19 17:41 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-07 0:04 [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
2013-06-07 0:04 ` [U-Boot] [PATCH 2/2] phy: smsc: LAN8710/8720 are not Gbit PHYs Fabio Estevam
2013-07-12 2:45 ` Fabio Estevam
2013-07-12 4:57 ` Joe Hershberger
2013-07-12 5:00 ` Joe Hershberger
2013-07-12 5:06 ` Fabio Estevam
2013-07-12 5:37 ` Joe Hershberger
2013-07-12 6:58 ` Stefano Babic
2013-08-19 17:41 ` Joe Hershberger
2013-06-07 0:25 ` [U-Boot] [PATCH 1/2] mx28evk: Convert to PHYLIB Fabio Estevam
2013-06-07 7:07 ` Stefano Babic
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.