[U-Boot] [PATCH 09/10] configs: am65x_evm_r5_defconfig: Enable TPS62363 regulator support

2019-10-14 Thread Keerthy
From: Tero Kristo TPS62363 is used to control the MPU_VDD voltage, so enable the driver for this. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs

[U-Boot] [PATCH 08/10] arm: dts: k3-am654-r5-base-board: enable wkup_vtm0 node and link in supplies

2019-10-14 Thread Keerthy
From: Tero Kristo Link the vdd-supplies for the voltage domains under the VTM node. Also, enable the node under SPL. This will enable the AVS class 0 support on am65x-evm board. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 6 ++ 1 file

[U-Boot] [PATCH 10/10] configs: am65x_evm_r5_defconfig: Enable AVS class 0 support

2019-10-14 Thread Keerthy
From: Tero Kristo Enable AVS class 0 support for the R5 SPL bootloader. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- configs/am65x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_r5_defconfig b/configs/am65x_evm_r5_defconfig index a721b24ba4

[U-Boot] [PATCH 06/10] arm: dts: k3-am654-r5-base-board: enable wkup_i2c0 driver for spl

2019-10-14 Thread Keerthy
From: Tero Kristo Enable wkup_i2c0 as this is needed for voltage control. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base

[U-Boot] [PATCH 07/10] arm: dts: k3-am654-r5-base-board: add supply rail for MPU

2019-10-14 Thread Keerthy
From: Tero Kristo MPU voltage on AM65x-evm is controlled via the TPS62363 chip attached to i2c0 bus. Add device node for this so that it can be controlled via a regulator driver. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am654-r5-base-board.dts | 13

[U-Boot] [PATCH 05/10] arm: dts: k3-am65: Add VTM node

2019-10-14 Thread Keerthy
From: Tero Kristo Add VTM node for voltage and thermal management. For u-boot, this is needed for supporting AVS class 0, as the efuse values for the OPPs are stored under the VTM. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-wakeup.dtsi | 7 +++ 1 file

[U-Boot] [PATCH 02/10] arm: mach-k3: am6_init: Initialize AVS class 0

2019-10-14 Thread Keerthy
Initialize AVS class 0 so that mpu voltage rail is programmed to the AVS class 0 compensated value. Signed-off-by: Keerthy --- arch/arm/mach-k3/am6_init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-k3/am6_init.c b/arch/arm/mach-k3/am6_init.c index 0b564f7bd1

[U-Boot] [PATCH 04/10] power: regulator: tps6236x: add support for tps6236x regulators

2019-10-14 Thread Keerthy
From: Tero Kristo TPS6236x is a family of step down DC-DC converters optimized for battery powered portable applications for a small solution size. Add a regulator driver for supporting these devices. Signed-off-by: Tero Kristo Signed-off-by: Keerthy --- drivers/power/regulator/Kconfig

[U-Boot] [PATCH 03/10] clk: clk-ti-sci: Notify AVS driver upon setting clock rate

2019-10-14 Thread Keerthy
Notify AVS driver upon setting clock rate so that voltage is changed accordingly. Signed-off-by: Keerthy --- drivers/clk/clk-ti-sci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/clk-ti-sci.c b/drivers/clk/clk-ti-sci.c index c25415d410..478349f22f 100644 --- a/drivers

[U-Boot] [PATCH 01/10] power: add driver for K3 Adaptive Voltage Scaling Class 0

2019-10-14 Thread Keerthy
-by: Keerthy --- drivers/Makefile | 2 +- drivers/power/Kconfig | 9 + drivers/power/mfd/Makefile | 1 + drivers/power/mfd/k3_avs.c | 371 + include/dm/uclass-id.h | 1 + include/k3-avs.h | 28 +++ 6 files changed, 411

[U-Boot] [PATCH 00/10] power: Add AVS class 0 support for AM6

2019-10-14 Thread Keerthy
voltage values for a particular OPP of a particular voltage domain are read from Efuse and programmed on the pmic/regulator. Tested on AM654-EVM for MPU @800 MHz. Keerthy (2): arm: mach-k3: am6_init: Initialize AVS class 0 clk: clk-ti-sci: Notify AVS driver upon setting clock rate Tero

Re: [U-Boot] [PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-19 Thread Keerthy
On 19/08/19 3:54 PM, Eugeniu Rosca wrote: Hi Keerthy, On Wed, Aug 14, 2019 at 03:56:48PM +0530, Keerthy wrote: Currently the size parameter is defined as u64 type. Correct the size type of of_get_address to fdt_size_t so that both 64 bit and 32 bit architectures are taken care

[U-Boot] [PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-14 Thread Keerthy
: Add ofnode_get_addr_size_index") Reported-by: Eugeniu Rosca Tested-by: Eugeniu Rosca Signed-off-by: Keerthy --- Changes from RFT: * Fixed a typo in the commit log. * Added Reported-by: Eugeniu Rosca Tested-by: Eugeniu Rosca drivers/core/of_addr.c | 4 ++-- drivers/core/ofn

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-08-14 Thread Keerthy
On 14/08/19 3:17 PM, Eugeniu Rosca wrote: Hi Keerthy, On Wed, Aug 14, 2019 at 01:53:50PM +0530, Keerthy wrote: Eugeniu, Could you kindly help me with the steps to reproduce the issue? Sure. My pleasure. See [0]. I am sending out a fix patch to convert all the size instances

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-08-14 Thread Keerthy
On 13/08/19 3:25 PM, Keerthy wrote: On 13/08/19 3:03 PM, Simon Glass wrote: Hi Keethy, On Tue, 9 Jul 2019 at 13:38, Eugeniu Rosca wrote: Hi All, On Wed, Apr 24, 2019 at 05:19:53PM +0530, Keerthy wrote: Add ofnode_get_addr_size_index function to fetch the address and size of the reg

[U-Boot] [RFT PATCH] core: of_addr: Correct the size type of of_get_address to fdt_size_t

2019-08-14 Thread Keerthy
Currently the size parameter is deined as u64 type. Correct the size type of of_get_address to fdt_size_t so that both 64 bit and 32 bit architectures are taken care of. Signed-off-by: Keerthy --- drivers/core/of_addr.c | 4 ++-- drivers/core/ofnode.c | 2 +- include/dm/of_addr.h | 2 +- 3

Re: [U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-13 Thread Keerthy
On 13/08/19 3:04 PM, Simon Glass wrote: Hi Keerthy, On Tue, 6 Aug 2019 at 04:38, Keerthy wrote: Introduce misc_init_by_ofnode to probe a misc device using its ofnode. What is the purpose of this? All patches should have a motivation. Okay. I will add more details in the commit log

Re: [U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-08-13 Thread Keerthy
On 13/08/19 3:03 PM, Simon Glass wrote: Hi Keethy, On Tue, 9 Jul 2019 at 13:38, Eugeniu Rosca wrote: Hi All, On Wed, Apr 24, 2019 at 05:19:53PM +0530, Keerthy wrote: Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off

[U-Boot] [PATCH 11/14] arm: dts: k3-am65-main: Add pruss nodes for ICSSG2

2019-08-06 Thread Keerthy
Add pruss nodes. Add nodes as in the 4.19 integration kernel. Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-main.dtsi | 183 + 1 file changed, 183 insertions(+) diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi index 0cd3e5e606

[U-Boot] [PATCH 14/14] configs: am65x_evm_a53_defconfig: Enable CONFIG_CMD_REMOTEPROC

2019-08-06 Thread Keerthy
Enable CONFIG_CMD_REMOTEPROC needed to load prueth firmwares. Signed-off-by: Keerthy --- configs/am65x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index dfb5bec794..a127610380 100644 --- a/configs

[U-Boot] [PATCH 12/14] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support

2019-08-06 Thread Keerthy
-by: Keerthy --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 118 +++ 1 file changed, 118 insertions(+) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi index 71a7069e74..53399dfff6 100644 --- a/arch/arm/dts/k3-am654-base

[U-Boot] [PATCH 10/14] arm: dts: k3-am65-main: Add scm_conf node

2019-08-06 Thread Keerthy
Add scm_conf node needed for prueth. Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-main.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi index 8e2a506185..0cd3e5e606 100644 --- a/arch/arm/dts/k3-am65-main.dtsi

[U-Boot] [PATCH 08/14] arm: dts: k3-am65-main: Add msmc_ram node

2019-08-06 Thread Keerthy
Add msmc_ram node needed for prueth Signed-off-by: Keerthy --- arch/arm/dts/k3-am65-main.dtsi | 21 + arch/arm/dts/k3-am65.dtsi | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-am65-main.dtsi b/arch/arm/dts/k3-am65-main.dtsi

[U-Boot] [PATCH 13/14] configs: am65x_evm_a53_defconfig: Enable CONFIG_REMOTEPROC_TI_PRU

2019-08-06 Thread Keerthy
Enable CONFIG_REMOTEPROC_TI_PRU and related configs. With that enable ICSSG_PRUETH config. Signed-off-by: Keerthy --- configs/am65x_evm_a53_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index d43df6a187

[U-Boot] [PATCH 07/14] net: ti: icssg-prueth: Workaround to shutdown the prueth firmware

2019-08-06 Thread Keerthy
Currently shutdown command is yet to be implemented. So work around clearing the task manager of ICSSG. Signed-off-by: Keerthy --- drivers/net/ti/icssg-prueth.c | 8 drivers/soc/ti/pruss.c| 15 +++ include/ti-pruss.h| 1 + 3 files changed, 24

[U-Boot] [PATCH 06/14] net: ti: icssg-prueth: Add ICSSG ethernet driver

2019-08-06 Thread Keerthy
for rtu0 of slice0 am65x-pru1-prueth-fw.elf for pru1 of slice1 am65x-rtu1-prueth-fw.elf for rtu1 of slice1 One and exactly one of the slices is supported as the u-boot ethernet supports probing one interface at a time. Signed-off-by: Keerthy --- drivers/net/ti/Kconfig| 8 + drivers/net

[U-Boot] [PATCH 09/14] arm: dts: k3-am654-base-board-u-boot: Add icssg specific msmc_ram carveout nodes

2019-08-06 Thread Keerthy
Add icssg specific msmc_ram carveout nodes Signed-off-by: Keerthy --- Carving out as there is no msmc-ram driver. Suggestions welcome. arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b

[U-Boot] [PATCH 05/14] remoteproc: pruss: add PRU remoteproc driver

2019-08-06 Thread Keerthy
Signed-off-by: Keerthy --- drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile| 1 + drivers/remoteproc/pru_rproc.c | 384 + 3 files changed, 396 insertions(+) create mode 100644 drivers/remoteproc/pru_rproc.c diff --git a/drivers/remoteproc

[U-Boot] [PATCH 04/14] soc: ti: pruss: add a misc driver for PRUSS in TI SoCs

2019-08-06 Thread Keerthy
support for pruss driver. Currently am654x family is supported. Signed-off-by: Keerthy --- drivers/soc/ti/Kconfig | 13 drivers/soc/ti/Makefile | 1 + drivers/soc/ti/pruss.c | 128 include/ti-pruss.h | 12 4 files changed, 154

[U-Boot] [PATCH 01/14] net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order

2019-08-06 Thread Keerthy
In case of multiple eth interfaces currently eth_get_dev fetches the device based on the probe order which can be random hence try with the alias. Signed-off-by: Keerthy --- net/eth-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/eth-uclass.c b/net/eth

[U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-06 Thread Keerthy
Introduce misc_init_by_ofnode to probe a misc device using its ofnode. Signed-off-by: Keerthy --- drivers/misc/misc-uclass.c | 25 + include/misc.h | 9 + 2 files changed, 34 insertions(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc

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

2019-08-06 Thread Keerthy
Currently stop is being called unconditionally without even checking if start is called which will result in crash where multiple instances are present and stop gets called even without calling start. Signed-off-by: Keerthy --- net/eth-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH 00/14] net: ti: icssg: Add prueth support

2019-08-06 Thread Keerthy
are supported per instance. So DT of prueth node should have either ethernet-mii0 or ethernet-mii1. Keerthy (14): net: eth-uclass: eth_get_dev based on SEQ_ALIAS instead of probe order net: eth-uclass: call stop only for active devices misc: uclass: Introduce misc_init_by_ofnode soc: ti: pruss: add

[U-Boot] [PATCH] doc: arch: sandbox: Replace all the instances of README.sandbox

2019-07-29 Thread Keerthy
commit 49116e6d236d ("doc: arch: Convert README.sandbox to reST") Moves README.sandbox to doc/arch. Replace all the existing instances to point to the right documentation file. Signed-off-by: Keerthy --- README | 2 +- arch/sandbox/include/asm/spi.h |

Re: [U-Boot] [PATCH v6 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-07-09 Thread Keerthy
On 09/07/19 6:29 PM, Alex Kiernan wrote: On Tue, Jul 9, 2019 at 6:01 AM Keerthy wrote: Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom

Re: [U-Boot] [PATCH v6 5/5] configs: am65x_evm_a53: enable networking

2019-07-09 Thread Keerthy
On 09/07/19 12:00 PM, Lokesh Vutla wrote: On 09/07/19 10:30 AM, Keerthy wrote: From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Removed unused

[U-Boot] [PATCH v6 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-07-08 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack. arch/arm/dts/k3-am65.dtsi

[U-Boot] [PATCH v6 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-07-08 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack. arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59

[U-Boot] [PATCH v6 5/5] configs: am65x_evm_a53: enable networking

2019-07-08 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Removed unused HEXDUMP config. * Added Joe's Ack. configs/am65x_evm_a53_defconfig | 6 ++ 1

[U-Boot] [PATCH v6 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
Strashko Signed-off-by: Keerthy --- Changes in v6: * Removed redundant #ifdef on DM_ETH * Corrected a typo in dev_err. drivers/net/ti/Kconfig | 8 + drivers/net/ti/Makefile | 1 + drivers/net/ti/am65-cpsw-nuss.c | 792 3 files changed

[U-Boot] [PATCH v6 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
build warnings corrected them. Grygorii Strashko (3): arm64: dts: ti: k3-am65: add mcu cpsw node arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs configs: am65x_evm_a53: enable networking Keerthy (2): driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr net

[U-Boot] [PATCH v6 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-07-08 Thread Keerthy
Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v6: * Added Joe's Ack. drivers/net/ti

Re: [U-Boot] [PATCH v5 5/5] configs: am65x_evm_a53: enable networking

2019-07-08 Thread Keerthy
On 09/07/19 4:27 AM, Joe Hershberger wrote: On Thu, Jun 6, 2019 at 7:15 AM Keerthy wrote: From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini Question below, but... Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v5 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-08 Thread Keerthy
On 09/07/19 3:52 AM, Joe Hershberger wrote: On Thu, Jun 6, 2019 at 7:14 AM Keerthy wrote: From: Grygorii Strashko Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can

Re: [U-Boot] [PATCH v5 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-07-01 Thread Keerthy
On 06/06/19 5:43 PM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media

Re: [U-Boot] pre_probe under struct driver

2019-06-24 Thread Keerthy
On 23/06/19 12:40 AM, Simon Glass wrote: Hi Keerthy, On Tue, 4 Jun 2019 at 14:01, Keerthy wrote: Hi Simon/Tom, I am looking at the device_probe function in drivers/core/device.c ret = uclass_pre_probe_device(dev); if (ret) goto fail; if (dev->par

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-07 Thread Keerthy
On 07/06/19 7:02 AM, Tom Rini wrote: On Thu, Jun 06, 2019 at 05:08:16PM +0530, Keerthy wrote: On 02/05/19 11:14 AM, Keerthy wrote: On 30/04/19 11:57 AM, Keerthy wrote: On 30/04/19 11:54 AM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW

[U-Boot] [PATCH v5 5/5] configs: am65x_evm_a53: enable networking

2019-06-06 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v5 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-06-06 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am65.dtsi| 2 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi

[U-Boot] [PATCH v5 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy --- drivers/net/ti/Kconfig | 8 + drivers/net/ti/Makefile | 1 + drivers/net/ti/am65-cpsw-nuss.c | 794 3 files changed, 803 insertions(+) create mode 100644 drivers/net/ti/am65-cpsw

[U-Boot] [PATCH v5 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-06-06 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH v5 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
: ti: k3-am65: add mcu cpsw node arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs configs: am65x_evm_a53: enable networking Keerthy (1): driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr arch/arm/dts/k3-am65.dtsi| 2 + arch/arm/dts/k3

[U-Boot] [PATCH v5 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-06-06 Thread Keerthy
Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- drivers/net/ti/cpsw_mdio.c | 4 ++-- drivers/net/ti/cpsw_mdio.h | 2 +- 2 files

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-06-06 Thread Keerthy
On 02/05/19 11:14 AM, Keerthy wrote: On 30/04/19 11:57 AM, Keerthy wrote: On 30/04/19 11:54 AM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can

[U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565

2019-06-06 Thread Keerthy
Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the regulator support in SPL. Signed-off-by: Keerthy --- Changes in v3: * As per Tom's comments added

[U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565

2019-06-06 Thread Keerthy
Add SPL_PMIC configs for palmas/lp873x/lp87565. These were missing and the Makefile already assumes them to be defined. Add the corresponding SPL config options. This enables the pmics in SPL. Signed-off-by: Keerthy --- Changes in v3: * As per Tom's comments added the SPL_* configs instead

[U-Boot] pre_probe under struct driver

2019-06-04 Thread Keerthy
d. Neither uclass_pre_probe_device nor dev->parent->driver->child_pre_probe benefit me in this case. Does my situation warrant adding a new hook to struct driver? Or are there instances of such handling already in u-boot. Thanks in Advance, Keerthy

Re: [U-Boot] [PATCH v2 1/2] power: pmic: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-30 Thread keerthy
On 5/30/2019 10:44 PM, Tom Rini wrote: On Thu, May 30, 2019 at 09:58:27AM +0530, Keerthy wrote: Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/pmic/Makefile | 6 +++--- 1 file changed

[U-Boot] [PATCH v2 2/2] power: regulator: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-29 Thread Keerthy
Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/regulator/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/regulator/Makefile b/drivers/power

[U-Boot] [PATCH v2 1/2] power: pmic: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-29 Thread Keerthy
Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/pmic/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile

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

2019-05-02 Thread Keerthy
(-) Reviewed-by: Grygorii Strashko Tom, This is needed for cpsw to work am65. Please pull this patch. Thanks, Keerthy ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-05-01 Thread Keerthy
On 30/04/19 11:57 AM, Keerthy wrote: On 30/04/19 11:54 AM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS

Re: [U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-04-30 Thread Keerthy
On 30/04/19 11:54 AM, Keerthy wrote: Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media

[U-Boot] [PATCH v4 5/5] configs: am65x_evm_a53: enable networking

2019-04-30 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs

[U-Boot] [PATCH v4 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-04-30 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH v4 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-04-30 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/dts/k3-am65.dtsi| 2 + arch/arm/dts/k3-am654-base-board-u-boot.dtsi

[U-Boot] [PATCH v4 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-04-30 Thread Keerthy
. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy --- drivers/net/ti/Kconfig | 8 + drivers/net/ti/Makefile | 1 + drivers/net/ti/am65-cpsw-nuss.c | 794 3 files changed, 803 insertions(+) create mode 100644 drivers/net/ti/am65-cpsw

[U-Boot] [PATCH v4 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-04-30 Thread Keerthy
Use phys_addr_t for mdio_base address to avoid build warnings on arm64 and dra7. Cast it to uintprt_t before assigning to regs. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v4: * Fixed the compiler warning. drivers/net/ti/cpsw_mdio.c | 4

[U-Boot] [PATCH v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-04-30 Thread Keerthy
and booting to kernel on am654-evm. Grygorii Strashko (4): net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs configs: am65x_evm_a53: enable networking arm64: dts: ti: k3-am65: add mcu cpsw node Keerthy (1

[U-Boot] [PATCH v2 5/6] arm: mach-omap2: am33xx: ddr: update value for ext_phy_ctrl_36

2019-04-28 Thread Keerthy
From: Brad Griffis for suspend/resume robustness update value for ext_phy_ctrl_36 for suspend/resume robustness with hardware leveling enabled. Match recommended values from EMIF Tools app note: http://www.ti.com/lit/an/sprac70/sprac70.pdf Signed-off-by: Brad Griffis Signed-off-by: Keerthy

[U-Boot] [PATCH v2 1/6] arm: mach-omap2: am33xx: ddr: programming of EXT_PHY_CTRL1 and EXT_PHY_CTRL1_SHADOW

2019-04-28 Thread Keerthy
From: Brad Griffis Adjust DQS skew in case where invert_clkout=1 is used. Match recommended values from EMIF Tools app note: http://www.ti.com/lit/an/sprac70/sprac70.pdf Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/ddr.c | 12 ++-- 1 file changed

[U-Boot] [PATCH v2 6/6] board: ti: am43xx: Enable hardware leveling

2019-04-28 Thread Keerthy
From: Brad Griffis Remove the RDLVL_MASK, RDLVLGATE_MASK, WRLVL_MASK & enable PHY_INVERT_CLKOUT to enable Hardware leveling for am437x as recommended by EMIF Tools app note: http://www.ti.com/lit/an/sprac70/sprac70.pdf Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- board/ti/am

[U-Boot] [PATCH v2 2/6] arm: mach-omap2: am33xx: ddr: Add 1ms delay to avoid L3 error

2019-04-28 Thread Keerthy
From: Brad Griffis Add 1ms delay to avoid L3 timeout error during suspend resume. Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/ddr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx/ddr.c b/arch/arm/mach-omap2/am33xx/ddr.c

[U-Boot] [PATCH v2 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-28 Thread Keerthy
The series adds the support for hardware leveling. This needs the kernel to be patched with hardware leveling support and the kernel support is already in linux-next: https://patchwork.kernel.org/project/linux-omap/list/?series=100273 Match recommended values from EMIF Tools app note:

[U-Boot] [PATCH v2 3/6] arm: mach-omap2: am33xx: Enable HW Leveling in the rtc+ddr path

2019-04-28 Thread Keerthy
From: Brad Griffis Enable HW leveling in RTC+DDR path. The mandate is to enable HW leveling bit and then wait for 1 ms before accessing any register. Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/board.c | 30 +- 1 file changed

[U-Boot] [PATCH v2 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-28 Thread Keerthy
From: Brad Griffis In case of RTC+DDR resume, need to restore EMIF context before initiating hardware leveling. Signed-off-by: Brad Griffis [j-keer...@ti.com Fixed the am335x build issues] Signed-off-by: Keerthy --- Changes in v2: * Added the am43xx specific changes under #ifdef arch

Re: [U-Boot] [U-Boot, 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-26 Thread Keerthy
On 26/04/19 10:16 PM, Tom Rini wrote: On Fri, Apr 26, 2019 at 10:14:40PM +0530, Keerthy wrote: On 26/04/19 6:25 PM, Tom Rini wrote: On Fri, Apr 26, 2019 at 05:23:28PM +0530, Lokesh Vutla wrote: On 26/04/19 4:46 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:18PM +0530, Keerthy wrote

Re: [U-Boot] [U-Boot, 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-26 Thread Keerthy
On 26/04/19 6:25 PM, Tom Rini wrote: On Fri, Apr 26, 2019 at 05:23:28PM +0530, Lokesh Vutla wrote: On 26/04/19 4:46 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:18PM +0530, Keerthy wrote: From: Brad Griffis In case of RTC+DDR resume, need to restore EMIF context before initiating

Re: [U-Boot] [U-Boot, 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-26 Thread Keerthy
On 26/04/19 5:23 PM, Lokesh Vutla wrote: On 26/04/19 4:46 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:18PM +0530, Keerthy wrote: From: Brad Griffis In case of RTC+DDR resume, need to restore EMIF context before initiating hardware leveling. Signed-off-by: Brad Griffis Signed-off

Re: [U-Boot] [U-Boot, 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-26 Thread Keerthy
On 26/04/19 4:46 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:18PM +0530, Keerthy wrote: From: Brad Griffis In case of RTC+DDR resume, need to restore EMIF context before initiating hardware leveling. Signed-off-by: Brad Griffis Signed-off-by: Keerthy This part off the series

[U-Boot] [RESEND PATCH] core: ofnode: Add ofnode_get_addr_size_index

2019-04-24 Thread Keerthy
Add ofnode_get_addr_size_index function to fetch the address and size of the reg space based on index. Signed-off-by: Keerthy --- Previous discussion can be found here: * https://patchwork.ozlabs.org/patch/999659/ drivers/core/ofnode.c | 13 ++--- include/dm/ofnode.h | 14

[U-Boot] [PATCH] misc: uclass: Introduce misc_init_by_ofnode

2019-04-24 Thread Keerthy
Introduce misc_init_by_ofnode to probe a misc device using its ofnode. Signed-off-by: Keerthy --- drivers/misc/misc-uclass.c | 25 + include/misc.h | 9 + 2 files changed, 34 insertions(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc

[U-Boot] [PATCH] drivers: dma: ti: k3-udma: Extract packet data only when Meta data is not NULL

2019-04-24 Thread Keerthy
Currently packet data is wrongly extracted when metadata is NULL. Fix it and negate the if check. Signed-off-by: Keerthy Reviewed-by: Grygorii Strashko --- drivers/dma/ti/k3-udma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-15 Thread Keerthy
On 15/04/19 4:58 PM, Tom Rini wrote: On Mon, Apr 15, 2019 at 12:22:22PM +0300, Tero Kristo wrote: On 15/04/2019 11:56, Keerthy wrote: On 15/04/19 7:43 AM, keerthy wrote: On 4/15/2019 6:35 AM, Tom Rini wrote: On Mon, Apr 15, 2019 at 06:19:31AM +0530, keerthy wrote: On 4/13/2019 6:32

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-15 Thread Keerthy
On 15/04/19 7:43 AM, keerthy wrote: On 4/15/2019 6:35 AM, Tom Rini wrote: On Mon, Apr 15, 2019 at 06:19:31AM +0530, keerthy wrote: On 4/13/2019 6:32 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: The series adds the support for hardware leveling

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-14 Thread keerthy
On 4/15/2019 6:35 AM, Tom Rini wrote: On Mon, Apr 15, 2019 at 06:19:31AM +0530, keerthy wrote: On 4/13/2019 6:32 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: The series adds the support for hardware leveling. This needs the kernel to be patched

Re: [U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-14 Thread keerthy
On 4/13/2019 6:32 PM, Tom Rini wrote: On Fri, Apr 12, 2019 at 12:08:14PM +0530, Keerthy wrote: The series adds the support for hardware leveling. This needs the kernel to be patched with hardware leveling support and the kernel support is already in linux-next: https://patchwork.kernel.org

[U-Boot] [PATCH 5/6] arm: mach-omap2: am33xx: ddr: update value for ext_phy_ctrl_36

2019-04-12 Thread Keerthy
From: Brad Griffis for suspend/resume robustness update value for ext_phy_ctrl_36 for suspend/resume robustness with hardware leveling enabled. Match recommended values from EMIF Tools app note: http://www.ti.com/lit/an/sprac70/sprac70.pdf Signed-off-by: Brad Griffis Signed-off-by: Keerthy

[U-Boot] [PATCH 6/6] board: ti: am43xx: Enable hardware leveling

2019-04-12 Thread Keerthy
From: Brad Griffis Remove the RDLVL_MASK, RDLVLGATE_MASK, WRLVL_MASK & enable PHY_INVERT_CLKOUT to enable Hardware leveling for am437x as recommended by EMIF Tools app note: http://www.ti.com/sprac70 Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- board/ti/am43xx/board.c | 2 +

[U-Boot] [PATCH 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-12 Thread Keerthy
From: Brad Griffis In case of RTC+DDR resume, need to restore EMIF context before initiating hardware leveling. Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/board.c | 3 --- arch/arm/mach-omap2/am33xx/ddr.c | 10 ++ 2 files changed, 10

[U-Boot] [PATCH 2/6] arm: mach-omap2: am33xx: ddr: Add 1ms delay to avoid L3 error

2019-04-12 Thread Keerthy
From: Brad Griffis Add 1ms delay to avoid L3 timeout error during suspend resume. Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/ddr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx/ddr.c b/arch/arm/mach-omap2/am33xx/ddr.c

[U-Boot] [PATCH 3/6] arm: mach-omap2: am33xx: Enable HW Leveling in the rtc+ddr path

2019-04-12 Thread Keerthy
From: Brad Griffis Enable HW leveling in RTC+DDR path. The mandate is to enable HW leveling bit and then wait for 1 ms before accessing any register. Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/board.c | 30 +- 1 file changed

[U-Boot] [PATCH 1/6] arm: mach-omap2: am33xx: ddr: programming of EXT_PHY_CTRL1 and EXT_PHY_CTRL1_SHADOW

2019-04-12 Thread Keerthy
From: Brad Griffis Adjust DQS skew in case where invert_clkout=1 is used. Match recommended values from EMIF Tools app note: http://www.ti.com/lit/an/sprac70/sprac70.pdf Signed-off-by: Brad Griffis Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/ddr.c | 12 ++-- 1 file changed

[U-Boot] [PATCH 0/6] board: ti: am43xx: Enable hardware leveling

2019-04-12 Thread Keerthy
The series adds the support for hardware leveling. This needs the kernel to be patched with hardware leveling support and the kernel support is already in linux-next: https://patchwork.kernel.org/project/linux-omap/list/?series=100273 Match recommended values from EMIF Tools app note:

Re: [U-Boot] [RFC PATCH] common: fdt_support: Remove fdt_add_mem_rsv in fdt_shrink_to_minimum

2019-04-11 Thread keerthy
On 4/12/2019 7:39 AM, Simon Glass wrote: Hi Keerthy, On Wed, 30 Jan 2019 at 06:41, Keerthy wrote: With introduction of commit: a156c47e39ad: tftp: prevent overwriting reserved memory tftp with loadaddr is failing for Images of the size bigger than SPL. The issue is that SPL image

Re: [U-Boot] [PATCH v2 2/3] ARM: dts: dra71-evm: Correct evm_sd regulator max voltage

2019-04-05 Thread keerthy
On 4/5/2019 2:18 PM, Faiz Abbas wrote: Correct vpo_sd_1v8_3v3 regulator max voltage to 3.3V Reviewed-by: Keerthy Signed-off-by: Faiz Abbas --- arch/arm/dts/dra71-evm.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/dra71-evm.dts b/arch/arm/dts

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

2019-03-29 Thread Keerthy
On 27/02/19 11:17 AM, Keerthy wrote: On 22/02/19 12:08 AM, Joe Hershberger wrote: 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

Re: [U-Boot] [PATCH 1/3] thermal: Add multiple instance support

2019-03-19 Thread keerthy
On 3/19/2019 6:53 AM, Simon Glass wrote: Hi Keerthy, On Mon, 11 Mar 2019 at 14:13, Keerthy wrote: Currently single instance temperature read out is supported. Enhance the same to support multiple instances. Signed-off-by: Keerthy --- arch/arm/mach-imx/cpu.c | 2 +- drivers

[U-Boot] [PATCH 3/3] configs: dra7xx_evm_defconfig: Enable TI_DRA7_THERMAL & CMD_THERMAL

2019-03-11 Thread Keerthy
Enable TI_DRA7_THERMAL & CMD_THERMAL config options to read out temperatures of different instances in u-boot. Signed-off-by: Keerthy --- configs/dra7xx_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig i

[U-Boot] [PATCH 1/3] thermal: Add multiple instance support

2019-03-11 Thread Keerthy
Currently single instance temperature read out is supported. Enhance the same to support multiple instances. Signed-off-by: Keerthy --- arch/arm/mach-imx/cpu.c | 2 +- drivers/mmc/omap_hsmmc.c | 2 +- drivers/thermal/imx_thermal.c| 2 +- drivers/thermal/thermal-uclass.c

  1   2   3   4   >