Re: [PATCH] net: uclass: Save ethernet MAC address when generated

2021-11-03 Thread Grygorii Strashko
On 02/11/2021 12:27, Michal Simek wrote: On 11/2/21 10:00, Michael Walle wrote: On Fri, Oct 29, 2021 at 2:14 PM Michal Simek wrote: When MAC address is randomly generated it should be also saved to variables. This step is there when MAC address is passed via pdata but not when it is

Re: [PATCH v3 2/5] arm/dts: k3-j7200-r5-common: Add pmic lp876441 node

2021-07-15 Thread Grygorii Strashko
On 14/07/2021 23:52, Gowtham Tammana wrote: Add pmic lp876411 node needed for CPU AVS support. Signed-off-by: Gowtham Tammana --- .../arm/dts/k3-j7200-r5-common-proc-board.dts | 26 +++ 1 file changed, 26 insertions(+) diff --git

Re: [PATCH v2 00/30] Add DM support for omap PWM backlight

2020-09-18 Thread Grygorii Strashko
On 17/09/2020 22:23, Dario Binacchi wrote: Hi Grygorii, Il 17/09/2020 08:57 Grygorii Strashko ha scritto: Hi Dario, On 06/09/2020 15:08, Dario Binacchi wrote: The series was born from the need to manage the PWM backlight of the display connected to my beaglebone board. To hit

Re: [PATCH] dma: ti: k3-udma: Reset the channel during release

2020-09-18 Thread Grygorii Strashko
Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH v2 00/30] Add DM support for omap PWM backlight

2020-09-17 Thread Grygorii Strashko
Hi Dario, On 06/09/2020 15:08, Dario Binacchi wrote: The series was born from the need to manage the PWM backlight of the display connected to my beaglebone board. To hit the target, I had to develop drivers for PWM management which in turn relied on drivers for managing timers and clocks, all

Re: [PATCH 0/6] J2700: Enable various peripherals

2020-08-07 Thread Grygorii Strashko
arch/arm/dts/k3-j7200.dtsi| 6 +- board/ti/j721e/evm.c | 30 8 files changed, 371 insertions(+), 2 deletions(-) Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH 07/18] arm: mach-k3: j721e: Add detection for j721e

2020-07-24 Thread Grygorii Strashko
On 23/07/2020 11:47, Lokesh Vutla wrote: Add an api soc_is_j721e(), and use it to enable certain functionality that is available only on j721e. Signed-off-by: Lokesh Vutla Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 10 ++

Re: [PATCH v2 0/9] Introduce UCLASS_SOC

2020-07-16 Thread Grygorii Strashko
-framework.rst create mode 100644 drivers/soc/soc-uclass.c create mode 100644 drivers/soc/soc_sandbox.c create mode 100644 drivers/soc/soc_ti_k3.c create mode 100644 include/soc.h create mode 100644 test/dm/soc.c Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH 0/5] TI: AM654/J721e: Sync CPSW DT node from kernel

2020-07-07 Thread Grygorii Strashko
/net/ti/am65-cpsw-nuss.c | 15 ++-- 5 files changed, 167 insertions(+), 134 deletions(-) Thank you - minor coment. Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH 4/5] arm: dts: k3-j721e: Sync CPSW DT node from kernel

2020-07-07 Thread Grygorii Strashko
On 06/07/2020 11:06, Vignesh Raghavendra wrote: Sync CPSW DT node from Kernel and move it out of -u-boot.dtsi file. Signed-off-by: Vignesh Raghavendra --- .../k3-j721e-common-proc-board-u-boot.dtsi| 74 +-- arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 74

Re: [PATCH 0/6] TI: AM654/j721e: Ringacc and UDMA updates

2020-07-07 Thread Grygorii Strashko
drivers/dma/ti/k3-udma.c| 281 drivers/soc/ti/k3-navss-ringacc.c | 161 +- include/linux/soc/ti/k3-navss-ringacc.h | 4 + 3 files changed, 254 insertions(+), 192 deletions(-) Thank you. Reviewed-by: Grygorii Strashko -- Best regards

Re: [PATCH 0/3] AM654/J721e: Sync UDMA bindings

2020-06-24 Thread Grygorii Strashko
drivers/dma/ti/k3-psil.c create mode 100644 drivers/dma/ti/k3-psil.h delete mode 100644 include/dt-bindings/dma/k3-udma.h Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH] board: ti: am335x_evm: Remove duplicate setting of bd_ram_ofs member

2020-06-05 Thread Grygorii Strashko
, .ale_entries= 1024, - .bd_ram_ofs = 0x2000, .mac_control= 0x20, .active_slave = 0, .mdio_base = 0x4a101000, Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH] net: cpsw: Add __maybe_unused to generated inlines

2020-06-05 Thread Grygorii Strashko
); \ } Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii

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

2020-05-18 Thread Grygorii Strashko
ons(+), 23 deletions(-) create mode 100644 drivers/net/phy/ti_phy_init.c create mode 100644 drivers/net/phy/ti_phy_init.h Reviewed-by: Grygorii Strashko -- Best regards, grygorii

Re: [PATCH] net: ethernet: ti: am65-cpsw-nuss: enable 10Mbps link speed in rgmii mode

2020-04-22 Thread Grygorii Strashko
W_MACSL_CTL_REG_FULL_DUPLEX;   if (phy->speed == 100) Reviewed-by: Grygorii Strashko -- Best regards, grygorii

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

2020-04-22 Thread Grygorii Strashko
On 21/04/2020 14:48, Dan Murphy wrote: 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. 

Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-19 Thread Grygorii Strashko
On 13/02/2020 18:05, Michal Simek wrote: On 13. 02. 20 16:49, Grygorii Strashko wrote: On 13/02/2020 08:23, Michal Simek wrote: On 12. 02. 20 21:24, Grygorii Strashko wrote: On 11/02/2020 10:11, Michal Simek wrote: On 10. 02. 20 13:07, Grygorii Strashko wrote: On 07/02/2020 13:31

Re: [PATCH] dt-bindings: net: dp83867: Remove binding doc from U-Boot tree

2020-02-19 Thread Grygorii Strashko
/net/ti,dp83867.txt Based on my talk with Grygorii Strashko better will be to remove it. Also Linux kernel bindings are being converted to yaml that's another reason to do it only at one place. Signed-off-by: Michal Simek --- I agree and see no reason to duplicate bindings in u-boot tree

Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-13 Thread Grygorii Strashko
On 13/02/2020 08:23, Michal Simek wrote: On 12. 02. 20 21:24, Grygorii Strashko wrote: On 11/02/2020 10:11, Michal Simek wrote: On 10. 02. 20 13:07, Grygorii Strashko wrote: On 07/02/2020 13:31, Michal Simek wrote: There is no reason to check sgmii branch again when it is clear

Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-12 Thread Grygorii Strashko
On 11/02/2020 10:11, Michal Simek wrote: On 10. 02. 20 13:07, Grygorii Strashko wrote: On 07/02/2020 13:31, Michal Simek wrote: There is no reason to check sgmii branch again when it is clear that phy interface is rgmii. Signed-off-by: Michal Simek ---   drivers/net/phy/dp83867.c | 4

Re: [PATCH] net: phy: dp83867: Do not check sgmii if rgmii is already used

2020-02-10 Thread Grygorii Strashko
On 07/02/2020 13:31, Michal Simek wrote: There is no reason to check sgmii branch again when it is clear that phy interface is rgmii. Signed-off-by: Michal Simek --- drivers/net/phy/dp83867.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH] net: phy: dp83867: Clean force link good bit

2020-02-10 Thread Grygorii Strashko
. The patch is cleaning this bit when PHYCR value is composed. Tested on Xilinx zcu102-revA and zcu104-rev1.0 boards. Fixes: 37d6265f2bfa ("net: phy: dp83867: refactor rgmii configuration") Signed-off-by: Michal Simek --- Reviewed-by: Grygorii Strashko drivers/net/phy/dp83867.c |

Re: [U-Boot] [PATCH v2 0/6] J721e: Add networking support

2019-12-02 Thread Grygorii Strashko
. Last two patches add DMA and CPSW DT nodes and configs. Depends on [1] for ethernet to work [1] http://patchwork.ozlabs.org/project/uboot/list/?series=145954 v2: Address comments from Grygorii. Collect Acks Few minor comments. Reviewed-by: Grygorii Strashko Vignesh Raghavendra (6

Re: [U-Boot] [PATCH v2 5/6] arm: dts: k3-j721e-common-proc-board: Add DMA and CPSW related DT nodes

2019-12-02 Thread Grygorii Strashko
On 02/12/2019 10:59, Vignesh Raghavendra wrote: Add DT nodes related to DMA and CPSW to -u-boot.dtsi to get networking up on J721e EVM. Signed-off-by: Vignesh Raghavendra Acked-by: Joe Hershberger --- .../k3-j721e-common-proc-board-u-boot.dtsi| 239 ++ 1 file changed,

Re: [U-Boot] [PATCH v2 3/6] net: ti: am65-cpsw-nuss: Rework RX flow ID handling

2019-12-02 Thread Grygorii Strashko
On 02/12/2019 10:59, Vignesh Raghavendra wrote: Get flow ID information for RX DMA channel using dma_get_cfg() interface instead of reading from DT. This is required in order to avoid DT update whenever there is change in the range of flow ID allocated to the host. Signed-off-by: Vignesh

Re: [U-Boot] [PATCH RESEND v2 00/10] dma: ti: k3-udma: Add support for J721e

2019-12-02 Thread Grygorii Strashko
/bitmap.h| 133 include/linux/bitops.h| 12 ++ 5 files changed, 403 insertions(+), 120 deletions(-) minor comment to patch 2. Otherwise: Reviewed-by: Grygorii Strashko -- Best regards, grygorii ___ U-Boot mailing list

Re: [U-Boot] [PATCH RESEND v2 02/10] dma: ti: k3-udma: Query DMA channels allocated from Resource Manager

2019-12-02 Thread Grygorii Strashko
On 02/12/2019 10:54, Vignesh Raghavendra wrote: On K3 SoCs, DMA channels are shared across multiple entities, therefore U-Boot DMA driver needs to query resource range from centralised resource management controller i.e SystemFirmware and use DMA channels allocated for A72 host. Add support

[U-Boot] [PATCH] board: ti: am43xx: remove net platform code

2019-11-22 Thread Grygorii Strashko
The TI AM43xx platform has DM_ETH and OF_CONTROL enabled, so remove networking platform code. Signed-off-by: Grygorii Strashko --- board/ti/am43xx/board.c | 106 +--- 1 file changed, 1 insertion(+), 105 deletions(-) diff --git a/board/ti/am43xx/board.c b

[U-Boot] [PATCH] board: ti: dra7-evm: remove net platform code

2019-11-22 Thread Grygorii Strashko
The DRA7 has DM_ETH and OF_CONTROL enabled, so remove networking platform code. Signed-off-by: Grygorii Strashko --- board/ti/dra7xx/evm.c | 106 +- 1 file changed, 1 insertion(+), 105 deletions(-) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx

Re: [U-Boot] [PATCH 0/6] J721e: Add networking support

2019-11-21 Thread Grygorii Strashko
On 18/11/2019 12:59, Vignesh Raghavendra wrote: This patch enables networking support for TI's J721e SoC. Patch 1 adds a new interface to DMA uclass to get channel specific private/configuration data. Patch 2 to 4 use this interface to pass data from J721e's UDMA driver to CPSW ethernet

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-21 Thread Grygorii Strashko
On 21/11/2019 12:36, Alexandru Marginean wrote: On 11/20/2019 10:51 AM, Grygorii Strashko wrote: On 19/11/2019 20:58, Grygorii Strashko wrote: On 19/11/2019 01:31, Alexandru Marginean wrote: On 11/18/2019 8:11 PM, Grygorii Strashko wrote: On 14/11/2019 17:04, Alex Marginean wrote

[U-Boot] [PATCH v2] arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

2019-11-20 Thread Grygorii Strashko
Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to dra7xx_evm_defconfig. Signed-off-by: Grygorii Strashko --- configs/dra7xx_evm_defconfig| 2 ++ configs/dra7xx_hs_evm_defconfig | 2 ++ configs/dra7xx_hs_evm_usb_defconfig | 2 ++ include/configs/dra7xx_evm.h| 2 -- 4 files

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-20 Thread Grygorii Strashko
On 19/11/2019 20:58, Grygorii Strashko wrote: On 19/11/2019 01:31, Alexandru Marginean wrote: On 11/18/2019 8:11 PM, Grygorii Strashko wrote: On 14/11/2019 17:04, Alex Marginean wrote: Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find

Re: [U-Boot] [PATCH] arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

2019-11-20 Thread Grygorii Strashko
On 20/11/2019 06:30, Lokesh Vutla wrote: On 20/11/19 12:14 AM, Grygorii Strashko wrote: Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to dra7xx_evm_defconfig. Signed-off-by: Grygorii Strashko --- configs/dra7xx_evm_defconfig| 2 ++ configs/dra7xx_hs_evm_defconfig | 2

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-19 Thread Grygorii Strashko
On 19/11/2019 01:31, Alexandru Marginean wrote: On 11/18/2019 8:11 PM, Grygorii Strashko wrote: On 14/11/2019 17:04, Alex Marginean wrote: Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find the relevant PHY.  The property is ignored if phy

[U-Boot] [PATCH] arm: ti: dra7: move BOOTP_DNS2 and PHY_TI in defconfig

2019-11-19 Thread Grygorii Strashko
Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to dra7xx_evm_defconfig. Signed-off-by: Grygorii Strashko --- configs/dra7xx_evm_defconfig| 2 ++ configs/dra7xx_hs_evm_defconfig | 2 ++ configs/dra7xx_hs_evm_usb_defconfig | 2 ++ include/configs/dra7xx_evm.h| 2 -- 4 files

[U-Boot] [PATCH 8/8] arm: dts: k3-am654-base-board-u-boot: change cpsw2g interface mode to rgmii-rxid

2019-11-18 Thread Grygorii Strashko
The AM654 SoC doesn't allow to disabling RGMII TX internal delay in CPSW2G MAC. Hence, change CPSW2G interface mode to "rgmii-rxid" - RGMII with internal RX delay provided by the PHY, the MAC will add an TX delay in this case. Signed-off-by: Grygorii Strashko --- arch/arm/dts/k3-

[U-Boot] [PATCH 7/8] net: phy: dp83867: refactor rgmii configuration

2019-11-18 Thread Grygorii Strashko
Refactor SGMII configuration to group all settings together and reduce number of MDIO transactions. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 75 +++ 1 file changed, 36 insertions(+), 39 deletions(-) diff --git a/drivers/net/phy

[U-Boot] [PATCH 6/8] net: phy: dp83867: io impedance is not dependent on RGMII delay

2019-11-18 Thread Grygorii Strashko
GMII delay block. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 1721f6892b..f9bb925646 100644 --- a/drivers/net/phy/dp83867.c +++

[U-Boot] [PATCH 5/8] net: phy: dp83867: rework delay rgmii delay handling

2019-11-18 Thread Grygorii Strashko
s strapped to have a delay and is configured to use "rgmii" mode and warning is generated that "rgmii-id" should have been used. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 76 --- 1 file changed, 64 insertions(+), 12 deletion

[U-Boot] [PATCH 4/8] net: phy: dp83867: Add ability to disable output clock

2019-11-18 Thread Grygorii Strashko
e silently converted into DP83867_CLK_O_SEL_REF_CLK. Change this so they generate an error. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 53 ++- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net

[U-Boot] [PATCH 3/8] dt-bindings: phy: dp83867: Add documentation for disabling clock output

2019-11-18 Thread Grygorii Strashko
HY's default setting will be left as is if the property is omitted. Signed-off-by: Grygorii Strashko --- doc/device-tree-bindings/net/ti,dp83867.txt | 6 -- include/dt-bindings/net/ti-dp83867.h| 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/device-tree-bindings/net/t

[U-Boot] [PATCH 1/8] net: phy: ti: rename ti.c to dp83867.c

2019-11-18 Thread Grygorii Strashko
The driver ti.c is actually driver for TI DP83867x PHYs, so rename it accordingly. Signed-off-by: Grygorii Strashko --- drivers/net/phy/Makefile| 2 +- drivers/net/phy/{ti.c => dp83867.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/net/phy/{ti.c => dp8

[U-Boot] [PATCH 2/8] net: phy: dp83867: move static initialization to .probe()

2019-11-18 Thread Grygorii Strashko
Move static, one-time initialization to .probe() callback. Signed-off-by: Grygorii Strashko --- drivers/net/phy/dp83867.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 7509936465

[U-Boot] [PATCH 0/8] net: phy: dp83867: ti: sync with linux kernel and

2019-11-18 Thread Grygorii Strashko
hi The intention of this series is to sync TI DP83867 driver with mainline Linux kernel and ensure that proper PHY configuration in "rgmii-rxid" mode, which is done in the Patch 8. It also some code refactoring and optimization: patches 2,7. Grygorii Strashko (8): net: phy: ti: r

Re: [U-Boot] [PATCH 02/11] dma: ti: k3-udma: Query DMA channels allocated from Resource Manager

2019-11-18 Thread Grygorii Strashko
On 14/11/2019 11:14, Vignesh Raghavendra wrote: On K3 SoCs, DMA channels are shared across multiple entities, therefore U-Boot DMA driver needs to query resource range from centralised resource management controller i.e SystemFirmware and use DMA channels allocated for A72 host. Add support

Re: [U-Boot] [PATCH v4 4/5] doc: bindings: add mdio-handle property to ethernet nodes

2019-11-18 Thread Grygorii Strashko
On 14/11/2019 17:04, Alex Marginean wrote: Adds an optional mdio-handle property which identifies a MDIO bus which can be scanned to find the relevant PHY. The property is ignored if phy-handle is also present. Signed-off-by: Alex Marginean --- doc/device-tree-bindings/net/ethernet.txt |

Re: [U-Boot] [PATCH] net: cpsw: Add NULL pointer check

2019-11-11 Thread Grygorii Strashko
ata = data; pdata->iobase = dev_read_addr(dev); data->version = CPSW_CTRL_VERSION_2; Reviewed-by: Grygorii Strashko -- Best regards, grygorii ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 0/6] net: ti: set of fixes and improvements

2019-10-11 Thread Grygorii Strashko
Hi Joe, Tom On 19/09/2019 11:16, Grygorii Strashko wrote: Hi All, This series introduces set of fixes and improvements for TI CPSW and AM654x CPSW networking drivers. Patch 1 - Enables support of 10Mbit link speeds for TI CPSW driver. Patch 3 - Adds support of standard Ethernet "max-spee

Re: [U-Boot] [PATCH 0/3] arm: dts: ti: sync cpsw/mdio/phy with latest linux 1 - drop phy_id

2019-10-08 Thread Grygorii Strashko
Hi Tom, All, On 04/09/2019 11:38, Lokesh Vutla wrote: On 31/08/19 1:00 PM, Grygorii Strashko wrote: Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. For the series: Reviewed-by: Lokesh Vutla Are there anything else I need to do

[U-Boot] [PATCH v2 6/6] net: ti: cpsw: convert to use dev/ofnode api

2019-09-19 Thread Grygorii Strashko
Conver TI CPSW driver to use dev/ofnode api. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 119 ++ include/cpsw.h| 2 +- 2 files changed, 51 insertions(+), 70 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti

[U-Boot] [PATCH v2 5/6] net: ti: am65x-cpsw: fix mac tx internal delay for rgmii-rxid mode

2019-09-19 Thread Grygorii Strashko
Now AM65x CPSW2G driver will disable MAC TX internal delay for PHY interface mode "rgmii-rxid" which is incorrect. Hence, fix it by keeping default value (enabled) for MAC TX internal delay when "rgmii-rxid" interface mode is selected. Signed-off-by: Grygorii Strashko ---

[U-Boot] [PATCH v2 2/6] net: ti: cpsw: move parsing of dt port's parameters in separate func

2019-09-19 Thread Grygorii Strashko
Move parsing of dt port's parameters in separate func for better code readability. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 57 +-- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti

[U-Boot] [PATCH v2 4/6] net: ti: cpsw: fix mac tx internal delay for rgmii-rxid mode

2019-09-19 Thread Grygorii Strashko
Now TI CPSW driver will disable MAC TX internal delay for PHY interface mode "rgmii-rxid" which is incorrect. Hence, fix it by keeping default value (enabled) for MAC TX internal delay when "rgmii-rxid" interface mode is selected. Signed-off-by: Grygorii Strashko --- drive

[U-Boot] [PATCH v2 3/6] net: ti: cpsw: add support for standard eth "max-speed" dt property

2019-09-19 Thread Grygorii Strashko
This patch adds support for standard Ethernet "max-speed" DT property to allow PHY link speed limitation. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 15 +++ include/cpsw.h| 1 + 2 files changed, 16 insertions(+) diff --git a/drivers/net/t

[U-Boot] [PATCH v2 0/6] net: ti: set of fixes and improvements

2019-09-19 Thread Grygorii Strashko
for rgmii-rxid mode Patches 2,6 - are code improvements Changes in v2: - fixed network init in Patch 3 v1: https://patchwork.ozlabs.org/cover/1159782/ Grygorii Strashko (6): net: ti: cpsw: enable 10Mbps link speed support in rgmii mode net: ti: cpsw: move parsing of dt port's parameters i

[U-Boot] [PATCH v2 1/6] net: ti: cpsw: enable 10Mbps link speed support in rgmii mode

2019-09-19 Thread Grygorii Strashko
Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 20ddb44dd8..f0d008f0f5 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/ti/cpsw.c @@ -33,6 +33,7 @@ DECLARE_GLOBAL_DATA_PTR

Re: [U-Boot] [PATCH 3/6] net: ti: cpsw: add support for standard eth "max-speed" dt property

2019-09-16 Thread Grygorii Strashko
On 09/09/2019 18:00, Grygorii Strashko wrote: This patch adds support for standard Ethernet "max-speed" DT property to allow PHY link speed limitation. This patch by itself will break network boot (see below). But with whole series issue will not be reproducible, because it's

Re: [U-Boot] [PATCH] watchdog: omap_wdt: Fix WDT target reset when booted from emmc

2019-09-16 Thread Grygorii Strashko
probe. Tested on Beaglebone Black. Cc: Grygorii Strashko Fixes: 7659ea32 ("watchdog: omap_wdt: Convert watchdog driver to use DT and DM") Reported-by: Sam Protsenko Signed-off-by: Suniel Mahesh --- drivers/watchdog/omap_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-16 Thread Grygorii Strashko
On 16/09/2019 10:05, Suniel Mahesh wrote: Hi all, On 14/09/19 12:55, Sam Protsenko wrote: Hi Grygorii, On Fri, Sep 13, 2019 at 8:58 PM Grygorii Strashko wrote: On 12/09/2019 19:33, Sam Protsenko wrote: Hi Stefan, On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: Hi Sam

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-13 Thread Grygorii Strashko
On 12/09/2019 19:33, Sam Protsenko wrote: Hi Stefan, On Thu, Sep 12, 2019 at 5:38 PM Stefan Roese wrote: Hi Sam, On 12.09.19 15:45, Sam Protsenko wrote: Hi Suniel, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this

Re: [U-Boot] OMAP watchdog timer reset on BBB

2019-09-12 Thread Grygorii Strashko
CC: Lokesh On 12/09/2019 16:45, Sam Protsenko wrote: Hi Suniel, After transition to DM WDT, watchdog timer on BeagleBone Black resets the board after 1 minute or so. I'm using this defconfig: [1]. After disabling CONFIG_WDT and CONFIG_WATCHDOG options the board doesn't reset. I guess it might

[U-Boot] [PATCH 6/6] net: ti: cpsw: convert to use dev/ofnode api

2019-09-09 Thread Grygorii Strashko
Conver TI CPSW driver to use dev/ofnode api. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 118 ++ include/cpsw.h| 2 +- 2 files changed, 51 insertions(+), 69 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti

[U-Boot] [PATCH 1/6] net: ti: cpsw: enable 10Mbps link speed support in rgmii mode

2019-09-09 Thread Grygorii Strashko
Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 20ddb44dd8..f0d008f0f5 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/ti/cpsw.c @@ -33,6 +33,7 @@ DECLARE_GLOBAL_DATA_PTR

[U-Boot] [PATCH 3/6] net: ti: cpsw: add support for standard eth "max-speed" dt property

2019-09-09 Thread Grygorii Strashko
This patch adds support for standard Ethernet "max-speed" DT property to allow PHY link speed limitation. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 14 ++ include/cpsw.h| 1 + 2 files changed, 15 insertions(+) diff --git a/drivers/net/ti/cpsw.c

[U-Boot] [PATCH 5/6] net: ti: am65x-cpsw: fix mac tx internal delay for rgmii-rxid mode

2019-09-09 Thread Grygorii Strashko
Now AM65x CPSW2G driver will disable MAC TX internal delay for PHY interface mode "rgmii-rxid" which is incorrect. Hence, fix it by keeping default value (enabled) for MAC TX internal delay when "rgmii-rxid" interface mode is selected. Signed-off-by: Grygorii Strashko ---

[U-Boot] [PATCH 4/6] net: ti: cpsw: fix mac tx internal delay for rgmii-rxid mode

2019-09-09 Thread Grygorii Strashko
Now TI CPSW driver will disable MAC TX internal delay for PHY interface mode "rgmii-rxid" which is incorrect. Hence, fix it by keeping default value (enabled) for MAC TX internal delay when "rgmii-rxid" interface mode is selected. Signed-off-by: Grygorii Strashko --- drive

[U-Boot] [PATCH 2/6] net: ti: cpsw: move parsing of dt port's parameters in separate func

2019-09-09 Thread Grygorii Strashko
Move parsing of dt port's parameters in separate func for better code readability. Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 57 +-- 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti

[U-Boot] [PATCH 0/6] net: ti: net: to: set of fixes and improvements

2019-09-09 Thread Grygorii Strashko
for rgmii-rxid mode Patches 2,6 - are code improvements Grygorii Strashko (6): net: ti: cpsw: enable 10Mbps link speed support in rgmii mode net: ti: cpsw: move parsing of dt port's parameters in separate func net: ti: cpsw: add support for standard eth "max-speed" dt property ne

[U-Boot] [PATCH 3/3] arm: dts: am335x: sync cpsw/mdio/phy with latest linux - drop phy_id

2019-08-31 Thread Grygorii Strashko
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: Grygorii Strashko Cc: Lokesh Vutla Cc: Hannes Schmelzer Cc: Heiko Schocher Cc: Felix Brack Cc: Jean-Jacques Hiblot --- arch/arm/dts/am335x-baltos.dts | 14

[U-Boot] [PATCH 2/3] arm: dts: am437x: sync cpsw/mdio/phy with latest linux - drop phy_id

2019-08-31 Thread Grygorii Strashko
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: Grygorii Strashko Cc: Lokesh Vutla --- arch/arm/dts/am437x-gp-evm.dts | 6 +- arch/arm/dts/am437x-idk-evm.dts | 7 ++- arch/arm/dts/am437x-sk-evm.dts | 12

[U-Boot] [PATCH 1/3] arm: dts: dra7: sync cpsw/mdio/phy with latest linux - drop phy_id

2019-08-31 Thread Grygorii Strashko
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Signed-off-by: Grygorii Strashko Cc: Lokesh Vutla --- arch/arm/dts/am57xx-idk-common.dtsi | 14 -- arch/arm/dts/dra7-evm.dts | 14 -- arch/arm/dts/dra71

[U-Boot] [PATCH 0/3] arm: dts: ti: sync cpsw/mdio/phy with latest linux 1 - drop phy_id

2019-08-31 Thread Grygorii Strashko
Synchronize CPSW/MDIO/PHY DT nodes with latest linux - replace deprecated phy_id property with phy-handle. Grygorii Strashko (3): arm: dts: dra7: sync cpsw/mdio/phy with latest linux - drop phy_id arm: dts: am437x: sync cpsw/mdio/phy with latest linux - drop phy_id arm: dts: am335x: sync

Re: [U-Boot] [PATCH] net: phy: ti: Fix clock output DT property

2019-05-13 Thread Grygorii Strashko
unsigned value, not a > signed value, as the former will cause a problem if value overflows. > For instance, if one were to add 0x as a code to mean the clock > output should be turned off. > > Cc: Joe Hershberger > Cc: Janine Hagemann > Cc: Grygorii Strashko > Signed

Re: [U-Boot] [PATCH] dma: ti: k3-udma: Do not touch RT registers before channel configuration

2019-04-25 Thread Grygorii Strashko
ne before the channel configuration and > move it after the configuration for warning purposes. > > Signed-off-by: Peter Ujfalusi > Signed-off-by: Vignesh Raghavendra > --- > drivers/dma/ti/k3-udma.c | 33 + > 1 file changed, 9 insertions(+), 24 de

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

2019-04-25 Thread Grygorii Strashko
ROM. > > Acked-by: Joe Hershberger > Signed-off-by: Thierry Reding > --- > Changes in v3: > - add additional check to make sure the MAC address read from device > tree is a valid MAC address > > Changes in v2: > - use dev_r

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

2019-04-18 Thread Grygorii Strashko
On 17.04.19 18:03, Thierry Reding wrote: > On Wed, Apr 17, 2019 at 02:49:22PM +0300, Grygorii Strashko wrote: >> >> >> On 16.04.19 19:24, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Add the standard Ethernet device tree bind

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

2019-04-17 Thread Grygorii Strashko
On 16.04.19 19:24, Thierry Reding wrote: > From: Thierry Reding > > Add the standard Ethernet device tree bindings (imported from v5.0 of > the Linux kernel) and implement support for reading the MAC address for > Ethernet devices in the Ethernet uclass. If the "mac-address" property > exists,

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

2019-02-19 Thread Grygorii Strashko
On 18.02.19 18:28, 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 --- drivers/net/ti/keystone_net.c | 22 +- 1 file changed, 21 insertions(+),

Re: [U-Boot] [PATCH v9 0/3] dma: add channels support

2018-11-30 Thread Grygorii Strashko
will be out unresponsive next few month due to personal reasons, but hope this will be moved forward eventually. > > === > > v9: Separate generic dma channels support from bmips enet support > v8: Sync with latest u-boot. > v7: From Grygorii Strashko: > - copyright fixed as

[U-Boot] [PATCH v7 3/5] test: dma: add dma-uclass test

2018-11-10 Thread Grygorii Strashko
Add a sandbox DMA driver implementation (provider) and corresponding DM test. Reviewed-by: Tom Rini Signed-off-by: Grygorii Strashko --- arch/sandbox/dts/test.dts | 8 ++ configs/sandbox_defconfig | 3 + drivers/dma/Kconfig| 7 + drivers/dma/Makefile | 1

[U-Boot] [NOT-FOR-MERGE-PATCH PATCH v7 4/5] dma: ti: add driver to K3 UDMA

2018-11-10 Thread Grygorii Strashko
From: Vignesh R Add support for K3 AM65x UDMA with only support pktmode MEM_TO_MEM transfers and DEV_TO_MEM/MEM_TO_DEV through DMA channels. Signed-off-by: Peter Ujfalusi Signed-off-by: Grygorii Strashko --- drivers/dma/Kconfig |2 + drivers/dma/Makefile |2

[U-Boot] [NOT-FOR-MERGE-PATCH PATCH v7 5/5] net: ethernet: ti: introduce am654 gigabit eth switch subsystem driver

2018-11-10 Thread Grygorii Strashko
interfaces and an internal Communications Port Programming Interface (CPPI) port (Host port 0). Host Port 0 CPPI Packet Streaming Interface interface supports 8 TX channels and on RX channels operating by TI am654 NAVSS Unified DMA Peripheral Root Complex (UDMA-P) controller. Signed-off-by: Grygorii

[U-Boot] [PATCH v7 0/5] dma: add channels support

2018-11-10 Thread Grygorii Strashko
ext], RX_BUF_SIZE); changes in v7: - copyright fixed as suggested by Tom Rini - added "Reviewed-by" tags v1: http://patchwork.ozlabs.org/cover/987948/ Grygorii Strashko (2): test: dma: add dma-uclass test net: ethernet: ti: introduce am654 gigabit eth sw

[U-Boot] [PATCH v7 2/5] dma: add channels support

2018-11-10 Thread Grygorii Strashko
() dma_prepare_rcv_buf() dma_receive() dma_send() Reviewed-by: Tom Rini Signed-off-by: Álvaro Fernández Rojas [grygorii.stras...@ti.com: drop unused dma_get_by_index_platdata(), add metadata to send/receive ops, add dma_prepare_rcv_buf(), minor clean up] Signed-off-by: Grygorii Strashko --- drivers/dma

[U-Boot] [PATCH v7 1/5] dma: move dma_ops to dma-uclass.h

2018-11-10 Thread Grygorii Strashko
From: Álvaro Fernández Rojas Move dma_ops to a separate header file, following other uclass implementations. While doing so, this patch also improves dma_ops documentation. Reviewed-by: Tom Rini Reviewed-by: Simon Glass Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Grygorii Strashko

[U-Boot] [PATCH v3 0/7] driver: net: ti: clean up and code optimization

2018-10-31 Thread Grygorii Strashko
. Unfortunately, I have no HW to work with. Grygorii Strashko (7): driver: net: consolidate ti's code in separate folder configs: net: convert DRIVER_TI_KEYSTONE_NET kconfig drivers: net: keystone_net: drop non dm code driver: net: ti: cpsw: update to use SPDX identifier driver: net: ti

[U-Boot] [PATCH v3 2/7] configs: net: convert DRIVER_TI_KEYSTONE_NET kconfig

2018-10-31 Thread Grygorii Strashko
Convert DRIVER_TI_KEYSTONE_NET to Kconfig. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- configs/k2e_evm_defconfig| 1 + configs/k2e_hs_evm_defconfig | 1 + configs/k2g_evm_defconfig| 1 + configs/k2g_hs_evm_defconfig

[U-Boot] [PATCH v3 4/7] driver: net: ti: cpsw: update to use SPDX identifier

2018-10-31 Thread Grygorii Strashko
Update to use SPDX license identifier. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 8e2a48c

[U-Boot] [PATCH v3 1/7] driver: net: consolidate ti's code in separate folder

2018-10-31 Thread Grygorii Strashko
Add drivers/net/ti/ folder and move all TI's code in this folder for better maintenance. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- arch/arm/mach-davinci/dp83848.c | 2 +- arch/arm/mach-davinci/et1011c.c | 2 +- arch/arm/mach-davinci/ksz8873

[U-Boot] [PATCH v3 7/7] driver: net: ti: keystone_net: switch to use common mdio lib

2018-10-31 Thread Grygorii Strashko
Update TI Keystone 2 driver to re-use common mdio lib. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common/keystone_net.h | 13 --- drivers/net/ti/Makefile | 2 +- drivers/net/ti/keystone_net.c

[U-Boot] [PATCH v3 6/7] driver: net: ti: cpsw: switch to use common mdio lib

2018-10-31 Thread Grygorii Strashko
Update TI CPSW driver to re-use common mdio lib Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- drivers/net/ti/cpsw.c | 134 +++--- 1 file changed, 6 insertions(+), 128 deletions(-) diff --git a/drivers/net/ti

[U-Boot] [PATCH v3 3/7] drivers: net: keystone_net: drop non dm code

2018-10-31 Thread Grygorii Strashko
Networking support for all TI K2 boards converted to use DM model and CONFIG_DM_ETH enabled in all corresponding defconfig files, hence drop unused non DM K2 networking code. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common

[U-Boot] [PATCH v3 5/7] driver: net: ti: introduce common mdio support library

2018-10-31 Thread Grygorii Strashko
All existing TI SoCs network HW have similar MDIO implementation, so introduce common mdio support library which can be reused by TI networking drivers. Reviewed-by: Tom Rini Signed-off-by: Grygorii Strashko --- drivers/net/ti/Makefile| 2 +- drivers/net/ti/cpsw_mdio.c | 203

[U-Boot] [PATCH v2 3/7] drivers: net: keystone_net: drop non dm code

2018-10-31 Thread Grygorii Strashko
Networking support for all TI K2 boards converted to use DM model and CONFIG_DM_ETH enabled in all corresponding defconfig files, hence drop unused non DM K2 networking code. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common

[U-Boot] [PATCH v2 5/7] driver: net: ti: introduce common mdio support library

2018-10-31 Thread Grygorii Strashko
All existing TI SoCs network HW have similar MDIO implementation, so introduce common mdio support library which can be reused by TI networking drivers. Reviewed-by: Tom Rini Signed-off-by: Grygorii Strashko --- drivers/net/ti/Makefile| 2 +- drivers/net/ti/cpsw_mdio.c | 201

[U-Boot] [PATCH v2 2/7] configs: net: convert DRIVER_TI_KEYSTONE_NET kconfig

2018-10-31 Thread Grygorii Strashko
Convert DRIVER_TI_KEYSTONE_NET to Kconfig. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- configs/k2e_evm_defconfig| 1 + configs/k2e_hs_evm_defconfig | 1 + configs/k2g_evm_defconfig| 1 + configs/k2g_hs_evm_defconfig

[U-Boot] [PATCH v2 0/7] driver: net: ti: clean up and code optimization

2018-10-31 Thread Grygorii Strashko
, mdio_free TODO: TODO: As per code and documentation davinci_emac.c seems also can be re-worked to use common TI MDIO support library and network PHYs framework. Unfortunately, I have no HW to work with. Grygorii Strashko (7): driver: net: consolidate ti's code in separate folder configs: net

[U-Boot] [PATCH v2 7/7] driver: net: ti: keystone_net: switch to use common mdio lib

2018-10-31 Thread Grygorii Strashko
Update TI Keystone 2 driver to re-use common mdio lib. Reviewed-by: Tom Rini Acked-by: Joe Hershberger Signed-off-by: Grygorii Strashko --- arch/arm/include/asm/ti-common/keystone_net.h | 13 --- drivers/net/ti/Makefile | 2 +- drivers/net/ti/keystone_net.c

  1   2   3   >