Re: [U-Boot] [PATCH] eth: mtk-eth: fix incorrect read of phy-handle

2019-05-08 Thread Joe Hershberger
; However the driver used ofnode_find_subnode("phy-handle") to read the node. > It will always fail. > > This patch replaces ofnode_find_subnode with dev_read_phandle_with_args to > make sure the node can be read correctly. > > Cc:

[U-Boot] Pull request: u-boot-net.git master

2019-05-08 Thread Joe Hershberger
Hi Tom, This is the series with the AR8xxx phy series removed until we figure it out. Tested to work fine on your evm. The following changes since commit 8d7f06bbbef16f172cd5e9c4923cdcebe16b8980: Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-05-07 09:38:00 -0400) are available

Re: [U-Boot] Pull request: u-boot-net.git master

2019-05-08 Thread Joe Hershberger
On Tue, May 7, 2019 at 5:15 PM Joe Hershberger wrote: > > Hi Tom, > > The following changes since commit 8d7f06bbbef16f172cd5e9c4923cdcebe16b8980: > > I rebased on your master and built for BB Black. DHCP seems to work fine. > MLO also now fits again. > > M

Re: [U-Boot] [PATCH] net: mvpp2: support setting hardware addresses from ethernet core

2019-05-08 Thread Joe Hershberger
rrectly applied before Linux boots. > > Signed-off-by: Matt Pelland Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2019-05-07 Thread Joe Hershberger
Hi Tom, The following changes since commit 8d7f06bbbef16f172cd5e9c4923cdcebe16b8980: I rebased on your master and built for BB Black. DHCP seems to work fine. MLO also now fits again. Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-05-07 09:38:00 -0400) are available in the git

Re: [U-Boot] Pull request: u-boot-net.git master

2019-04-30 Thread Joe Hershberger
On Tue, Apr 30, 2019 at 4:29 PM Tom Rini wrote: > > On Tue, Apr 30, 2019 at 09:15:33PM +0000, Joe Hershberger wrote: > > On Tue, Mar 19, 2019 at 5:41 PM Tom Rini wrote: > > > > > > On Tue, Mar 12, 2019 at 01:15:46PM -0500, Joe Hershberg

Re: [U-Boot] Pull request: u-boot-net.git master

2019-04-30 Thread Joe Hershberger
On Tue, Mar 19, 2019 at 5:41 PM Tom Rini wrote: > > On Tue, Mar 12, 2019 at 01:15:46PM -0500, Joe Hershberger wrote: > > > Hi Tom, > > > > These patches passed the CI build here: > > https://travis-ci.org/jhershbe/u-boot/builds/501807294 > >

Re: [U-Boot] [REGRESSION] [PATCH] imx: add lowlevel init for ARM64

2019-04-28 Thread Joe Hershberger
> On Apr 28, 2019, at 12:52 PM, Stefano Babic wrote: > > > >> On 27/04/19 01:58, Peng Fan wrote: >> Hi Marcel, >> >> Please apply this patch, Joe has not pick it up. >> https://patchwork.ozlabs.org/patch/1085432/ >> >> Stefano, >> >> Would you pick it up? > > It is acked by Joe, i assign

Re: [U-Boot] [RESEND PATCH 1/2] net: rtl8169: Implement ->hwaddr_write() callback

2019-04-25 Thread Joe Hershberger
Hi Thierry, On Thu, Apr 25, 2019 at 8:32 AM Thierry Reding wrote: > > On Tue, Apr 16, 2019 at 04:36:16PM +0000, Joe Hershberger wrote: > > On Tue, Apr 16, 2019 at 11:21 AM Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > &g

Re: [U-Boot] [PATCH v2 1/2] net: eth-uclass: Write MAC address to hardware after probe

2019-04-16 Thread Joe Hershberger
ialize() is called, so we need the > MAC address programming to also happen after probe. > > Signed-off-by: Thierry Reding Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RESEND PATCH 2/2] net: rtl8169: Support RTL-8168h/8111h

2019-04-16 Thread Joe Hershberger
t it being unknown. > > Signed-off-by: Thierry Reding Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RESEND PATCH 1/2] net: rtl8169: Implement ->hwaddr_write() callback

2019-04-16 Thread Joe Hershberger
U-Boot advertises. > > Signed-off-by: Thierry Reding Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] net: eth-uclass: Support device tree MAC addresses

2019-04-15 Thread Joe Hershberger
terface card's ROM. > > Signed-off-by: Thierry Reding Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] net: eth-uclass: Write MAC address to hardware after probe

2019-04-15 Thread Joe Hershberger
On Mon, Apr 15, 2019 at 4:11 AM Thierry Reding wrote: > > From: Thierry Reding > > In order for the device to use the proper MAC address, which can have > been configured in the environment prior to the device being registered, > ensure that the MAC address is written after the device has been

Re: [U-Boot] [PATCH 1/3] dm: core: Add dev_read_bytes()

2019-04-15 Thread Joe Hershberger
On Mon, Apr 15, 2019 at 4:11 AM Thierry Reding wrote: > > From: Thierry Reding > > This function can be used to read a binary property into a buffer. One > example where this is needed is to read a MAC address from device tree. > > Signed-off-by: Thierry Reding Is there a reason

Re: [U-Boot] [PATCH] net: fec_mxc: not access reserved register on i.MX8

2019-04-15 Thread Joe Hershberger
On Mon, Apr 15, 2019 at 12:18 AM Peng Fan wrote: > > We should not access reserved register on i.MX8, otherwise met SERROR > > Signed-off-by: Peng Fan Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://l

Re: [U-Boot] [PATCH] phy: ti: Init node before reading

2019-04-09 Thread Joe Hershberger
Hi Michal, On Tue, Apr 9, 2019 at 5:51 AM Michal Simek wrote: > > On 17. 03. 19 0:06, Hannes Schmelzer wrote: > > "U-Boot" schrieb am 16.03.2019 12:43:17: > > > >> Von: Michal Simek > >> An: u-boot@lists.denx.de > >> Kopie: Janine Hageman

Re: [U-Boot] [PATCH] net: macb: Add small delay after link establishment

2019-04-04 Thread Joe Hershberger
; > Adding a small delay (10ms in this case) after the link establishment > helps to solve this problem. With this patch applied, this timeout > on the first packet is not seen any more. > > Signed-off-by: Stefan Roese > Cc: Wenyou Yang > Cc: Eugen Hristev > Cc: J

Re: [U-Boot] [PATCH v4 1/4] reset: add polarity field into struct reset_ctl

2019-03-27 Thread Joe Hershberger
On Wed, Mar 20, 2019 at 2:34 AM Shawn Guo wrote: > > Some reset controllers support different polarities for reset operation, > so let's add a polarity field into struct reset_ctl. > > Signed-off-by: Shawn Guo Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH v4 4/4] poplar: enable Ethernet driver support

2019-03-27 Thread Joe Hershberger
starts working on Poplar board. > > Signed-off-by: Shawn Guo Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 0/4] Add Ethernet support for Poplar board

2019-03-27 Thread Joe Hershberger
On Tue, Mar 26, 2019 at 2:36 AM Shawn Guo wrote: > > Hi Joe, > > On Wed, Mar 20, 2019 at 03:32:37PM +0800, Shawn Guo wrote: > > The series adds Ethernet support for Poplar board. It firstly creates > > a reset driver for HiSilicon platform, then introduces higmacv300 > > Ethernet driver, and

Re: [U-Boot] [PATCH v4 2/4] reset: add reset driver for HiSilicon platform

2019-03-27 Thread Joe Hershberger
On Wed, Mar 20, 2019 at 2:34 AM Shawn Guo wrote: > > It adds a Driver Model compatible reset driver for HiSlicon platform. > The driver implements a custom .of_xlate function, and uses .data field > as reset register offset and .id field as bit shift. > > Signed-off-by: Shawn G

Re: [U-Boot] [PATCH v3 3/3] poplar: enable Ethernet driver support

2019-03-19 Thread Joe Hershberger
On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > The 'phy' reset of gmac device in kernel device tree is not generic > enough for u-boot to use, so we need to overwrite the 'resets' property > as needed. With this device tree fixup and poplar_defconfig changes, > Ethernet starts working on

Re: [U-Boot] [PATCH v3 1/3] reset: add reset driver for HiSilicon platform

2019-03-19 Thread Joe Hershberger
Hi Shawn, On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > It adds a Driver Model compatible reset driver for HiSlicon platform. > The driver implements a custom .of_xlate function, and uses .data field > as reset register offset and .id field as bit shift. > > Signed-off-by: Shawn Guo >

Re: [U-Boot] [PATCH v3 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-03-19 Thread Joe Hershberger
API. > > Signed-off-by: Shawn Guo > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: dm: fec: Support phy-reset-post-delay property

2019-03-12 Thread Joe Hershberger
Hi Anatolij, On Tue, Mar 12, 2019 at 4:10 AM Anatolij Gustschin wrote: > > Hi Joe, > > On Tue, 5 Mar 2019 12:05:38 -0600 > Joe Hershberger joe.hershber...@ni.com wrote: > > > Hi Andrejs, > > > > https://patchwork.ozlabs.org/patch/1050177/ was applied to >

[U-Boot] Pull request: u-boot-net.git master

2019-03-12 Thread Joe Hershberger
Hi Tom, These patches passed the CI build here: https://travis-ci.org/jhershbe/u-boot/builds/501807294 The following changes since commit 2e8092d94f40a5692baf3ec768ce3216a7bf032a: Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-03-11 15:48:57 -0400) are available in the git

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-07 Thread Joe Hershberger
On Thu, Mar 7, 2019 at 10:22 AM Jagan Teki wrote: > > On Tue, Mar 5, 2019 at 10:55 PM Joe Hershberger > wrote: > > > > On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki > > wrote: > > > > > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > > >

Re: [U-Boot] [PATCH v2 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-03-06 Thread Joe Hershberger
On Tue, Mar 5, 2019 at 7:42 PM Shawn Guo wrote: > > On Tue, Mar 05, 2019 at 11:58:26PM +0000, Joe Hershberger wrote: > > > +static int higmac_recv(struct udevice *dev, int flags, uchar **packetp) > > > +{ > > > + struct higmac_priv *priv = dev_get_priv(dev);

Re: [U-Boot] [PATCH] net: phy: micrel: Allow KSZ8xxx and KSZ90x1 to be used together

2019-03-06 Thread Joe Hershberger
now that > PHY_MICREL_KSZ8XXX does not default to 'Y'. > > Signed-off-by: James Byrne Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-03-05 Thread Joe Hershberger
On Sun, Feb 17, 2019 at 9:39 PM Shawn Guo wrote: > > It adds the driver for HIGMACV300 Ethernet controller found on HiSilicon > SoCs like Hi3798CV200. It's based on a downstream U-Boot driver, but > quite a lot of code gets rewritten and cleaned up to adopt driver model > and PHY API. > >

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-05 Thread Joe Hershberger
On Tue, Mar 5, 2019 at 10:17 AM Jagan Teki wrote: > > On Sat, Mar 2, 2019 at 12:29 AM Joe Hershberger > wrote: > > > > On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki > > wrote: > > > > > > Unlike other Allwinner SoC's R40 GMAC clock control register

Re: [U-Boot] net: dm: fec: Support phy-reset-post-delay property

2019-03-05 Thread Joe Hershberger
Hi Andrejs, https://patchwork.ozlabs.org/patch/1050177/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047978/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ti: use generic helpers to access MMD registers

2019-03-05 Thread Joe Hershberger
Hi Carlo, https://patchwork.ozlabs.org/patch/1038820/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] mc : Reduce MC memory size to 128M

2019-03-05 Thread Joe Hershberger
Hi Meenakshi, https://patchwork.ozlabs.org/patch/1048656/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: micrel: Find Micrel PHY node correctly

2019-03-05 Thread Joe Hershberger
Hi James, https://patchwork.ozlabs.org/patch/1051237/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: dts: k2g-ice: add dt node for netcp

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047980/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Fix return value check phy_probe

2019-03-05 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/1051139/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] k2g: config enable ti phy dp83867 for k2g

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047983/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-05 Thread Joe Hershberger
Hi Andrejs, https://patchwork.ozlabs.org/patch/1050178/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2019-03-05 Thread Joe Hershberger
Hi Tom, These patches passed the CI build here: https://travis-ci.org/jhershbe/u-boot/builds/501807294 The following changes since commit aff66f22d6eeb27c6329c0a3c1ebc52914c8affa: Merge tag 'mips-pull-2019-01-23' of git://git.denx.de/u-boot-mips (2019-01-23 17:24:31 -0500) are available in

Re: [U-Boot] net: netcp: add support for phy with rgmii ids

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047982/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: k2g: add a workaround to reset the phy

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047979/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Reloc next and prev pointers inside phy_drivers

2019-03-05 Thread Joe Hershberger
Hi Michal, https://patchwork.ozlabs.org/patch/1051137/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: aquantia: Set only autoneg on in register 4.c441

2019-03-05 Thread Joe Hershberger
Hi Valentin-catalin, https://patchwork.ozlabs.org/patch/1041087/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] drivers: net: ldpaa_eth: fix resource leak

2019-03-05 Thread Joe Hershberger
Hi Pankaj, https://patchwork.ozlabs.org/patch/1038527/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: Add generic helpers to access MMD PHY registers

2019-03-05 Thread Joe Hershberger
Hi Carlo, https://patchwork.ozlabs.org/patch/1038818/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: micrel: Use correct skew values on KSZ9021

2019-03-05 Thread Joe Hershberger
Hi James, https://patchwork.ozlabs.org/patch/1051234/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: dts: k2g-evm: remove unused phy-mode property from phy node

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047977/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Explicitly disable RGMII delays

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031365/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Clarify the intention of ar8021_config

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031366/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] cmd: mdio: Switch to generic helpers when accessing the registers

2019-03-05 Thread Joe Hershberger
Hi Carlo, https://patchwork.ozlabs.org/patch/1038821/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-03-05 Thread Joe Hershberger
Hi Murali, https://patchwork.ozlabs.org/patch/1047981/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Use common functions for RGMII internal delays

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031363/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Clarify the configuration of the CLK_25M output pin

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031364/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Make RGMII Tx delays actually configurable for AR8035

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031362/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: ar803x: Address packet drops at low traffic rate due to SmartEEE feature

2019-03-05 Thread Joe Hershberger
Hi Vladimir, https://patchwork.ozlabs.org/patch/1031361/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] net: phy: realtek: Introduce quirk to mark RXC not stoppable

2019-03-05 Thread Joe Hershberger
Hi Carlo, https://patchwork.ozlabs.org/patch/1030370/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/2] board: stm32f746-disco: Get MII/RMII phy_mode from DT

2019-03-04 Thread Joe Hershberger
On Fri, Feb 22, 2019 at 8:06 AM Patrice Chotard wrote: > > This is needed to make ethernet work on stm32f746-eval which > uses MII mode. > > Signed-off-by: Patrice Chotard Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [PATCH] board: fsl: lx2160aqds: modify the phy fixup code

2019-03-04 Thread Joe Hershberger
t; Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 22/22] pcm052: bk4: Add board_phy_config() for BK4 to setup ksz8081 phy

2019-03-04 Thread Joe Hershberger
On Wed, Feb 13, 2019 at 3:51 PM Lukasz Majewski wrote: > > BK4 requires setup of 50MHz reference clock for its KSZ8081 PHY devices. > > Signed-off-by: Lukasz Majewski Acked-by: Joe Hershberger > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: No

Re: [U-Boot] [PATCH] drivers/net/fec: phy_init: remove redundant logic

2019-03-04 Thread Joe Hershberger
On Fri, Feb 15, 2019 at 3:30 AM Hannes Schmelzer wrote: > > The phy_connect_dev(...) function from phy.c does all the handling > (inclusive catching fixed-link). > > So we drop here the single steps and call just phy_connect_dev(...). > > Signed-off-by: Hannes Schm

Re: [U-Boot] [PATCH 2/2] net: phy: micrel: Find Micrel PHY node correctly

2019-03-04 Thread Joe Hershberger
dts. These should be > unaffected by this change. > > The changes were tested on a sama5d3xcm. > > Signed-off-by: James Byrne Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] net: phy: micrel: Use correct skew values on KSZ9021

2019-03-04 Thread Joe Hershberger
skew values for KSZ9021 PHYs to > use values based on 120ps steps instead of 200ps steps. This will result > in the same values being programmed into the skew registers as the > equivalent device trees in the Linux kernel do, where it incorrectly > uses 200ps steps (since that's where a

Re: [U-Boot] [PATCH] drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset

2019-03-04 Thread Joe Hershberger
On Thu, Feb 28, 2019 at 3:06 AM Pramod Kumar wrote: > > Fix EC1 and EC2 read from correct offset 26, instead of 25 > > Signed-off-by: Pramod Kumar Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.d

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Fix DPC MAC address fixup

2019-03-04 Thread Joe Hershberger
CID relatd ones) to be ignored by MC. Typo in commit log. > > Fixes: 1161dbcc0a36 ("drivers: net: fsl-mc: Include MAC addr fixup to DPL") > > Signed-off-by: Ioana Radulescu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boo

Re: [U-Boot] [RESEND PATCH] net: phy: Reloc next and prev pointers inside phy_drivers

2019-03-04 Thread Joe Hershberger
ng. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Michal Simek Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RESEND PATCH] net: phy: Fix return value check phy_probe

2019-03-04 Thread Joe Hershberger
On Mon, Mar 4, 2019 at 9:02 AM Michal Simek wrote: > > From: Siva Durga Prasad Paladugu > > Don't ignore return value of phy_probe() call as > the probe may fail and it needs to be reported. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Michal Simek A

Re: [U-Boot] [PATCH] net:phy:aquantia Set only autoneg on in register 4.c441

2019-03-01 Thread Joe Hershberger
set only bit 3. > Signed-off-by: Valentin Catalin Neacsu Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] Convert CONFIG_IP_DEFRAG to Kconfig

2019-03-01 Thread Joe Hershberger
On Tue, Feb 12, 2019 at 6:29 AM Christian Gmeiner wrote: > > This converts the following to Kconfig: >CONFIG_IP_DEFRAG > > Signed-off-by: Christian Gmeiner Thanks for doing this, but don't we also need to migrate the existing targets that define this?

Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: check if the dpmac is enabled

2019-03-01 Thread Joe Hershberger
I and not RGMII. > > Therefore, in fsl_rgmii_init function of SOC, we will check if the > dpmac is enabled or not? if it is (fsl_serdes_init has already enabled > the dpmac), then don't enable it. > > Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH v3 12/13] net: sun8i_emac: Add EPHY CLK and RESET support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:03 PM Jagan Teki wrote: > > Add EPHY CLK and RESET support for sun8i_emac driver to > enable EPHY TX clock and EPHY reset pins via CLK and RESET > framework. > > Cc: Joe Hershberger > Cc: Lothar Felten > Signed-off-by: Jagan Teki A

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-01 Thread Joe Hershberger
On Tue, Feb 26, 2019 at 9:26 PM Meenakshi Aggarwal wrote: > > ls2088, ls1088 : minimum MC Memory size is 128 MB > lx2 : minimum MC memory size is 256 MB > > Signed-off-by: Meenakshi Aggarwal Acked-by: Joe Hershberger ___ U-Boot mail

Re: [U-Boot] [PATCH v3 10/13] net: sun8i_emac: Add CLK and RESET support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:03 PM Jagan Teki wrote: > > Add CLK and RESET support for sun8i_emac driver to > enable TX clock and reset pins via CLK and RESET > framework. > > Cc: Joe Hershberger > Cc: Lothar Felten > Signed-off-by: Jagan Teki A

Re: [U-Boot] [PATCH v3 11/13] clk: sunxi: h3: Implement EPHY CLK and RESET

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:02 PM Jagan Teki wrote: > > EPHY CLK and RESET is available in Allwinner H3 EMAC > via mdio-mux node of internal PHY. Add the respetive Please fix typo in log above. respetive -> respective > clock and reset reg and bits. > > Cc: Joe Hershberger &

Re: [U-Boot] [PATCH 2/2] mc : Reduce MC memory size to 128M

2019-03-01 Thread Joe Hershberger
On Fri, Mar 1, 2019 at 2:48 PM Heinrich Schuchardt wrote: > > On 2/27/19 10:11 AM, Meenakshi Aggarwal wrote: > > ls2088, ls1088 : minimum MC Memory size is 128 MB > > lx2 : minimum MC memory size is 256 MB > > > > Signed-off-by: Meenakshi Aggarwal > > Hello Joe, > > in patchwork I have

Re: [U-Boot] [PATCH v3 09/13] clk: sunxi: Implement EMAC, GMAC clocks, resets

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 1:00 PM Jagan Teki wrote: > > - Implement EMAC, GMAC clocks via ccu_clk_gate for > all supported Allwinner SoCs. > - Implement EMAC, GMAC resets via ccu_reset for all > supported Allwinner SoCs. > > Cc: Joe Hershberger > Signed-off-by: Ja

Re: [U-Boot] [PATCH v3 02/13] net: sunxi_emac: Add CLK support

2019-03-01 Thread Joe Hershberger
On Wed, Feb 27, 2019 at 12:59 PM Jagan Teki wrote: > > Add CLk support for sunxi_emac to enable AHB_EMAC clock > via CLK framework. > > Cc: Joe Hershberger > Signed-off-by: Jagan Teki Acked-by: Joe Hershberger ___ U-Boot m

Re: [U-Boot] [PATCH v3 03/13] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2019-03-01 Thread Joe Hershberger
on base address based > on DT property defined in respective SoC dtsi. > > So, use the existing 'syscon' code even for R40 for retrieving > GMAC clock via CCU and update the register directly in > sun8i_emac_set_syscon instead of writing it separately using > ccm base. > > C

Re: [U-Boot] [PATCH 2/2] dts: imx8qxp-mek: Add PHY post reset delay

2019-03-01 Thread Joe Hershberger
On Fri, Mar 1, 2019 at 7:28 AM Andrejs Cainikovs wrote: > > PHY cannot be detected unless we wait about 150 ms. > > Signed-off-by: Andrejs Cainikovs Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx

Re: [U-Boot] [PATCH 1/2] net: dm: fec: Support phy-reset-post-delay property

2019-03-01 Thread Joe Hershberger
en toggled. Can be omitted thus no delay is > observed. Delay is in range of 1ms to 1000ms. Other delays are invalid. > > Signed-off-by: Andrejs Cainikovs Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 0/7] Add netcp networking support on K2G ICE EVM

2019-02-25 Thread Joe Hershberger
On Mon, Feb 25, 2019 at 3:45 PM Murali Karicheri wrote: > > Hello Maintainer, > > On 02/25/2019 03:27 PM, Murali Karicheri wrote: > > This patch series add networking capability to K2G ICE EVM > > based on netcp driver. Networking function has been tested > > using the latest master branch from

Re: [U-Boot] [PATCH v4 1/7] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-02-25 Thread Joe Hershberger
On Mon, Feb 25, 2019 at 2:28 PM Murali Karicheri wrote: > > This patch updates pinmux configuration for K2G GP EVM based on > data generated by the pinmux tool at > https://dev.ti.com/pinmux/app.html#/default > > Signed-off-by: Murali Karicheri > Reviewed-by: Lokesh

Re: [U-Boot] [PATCH v3 5/7] ARM: dts: k2g-evm: remove unused phy-mode property from phy node

2019-02-25 Thread Joe Hershberger
d > be added to slave interface configuration of the cpsw driver, not in the > phy node. > > Signed-off-by: Murali Karicheri Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 6/7] k2g: config enable ti phy dp83867 for k2g

2019-02-25 Thread Joe Hershberger
On Thu, Feb 21, 2019 at 11:03 AM Murali Karicheri wrote: > > Enable ti phy dp83867 for k2g > > Signed-off-by: Murali Karicheri Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 7/7] ARM: dts: k2g-ice: add dt node for netcp

2019-02-25 Thread Joe Hershberger
to > enable workaround suggested for this incorrect strap setting. This > ensures proper operation of this PHY. > > The dts bindings are kept in sync with that from 4.14.y linux > kernel. This required the pinmux device related bindings to be > commented out to allow for compilation.

Re: [U-Boot] [PATCH v3 1/7] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-02-25 Thread Joe Hershberger
p.html#/default > > As this required some BUFFER_CLASS definitions, same is re-used > from the linux defnitions in include/dt-bindings/pinctrl/keystone.h > > Signed-off-by: Murali Karicheri > Reviewed-by: Lokesh Vutla Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 4/7] ARM: k2g: add a workaround to reset the phy

2019-02-25 Thread Joe Hershberger
On Thu, Feb 21, 2019 at 11:02 AM Murali Karicheri wrote: > > This patch adds a workaround to reset the phy one time during boot > using GPIO0 pin 10 to make sure, the Phy latches the configuration > from the input pins correctly. > > Signed-off-by: Murali Karicheri Acked-b

Re: [U-Boot] [PATCH v3 3/7] net: netcp: add support for phy with rgmii ids

2019-02-25 Thread Joe Hershberger
On Thu, Feb 21, 2019 at 11:01 AM Murali Karicheri wrote: > > Enhance the netcp driver to support phys that can be configured > for internal delay (rgmii-id, rgmii-rxid, rgmii-txid) > > Signed-off-by: Murali Karicheri Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH v3 1/7] ARM: k2g-ice: Add pinmux support for rgmii interface

2019-02-25 Thread Joe Hershberger
On Thu, Feb 21, 2019 at 11:03 AM Murali Karicheri wrote: > > This add pinmux configuration for rgmii interface so that network > driver can be supported on K2G ICE boards. The pinmux configurations > for this are generated using the pinmux tool at > https://dev.ti.com/pinmux/app.html#/default > >

Re: [U-Boot] [PATCH v3 2/7] ARM: k2g-gp-evm: update to rgmii pinmux configuration

2019-02-25 Thread Joe Hershberger
On Thu, Feb 21, 2019 at 11:00 AM Murali Karicheri wrote: > > This patch updates pinmux configuration for K2G GP EVM based on > data generated by the pinmux tool at > https://dev.ti.com/pinmux/app.html#/default > > Signed-off-by: Murali Karicheri > Reviewed-by: Lokesh Vutla > --- >

Re: [U-Boot] [PATCH] net: eth-uclass: call stop only for active devices

2019-02-21 Thread Joe Hershberger
On Wed, Feb 20, 2019 at 9:01 PM Bin Meng wrote: > > On Wed, Feb 20, 2019 at 8:33 PM Keerthy wrote: > > > > Currently stop is being called unconditionally without even > > checking if start is called. In case of multiple instances eth > > being present many devices might just be initialized

Re: [U-Boot] [PATCH] net: eth-uclass: call stop only for active devices

2019-02-21 Thread Joe Hershberger
On Wed, Feb 20, 2019 at 6:33 AM Keerthy wrote: > > Currently stop is being called unconditionally without even > checking if start is called. In case of multiple instances eth > being present many devices might just be initialized without > a start call in such cases stop might lead unpredictable

Re: [U-Boot] [PATCH v9 06/15] net: macb: Fix clk API usage for RISC-V systems

2019-02-21 Thread Joe Hershberger
On Wed, Feb 20, 2019 at 10:36 PM Anup Patel wrote: > > Don't fail in macb_enable_clk() if clk_enable() returns > -ENOSYS because we get -ENOSYS for fixed-rate clocks. > > Signed-off-by: Anup Patel > Reviewed-by: Bin Meng Acked-b

Re: [U-Boot] [PATCH v5 1/3] net: phy: Add generic helpers to access MMD PHY registers

2019-02-19 Thread Joe Hershberger
hen accessing the reachable > DEVADs. > > 3. The standard clause 45 access extensions to the MMD registers through > the indirection registers (clause 22) in all the other cases. > > Signed-off-by: Carlo Caione Except for the off-by-ones below... Acked-by: Joe Hershberger &g

Re: [U-Boot] [PATCH v5 3/3] cmd: mdio: Switch to generic helpers when accessing the registers

2019-02-19 Thread Joe Hershberger
> > Signed-off-by: Carlo Caione Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] drivers: net: ldpaa_eth: fix resource leak

2019-02-08 Thread Joe Hershberger
On Fri, Feb 8, 2019 at 2:46 AM Pankaj Bansal wrote: > > if an error occurs in ldpaa_eth_init, need to free all resources > before returning the error. > > Threfore, free net_dev before returning from ldpaa_eth_init. > > Signed-off-by: Pankaj Bansal > A

Re: [U-Boot] [PATCH v4 3/3] cmd: mdio: Add new parameter to access MMD PHY registers

2019-02-05 Thread Joe Hershberger
On Tue, Feb 5, 2019 at 7:37 PM Vladimir Oltean wrote: > > On 2/6/19 12:10 AM, Joe Hershberger wrote: > > On Tue, Feb 5, 2019 at 9:20 AM Carlo Caione wrote: > >> > >> On 05/02/2019 00:15, Joe Hershberger wrote: > >>> On Mon, Feb 4, 2019 at 5:39 PM Vla

Re: [U-Boot] [PATCH v4 3/3] cmd: mdio: Add new parameter to access MMD PHY registers

2019-02-05 Thread Joe Hershberger
On Tue, Feb 5, 2019 at 9:20 AM Carlo Caione wrote: > > On 05/02/2019 00:15, Joe Hershberger wrote: > > On Mon, Feb 4, 2019 at 5:39 PM Vladimir Oltean > > wrote: > > /cut > >> Which brings me to my next point. > >> If we can't properly make the distincti

<    1   2   3   4   5   6   7   8   9   10   >