Re: [PATCH] dm: Fix build error when OF_CONTROL is not set

2020-07-23 Thread Dan Murphy
Simon On 7/23/20 1:24 PM, Simon Glass wrote: On Tue, 21 Jul 2020 at 07:16, Dan Murphy wrote: With OF_CONTROL disabled the build fails for include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function) Fixes: 134f3c366d78 ("dm: core: gracefully handle alias seq wi

[PATCH v2] dm: Fix build error when OF_CONTROL is not set

2020-07-23 Thread Dan Murphy
With OF_CONTROL disabled the build fails for include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function) 932 | return -ENOTSUPP; Fixes: 45224e8f2691 ("dm: core: gracefully handle alias seq without of") Signed-off-by: Dan Murphy --- include/dm/read.h | 2

Re: [PATCH] dm: Fix build error when OF_CONTROL is not set

2020-07-22 Thread Dan Murphy
Hello On 7/21/20 8:16 AM, Dan Murphy wrote: With OF_CONTROL disabled the build fails for include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function) Fixes: 134f3c366d78 ("dm: core: gracefully handle alias seq without of") Need to fix this SHA. Dan

[PATCH] dm: Fix build error when OF_CONTROL is not set

2020-07-21 Thread Dan Murphy
With OF_CONTROL disabled the build fails for include/dm/read.h:932:10: error: ‘ENOTSUPP’ undeclared (first use in this function) Fixes: 134f3c366d78 ("dm: core: gracefully handle alias seq without of") Signed-off-by: Dan Murphy --- include/dm/read.h | 2 ++ 1 file changed, 2

Re: [PATCH v4 0/5] TI Ethernet PHY changes

2020-06-01 Thread Dan Murphy
Did I miss the maintainer for this series? Dan On 5/11/20 7:52 PM, Dan Murphy wrote: Bump to the series On 5/4/20 4:14 PM, Dan Murphy wrote: Hello The addition of the DP83867 driver to uboot was done in a generic way that made it a bit difficult to bring in new PHY drivers.  The difficulty

Re: [PATCH v4 0/5] TI Ethernet PHY changes

2020-05-11 Thread Dan Murphy
Bump to the series On 5/4/20 4:14 PM, Dan Murphy wrote: Hello The addition of the DP83867 driver to uboot was done in a generic way that made it a bit difficult to bring in new PHY drivers. The difficulty came in the config flags and the phy_init function. The change is to make the flags

[PATCH v4 0/5] TI Ethernet PHY changes

2020-05-04 Thread Dan Murphy
umentation in the phy.h file. Dan Dan Murphy (5): net: phy: Add missing kernel doc to phy functions net: phy: Fix kernel doc issues in phy.h net: phy: Add helper routines to set and clear bits net: phy: Add support for TI PHY init net: phy: Add DP8382x phy registration to TI PHY init

[PATCH v4 5/5] net: phy: Add DP8382x phy registration to TI PHY init

2020-05-04 Thread Dan Murphy
Add the DP8382X generic PHY registration to the TI PHY init file. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- drivers/net/phy/Kconfig | 7 +++ drivers/net/phy/ti_phy_init.c | 83 +++ 2 files changed, 90 insertions(+) diff --git a/drivers/net/phy

[PATCH v4 4/5] net: phy: Add support for TI PHY init

2020-05-04 Thread Dan Murphy
was created. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- configs/am65x_evm_a53_defconfig | 2 +- configs/am65x_hs_evm_a53_defconfig | 2 +- configs/dra7xx_evm_defconfig | 2 +- configs/dra7xx_hs_evm_defconfig | 2 +- configs/dra7xx_hs_evm_usb_defconfig | 2 +- configs

[PATCH v4 3/5] net: phy: Add helper routines to set and clear bits

2020-05-04 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- include/phy.h | 54 +++ 1 file changed, 54 insertions(+) diff --git a/include/phy.h b

[PATCH v4 1/5] net: phy: Add missing kernel doc to phy functions

2020-05-04 Thread Dan Murphy
Add kernel doc to the phy_read/write utility functions in phy.h Acked-by: Michal Simek Signed-off-by: Dan Murphy --- include/phy.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/include/phy.h b/include/phy.h index b5de14cbfc29..c1f6509e42fc 100644

[PATCH v4 2/5] net: phy: Fix kernel doc issues in phy.h

2020-05-04 Thread Dan Murphy
Fix kernel doc warnings in phy.h. Mostly the warnings were due to the return missing the semi-colon. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- include/phy.h | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/include/phy.h b/include/phy.h index

Re: [PATCH v3 4/5] net: phy: Add support for TI PHY init

2020-05-04 Thread Dan Murphy
Michal On 5/4/20 4:46 AM, Michal Simek wrote: On 30. 04. 20 18:30, Dan Murphy wrote: ti_phy_init function was allocated to the DP83867 PHY. This function name is to generic for a specific PHY. The function can be moved to a TI specific file that can register all TI PHYs that are defined

[PATCH v3 2/5] net: phy: Fix kernel doc issues in phy.h

2020-04-30 Thread Dan Murphy
Fix kernel doc warnings in phy.h. Mostly the warnings were due to the return missing the semi-colon. Signed-off-by: Dan Murphy --- include/phy.h | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/include/phy.h b/include/phy.h index c1f6509e42fc

[PATCH v3 4/5] net: phy: Add support for TI PHY init

2020-04-30 Thread Dan Murphy
was created. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- configs/am65x_evm_a53_defconfig | 2 +- configs/am65x_hs_evm_a53_defconfig | 2 +- configs/dra7xx_evm_defconfig | 2 +- configs/dra7xx_hs_evm_defconfig | 2 +- configs/dra7xx_hs_evm_usb_defconfig | 2 +- configs

[PATCH v3 5/5] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-30 Thread Dan Murphy
Add the DP8382X generic PHY registration to the TI PHY init file. Acked-by: Michal Simek Signed-off-by: Dan Murphy --- drivers/net/phy/ti_phy_init.c | 83 +++ 1 file changed, 83 insertions(+) diff --git a/drivers/net/phy/ti_phy_init.c b/drivers/net/phy

[PATCH v3 3/5] net: phy: Add helper routines to set and clear bits

2020-04-30 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 54 +++ 1 file changed, 54 insertions(+) diff --git a/include/phy.h b/include/phy.h index

[PATCH v3 1/5] net: phy: Add missing kernel doc to phy functions

2020-04-30 Thread Dan Murphy
Add kernel doc to the phy_read/write utility functions in phy.h Signed-off-by: Dan Murphy --- include/phy.h | 39 +++ 1 file changed, 39 insertions(+) diff --git a/include/phy.h b/include/phy.h index b5de14cbfc29..c1f6509e42fc 100644 --- a/include/phy.h

[PATCH v3 0/5] TI Ethernet PHY changes

2020-04-30 Thread Dan Murphy
umentation in the phy.h file. Dan Dan Murphy (5): net: phy: Add missing kernel doc to phy functions net: phy: Fix kernel doc issues in phy.h net: phy: Add helper routines to set and clear bits net: phy: Add support for TI PHY init net: phy: Add DP8382x phy registration to TI PHY init

Re: [PATCH v2 3/3] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-30 Thread Dan Murphy
Michal On 4/30/20 3:04 AM, Michal Simek wrote: On 28. 04. 20 21:26, Dan Murphy wrote: Add the DP8382X generic PHY registration to the TI PHY init file. Signed-off-by: Dan Murphy --- drivers/net/phy/ti_phy_init.c | 91 +++ 1 file changed, 91 insertions

Re: [PATCH v2 1/3] net: phy: Add helper routines to set and clear bits

2020-04-30 Thread Dan Murphy
Michal On 4/30/20 3:00 AM, Michal Simek wrote: On 28. 04. 20 21:26, Dan Murphy wrote: Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 80

[PATCH v2 0/3] TI Ethernet PHY changes

2020-04-28 Thread Dan Murphy
c PHY" is not really descriptive. These patches adds the registrations for TI Generic PHYs to associcate a TI PHY ID with a PHY name. Porting PHY helper routines to set and clear bits to facilitate easier side porting of ethernet kernel drivers to uBoot. Dan Dan Murphy (3): net: phy: Add helpe

[PATCH v2 3/3] net: phy: Add DP8382x phy registration to TI PHY init

2020-04-28 Thread Dan Murphy
Add the DP8382X generic PHY registration to the TI PHY init file. Signed-off-by: Dan Murphy --- drivers/net/phy/ti_phy_init.c | 91 +++ 1 file changed, 91 insertions(+) diff --git a/drivers/net/phy/ti_phy_init.c b/drivers/net/phy/ti_phy_init.c index 277b29a26342

[PATCH v2 1/3] net: phy: Add helper routines to set and clear bits

2020-04-28 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 80 +++ 1 file changed, 80 insertions(+) diff --git a/include/phy.h b/include/phy.h index

[PATCH v2 2/3] net: phy: Add support for TI PHY init

2020-04-28 Thread Dan Murphy
was created. Signed-off-by: Dan Murphy --- configs/am65x_evm_a53_defconfig | 2 +- configs/am65x_hs_evm_a53_defconfig | 2 +- configs/dra7xx_evm_defconfig | 2 +- configs/dra7xx_hs_evm_defconfig | 2 +- configs/dra7xx_hs_evm_usb_defconfig | 2 +- configs/j721e_evm_a72_defconfig

Re: [RFC PATCH 3/3] net: phy: dp83869: Port the kernel driver

2020-04-21 Thread Dan Murphy
Michal On 4/21/20 7:39 AM, Michal Simek wrote: On 21. 04. 20 14:04, Dan Murphy wrote: Michal On 4/21/20 3:23 AM, Michal Simek wrote: On 20. 04. 20 20:53, Dan Murphy wrote: Port the DP83869 kernel driver. Signed-off-by: Dan Murphy ---   drivers/net/phy/Kconfig  |   4

Re: [RFC PATCH 3/3] net: phy: dp83869: Port the kernel driver

2020-04-21 Thread Dan Murphy
Michal On 4/21/20 3:23 AM, Michal Simek wrote: On 20. 04. 20 20:53, Dan Murphy wrote: Port the DP83869 kernel driver. Signed-off-by: Dan Murphy --- drivers/net/phy/Kconfig | 4 + drivers/net/phy/Makefile | 1 + drivers/net/phy/dp83869.c| 440

Re: [RFC PATCH 2/3] net: phy: Add helper routines to set and clear bits

2020-04-21 Thread Dan Murphy
Michal On 4/21/20 6:52 AM, Michal Simek wrote: On 21. 04. 20 13:43, Dan Murphy wrote: Michal Thanks for the review On 4/21/20 3:04 AM, Michal Simek wrote: On 20. 04. 20 20:53, Dan Murphy wrote: Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use

Re: [RFC PATCH 1/3] net: phy: Add a generic phy file for TI generic PHYs

2020-04-21 Thread Dan Murphy
Michal On 4/21/20 2:57 AM, Michal Simek wrote: On 20. 04. 20 20:53, Dan Murphy wrote: Add a TI Generic init file that will initialize TI PHYs that follow that not require special handling. These PHYs can connect with the standard MII register set. This generice file will register the PHY IDs

Re: [RFC PATCH 2/3] net: phy: Add helper routines to set and clear bits

2020-04-21 Thread Dan Murphy
Michal Thanks for the review On 4/21/20 3:04 AM, Michal Simek wrote: On 20. 04. 20 20:53, Dan Murphy wrote: Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 38

[RFC PATCH 3/3] net: phy: dp83869: Port the kernel driver

2020-04-20 Thread Dan Murphy
Port the DP83869 kernel driver. Signed-off-by: Dan Murphy --- drivers/net/phy/Kconfig | 4 + drivers/net/phy/Makefile | 1 + drivers/net/phy/dp83869.c| 440 +++ drivers/net/phy/ti_phy_init.c| 4 + drivers/net/phy

[RFC PATCH 2/3] net: phy: Add helper routines to set and clear bits

2020-04-20 Thread Dan Murphy
Add phy_set/clear_bit helper routines so that ported drivers from the kernel can use these functions. Signed-off-by: Dan Murphy --- include/phy.h | 38 ++ 1 file changed, 38 insertions(+) diff --git a/include/phy.h b/include/phy.h index b5de14cbfc29

[RFC PATCH 1/3] net: phy: Add a generic phy file for TI generic PHYs

2020-04-20 Thread Dan Murphy
will display as opposed to 'Generic PHY'. The DP8382X PHY series is a generic PHY that requires the generic registration. The DP83867 driver was updated to rename the init to a more PHY specific init call. Signed-off-by: Dan Murphy --- configs/am65x_evm_a53_defconfig | 2 +- configs

Re: [U-Boot] [PATCH 1/1] scripts/checkpatch: add missing spelling.txt

2017-09-19 Thread Dan Murphy
scripts/spelling.txt is missing, a warning is shown. > > Add the spelling.txt file from the Linux kernel 4.13 source. > > We can later add our own typo corrections. > > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> Acked-by: Dan Murphy <dmur.

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Dan Murphy
Simon On 03/17/2017 01:46 PM, Simon Glass wrote: > Hi Dan, > > On 17 March 2017 at 12:33, Dan Murphy <dmur...@ti.com> wrote: >> Simon >> >> On 03/17/2017 01:24 PM, Simon Glass wrote: >>> +ML >>> >>> Hi Dan, >>> >>

Re: [U-Boot] Linker error when using CONFIG_SPL_SYS_MALLOC_SIMPLE=y

2017-03-17 Thread Dan Murphy
Simon On 03/17/2017 01:24 PM, Simon Glass wrote: > +ML > > Hi Dan, > > On 17 March 2017 at 12:16, Dan Murphy <dmur...@ti.com> wrote: >> Simon >> >> I wanted to drop you a note to see if you have any advice on how to fix this >> issue.

[U-Boot] [PATCH 0/1] Introducing Spell check for checkpatch from LK

2017-01-31 Thread Dan Murphy
of other patches in which the codespell took advantage of. Dan Dan Murphy (1): checkpatch: Port spelling to checkpatch scripts/checkpatch.pl | 81 +++ 1 file changed, 81 insertions(+) -- 2.11.0.rc0.7.gbe5a750

[U-Boot] [PATCH 1/1] checkpatch: Port spelling to checkpatch

2017-01-31 Thread Dan Murphy
Perches commit f1a63678554f8 checkpatch: remove local from codespell path from the Linux kernel for dictionary path from Maxim Uvarov Signed-off-by: Dan Murphy <dmur...@ti.com> --- scripts/checkpatch.pl | 81 +++ 1 file changed, 81 inse

Re: [U-Boot] [PATCH 3/7] arm: omap-common: Enable support for K2 HS devices in u-boot

2016-08-29 Thread Dan Murphy
device type is being used, this config > must be set. This option impacts various aspects of the Acked-by: Dan Murphy <dmur...@ti.com> -- -- Dan Murphy ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/7] arm: mach-keystone: Implements FIT post-processing call for keystone SoCs

2016-08-29 Thread Dan Murphy
/* remove form production code */ Wouldn't this be production code? If this print is intended to stay the s/form/from Dan > + hang(); > + } > +} > + > +void board_fit_image_post_process(void **p_image, size_t *p_size) > +{ > +

[U-Boot] [PATCH v8 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-05-02 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan

[U-Boot] [PATCH v8 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-05-02 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Michal Simek <michal.si...@xilinx.com> Tested-by: Mugunthan V N <mugunthan...@

[U-Boot] [PATCH v8 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-05-02 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmur...@ti.com> Tested-by: Michal Simek <michal.si...@xilinx.com> Acked-by: Joe Hershberger <joe.her

[U-Boot] [PATCH v8 5/7] net: phy: Move is_rgmii helper to phy.h

2016-05-02 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com&

[U-Boot] [PATCH v8 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-05-02 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunth

[U-Boot] [PATCH v8 4/7] net: phy: ti: Allow the driver to be more configurable

2016-05-02 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> Tested-by: Mugunthan V N <mugunthan...@ti.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- v8 - Add acked/Tested/reviewed by information v7 - Fixed checkpatch issues - https://patchwork.ozlabs.org/patch/610950/ Che

[U-Boot] [PATCH v8 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-05-02 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmur...@ti.

Re: [U-Boot] [PATCH v7 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-05-02 Thread Dan Murphy
Tom On 05/02/2016 12:58 PM, Tom Rini wrote: > On Mon, May 02, 2016 at 12:54:43PM -0500, Dan Murphy wrote: >> Joe >> >> On 05/02/2016 11:08 AM, Joe Hershberger wrote: >>> On Fri, Apr 29, 2016 at 6:59 AM, Dan Murphy <dmur...@ti.com> wrote: >>>

Re: [U-Boot] [PATCH v7 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-05-02 Thread Dan Murphy
Joe On 05/02/2016 11:08 AM, Joe Hershberger wrote: > On Fri, Apr 29, 2016 at 6:59 AM, Dan Murphy <dmur...@ti.com> wrote: >> Add the ability to read the phy-handle node of the >> cpsw slave. Upon reading this handle the phy-id >> can be stored based on the reg node in t

[U-Boot] [PATCH v7 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-29 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Michal Simek <michal.si...@xilinx.com> --- v7 - no changes from v6 include/phy.h |

[U-Boot] [PATCH v7 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-29 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v7 - Fixed checkpatch issues - https://patchwork.ozlabs.org/patch/610950/ Checkpatch LTL issues still remain and resolving will break readability WARNING: line over 80 characters #127: FILE: drivers/net/phy/ti.c:232: WARNING: line o

[U-Boot] [PATCH v7 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-29 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com&

[U-Boot] [PATCH v7 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-29 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunth

[U-Boot] [PATCH v7 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-29 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan

[U-Boot] [PATCH v7 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-29 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmur...@ti.com> Tested-by: Michal Simek <michal.si...@xilinx.com> --- v7 - no changes from v6

[U-Boot] [PATCH v7 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-29 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmur...@ti.

Re: [U-Boot] [PATCH v6 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-28 Thread Dan Murphy
Michal On 04/28/2016 01:26 AM, Michal Simek wrote: > Hi Joe, > > On 28.4.2016 06:52, Joe Hershberger wrote: >> On Wed, Apr 27, 2016 at 10:46 AM, Dan Murphy <dmur...@ti.com> wrote: >>> Joe >>> >>> On 04/26/2016 04:44 PM, Joe Hershberger wrote: >&

Re: [U-Boot] [PATCH v6 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-27 Thread Dan Murphy
Joe On 04/26/2016 04:44 PM, Joe Hershberger wrote: > On Mon, Apr 25, 2016 at 4:35 PM, Joe Hershberger > <joe.hershber...@gmail.com> wrote: >> On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy <dmur...@ti.com> wrote: >>> Not all devices use the same internal delay o

Re: [U-Boot] [PATCH v6 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-27 Thread Dan Murphy
Joe On 04/26/2016 04:42 PM, Joe Hershberger wrote: > On Mon, Apr 25, 2016 at 4:32 PM, Joe Hershberger > <joe.hershber...@gmail.com> wrote: >> On Fri, Apr 15, 2016 at 7:27 AM, Dan Murphy <dmur...@ti.com> wrote: >>> Add the ability to read the phy-handle node of

Re: [U-Boot] [PATCH v6 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-21 Thread Dan Murphy
Bump? On 04/15/2016 07:27 AM, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy <dmur...@ti.com> > Tested-by:

Re: [U-Boot] [PATCH v6 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-20 Thread Dan Murphy
Bump? On 04/15/2016 07:27 AM, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to a

[U-Boot] [PATCH v6 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-15 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmur...@ti.com> Tested-by: Michal Simek <michal.si...@xilinx.com> --- v6 - No changes - https://patchwor

[U-Boot] [PATCH v6 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-15 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com&

[U-Boot] [PATCH v6 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-15 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan

[U-Boot] [PATCH v6 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-15 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v6 - Fix build error when DM_ETH is not configured - https://patchwork.ozlabs.org/patch/608764/ drivers/net/phy/ti.c | 87 ++-- 1 file changed, 77 insertions(+), 10 deletions(-) diff

[U-Boot] [PATCH v6 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-15 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunth

[U-Boot] [PATCH v6 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-15 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmur...@ti.

[U-Boot] [PATCH v6 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-15 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmur...@ti.com> Reviewed-by: Mugunthan V N <mugunthan...@ti.com> Reviewed-by: Michal Simek <michal.si...@xilinx.com> --- v6 - No changes - https://patchwork.ozlab

Re: [U-Boot] [uboot] [PATCH v5 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > The code assumed that if the interface is not RGMII configured > then it must be SGMII configured. This device has the ability > to support most of the MII interfaces. Therefore add the > helper for SGMII and only configur

Re: [U-Boot] [uboot] [PATCH v5 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Move the phy_interface_is_rgmii to the phy.h > file for all phy's to be able to use the API. > > This now aligns with the Linux kernel based on > commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 > > Signed-off-by: Dan M

Re: [U-Boot] [uboot] [PATCH v5 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Add a helper to phy.h to identify whether the > phy is configured for SGMII all variables. > > Signed-off-by: Dan Murphy <dmur...@ti.com> > --- > > v5 - No change > > include/phy.h | 11 +++

Re: [U-Boot] [uboot] [PATCH v5 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Add the device tree bindings and the accompanying documentation > for the TI DP83867 Giga bit ethernet phy driver. > > The original document was from: > [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux ker

Re: [U-Boot] [uboot] [PATCH v5 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to

Re: [U-Boot] [uboot] [PATCH v5 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy <dmur...@ti.com> > --- > >

Re: [U-Boot] [uboot] [PATCH v5 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-13 Thread Dan Murphy
Adding Joe On 04/11/2016 07:18 AM, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to a

[U-Boot] [uboot] [PATCH v5 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-11 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v5 - Removed unused variable and fixed checkpatch warning - https://patchwork.ozlabs.org

[U-Boot] [uboot] [PATCH v5 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-11 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> --- v5 - Removed /t b

[U-Boot] [uboot] [PATCH v5 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-11 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan

[U-Boot] [uboot] [PATCH v5 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-11 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmur...@ti.com> --- v5 - No change drivers/net/phy/ti.

[U-Boot] [uboot] [PATCH v5 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-11 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v5 - No change include/phy.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/phy.h b/include/phy.h index 7b2d1ff..ef3eb51

[U-Boot] [uboot] [PATCH v5 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v5 - Removed extra space and renamed the bindings per the bindings document - https://patchwork.ozlabs.org/patch/608087/ drivers/net/phy/ti.c | 85 +--- 1 file changed, 75 insertions(

[U-Boot] [uboot] [PATCH v5 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-11 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmur...@ti.

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
Michal On 04/11/2016 07:11 AM, Michal Simek wrote: > On 11.4.2016 14:01, Dan Murphy wrote: >> On 04/11/2016 02:08 AM, Michal Simek wrote: >>> On 8.4.2016 18:08, Dan Murphy wrote: >>>> Not all devices use the same internal delay or fifo depth. >>>> Add th

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
On 04/11/2016 02:08 AM, Michal Simek wrote: > On 8.4.2016 18:08, Dan Murphy wrote: >> Not all devices use the same internal delay or fifo depth. >> Add the ability to set the internal delay for rx or tx and the >> fifo depth via the devicetree. If the value is not set

[U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-08 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v4 - Rebased the driver and changed default values to -1 drivers/net/phy/ti.c | 85 +--- 1 file changed, 75 insertions(+), 10 deletions(-) diff --git a/drivers/net/phy/ti.c b/drivers/n

[U-Boot] [uboot] [PATCH 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-08 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy <dmur...@ti.com> --- drivers/net/zynq_gem.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-)

[U-Boot] [uboot] [PATCH 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-08 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy <dmur...@ti.com> --- include/phy.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/phy.h b/include/phy.h index 7b2d1ff..ef3eb51 100644 --- a/include

[U-Boot] [uboot] [PATCH 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-08 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan

[U-Boot] [uboot] [PATCH v4 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-08 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> --- v3- Update the bi

[U-Boot] [uboot] [PATCH 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-08 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy <dmur...@ti.com> --- drivers/net/phy/ti.c | 11 --- include

[U-Boot] [uboot] [PATCH 1/7] drivers: net: cpsw: Add readinf of DT phy-handle node

2016-04-08 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy <dmur...@ti.

Re: [U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-08 Thread Dan Murphy
On 04/08/2016 07:29 AM, Michal Simek wrote: > On 8.4.2016 14:05, Dan Murphy wrote: >> On 04/08/2016 04:25 AM, Michal Simek wrote: >>> On 7.4.2016 18:02, Dan Murphy wrote: >>>> Mugunthan >>>> >>>> On 04/06/2016 11:45 PM, Mugunthan V N wrote:

Re: [U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-08 Thread Dan Murphy
On 04/08/2016 04:25 AM, Michal Simek wrote: > On 7.4.2016 18:02, Dan Murphy wrote: >> Mugunthan >> >> On 04/06/2016 11:45 PM, Mugunthan V N wrote: >>> On Wednesday 06 April 2016 05:07 PM, Dan Murphy wrote: >>>> Add the device tree bindings and the accompan

Re: [U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-07 Thread Dan Murphy
Mugunthan On 04/06/2016 11:45 PM, Mugunthan V N wrote: > On Wednesday 06 April 2016 05:07 PM, Dan Murphy wrote: >> Add the device tree bindings and the accompanying documentation >> for the TI DP83867 Giga bit ethernet phy driver. >> >> The original docume

[U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-06 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy <dmur...@ti.com> --- v3 - Modify the b

[U-Boot] [uboot][PATCH v3 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-06 Thread Dan Murphy
the driver. Signed-off-by: Dan Murphy <dmur...@ti.com> --- v3 - Modify the binding to the kernel changed int -> internal for the delay - https://patchwork.ozlabs.org/patch/606595/ drivers/net/phy/ti.c | 81 ++-- 1 file changed, 73 inserti

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
On 04/05/2016 01:30 PM, Dan Murphy wrote: > On 04/05/2016 12:36 PM, Michal Simek wrote: >> On 5.4.2016 19:18, Dan Murphy wrote: >>> Michal >>> >>> On 04/05/2016 12:01 PM, Michal Simek wrote: >>>> On 5.4.2016 17:05, Dan Murphy wrote: >>>>

Re: [U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
On 04/05/2016 01:26 PM, Dan Murphy wrote: > On 04/05/2016 12:40 PM, Michal Simek wrote: >> On 5.4.2016 19:23, Dan Murphy wrote: >>> Add the device tree bindings and the accompanying documentation >>> for the TI DP83867 Giga bit ethernet phy driver. >>>

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
On 04/05/2016 12:36 PM, Michal Simek wrote: > On 5.4.2016 19:18, Dan Murphy wrote: >> Michal >> >> On 04/05/2016 12:01 PM, Michal Simek wrote: >>> On 5.4.2016 17:05, Dan Murphy wrote: >>>> Not all devices use the same internal delay or fifo depth. >

Re: [U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
On 04/05/2016 12:40 PM, Michal Simek wrote: > On 5.4.2016 19:23, Dan Murphy wrote: >> Add the device tree bindings and the accompanying documentation >> for the TI DP83867 Giga bit ethernet phy driver. >> >> The original document was from: >> [commit 2a10154

  1   2   3   4   >