Re: [U-Boot] [PATCH v2 2/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-11-06 Thread Keerthy
On Sunday 30 October 2016 05:30 PM, Marek Vasut wrote: On 10/30/2016 02:59 AM, Keerthy wrote: On Saturday 29 October 2016 11:19 PM, Marek Vasut wrote: On 10/29/2016 07:47 PM, Tom Rini wrote: On Sat, Oct 29, 2016 at 07:44:34PM +0200, Marek Vasut wrote: On 10/29/2016 07:41 PM, Tom Rini

[U-Boot] [PATCH] configs: omap5_uevm_defconfig: Enable LPAE mode

2016-11-30 Thread Keerthy
Enable Linear Physical Address Extension mode which is a prerequisite for hypervisor mode. Signed-off-by: Keerthy --- configs/omap5_uevm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig index 3005ffd..18843d2 100644 --- a

[U-Boot] [PATCH] am57xx: Set tps659038 PMIC GPIO7 pad mux value to POWERHOLD

2016-11-30 Thread Keerthy
The GPIO7 pad mux should be programmed to POWERHOLD value as per board design. In cases where the PMIC is shut off the mux is set to GPIO7 mode. So during initialization to be on the safer side set the mode to POWERHOLD. Signed-off-by: Keerthy --- board/ti/am57xx/board.c | 17

[U-Boot] [PATCH 0/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Keerthy
Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers for wakeup from RTC-only mode. Parse these registers during SPL boot and jump to the kernel resume vector if the device is waking up from RTC-only mode. The RTC scratch register layout used is: SCRATCH0 : bits00-31 : kernel

[U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Keerthy
. Signed-off-by: Tero Kristo [j-keer...@ti.com Rebased to latest u-boot master branch] Signed-off-by: Keerthy --- arch/arm/include/asm/arch-am33xx/clock.h | 6 ++ arch/arm/mach-omap2/am33xx/Kconfig| 7 ++ arch/arm/mach-omap2/am33xx/board.c| 109

[U-Boot] [PATCH 2/2] am43xx: Do not allow EMIF to control DDR_RESET in rtconly config

2018-03-15 Thread Keerthy
] Signed-off-by: Keerthy --- arch/arm/mach-omap2/am33xx/emif4.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx/emif4.c b/arch/arm/mach-omap2/am33xx/emif4.c index 68c7705..54e11d3 100644 --- a/arch/arm/mach-omap2/am33xx/emif4.c +++ b/arch/arm/mach-omap2/am33xx/emif4.c

Re: [U-Boot] [PATCH 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-15 Thread Keerthy
On Thursday 15 March 2018 05:56 PM, Tom Rini wrote: > On Thu, Mar 15, 2018 at 04:09:52PM +0530, Keerthy wrote: > >> From: Tero Kristo >> >> Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers >> for wakeup from RTC-only mode. Parse these

[U-Boot] [PATCH v2 0/2] ARM: AM43xx: Add support for RTC only mode

2018-03-16 Thread Keerthy
Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers for wakeup from RTC-only mode. Parse these registers during SPL boot and jump to the kernel resume vector if the device is waking up from RTC-only mode. The RTC scratch register layout used is: SCRATCH0 : bits00-31 : kernel

[U-Boot] [PATCH v2 1/2] ARM: AM43xx: Add support for RTC only mode

2018-03-16 Thread Keerthy
am43xx_evm_rtconly_config. This is not to be used with epos evm builds. Signed-off-by: Tero Kristo [j-keer...@ti.com Rebased to latest u-boot master branch] Signed-off-by: Keerthy --- Changes in v2: * Added more description to CONFIG Option. * Renamed CONFIG_SPL_RTC_ONLY_SUPPORT to CONFIG_SPL_RTC_DDR_SUPPORT

[U-Boot] [PATCH v2 2/2] am43xx: Do not allow EMIF to control DDR_RESET in rtconly config

2018-03-16 Thread Keerthy
] Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v2: * Added Tom's Reviewed-by arch/arm/mach-omap2/am33xx/emif4.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx/emif4.c b/arch/arm/mach-omap2/am33xx/emif4.c index 68c7705..54e11d3 100644 --- a

[U-Boot] [PATCH v3 0/2] Add support for RTC only + DDR in self-refresh mode

2018-03-17 Thread Keerthy
Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers for wakeup from RTC-only mode with DDR in self-refresh. Parse these registers during SPL boot and jump to the kernel resume vector if the device is waking up from RTC-only modewith DDR in Self-refresh. The RTC scratch registe

[U-Boot] [PATCH v3 1/2] ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode

2018-03-17 Thread Keerthy
am43xx_evm_rtconly_config. This is not to be used with epos evm builds. Signed-off-by: Tero Kristo [j-keer...@ti.com Rebased to latest u-boot master branch] Signed-off-by: Keerthy --- Changes in v3: * Replaced all RTC Only references with RTC Only plus DDR. Changes in v2: * Added more description to CONFIG

[U-Boot] [PATCH v3 2/2] am43xx: Do not allow EMIF to control DDR_RESET in rtconly config

2018-03-17 Thread Keerthy
] Signed-off-by: Keerthy Reviewed-by: Tom Rini --- arch/arm/mach-omap2/am33xx/emif4.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/am33xx/emif4.c b/arch/arm/mach-omap2/am33xx/emif4.c index 68c7705..54e11d3 100644 --- a/arch/arm/mach-omap2/am33xx/emif4.c +++ b/arch/arm

Re: [U-Boot] [PATCH v3 1/2] ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode

2018-03-17 Thread Keerthy
On Saturday 17 March 2018 01:24 PM, Keerthy wrote: > Kernel stores information to the RTC_SCRATCH0 and RTC_SCRATCH1 registers > for wakeup from RTC-only mode with DDR in self-refresh. Parse these > registers during SPL boot and jump to the kernel resume vector if the > device is wa

[U-Boot] [PATCH v4 1/2] ARM: AM43xx: Add support for RTC only + DDR in self-refresh mode

2018-03-17 Thread Keerthy
am43xx_evm_rtconly_config. This is not to be used with epos evm builds. Signed-off-by: Tero Kristo [j-keer...@ti.com Rebased to latest u-boot master branch] Signed-off-by: Keerthy --- Changes in v4: * Added Tero as Author. Changes in v3: * Replaced all RTC Only references with RTC Only

[U-Boot] [PATCH] ARM: am33xx: Inhibit re-initialization of DDR during RTC-only

2018-03-19 Thread Keerthy
branch] Signed-off-by: Keerthy --- Applies cleanly on top of: https://lists.denx.de/pipermail/u-boot/2018-March/323050.html arch/arm/include/asm/arch-am33xx/cpu.h | 18 -- arch/arm/mach-omap2/am33xx/board.c | 14 ++ 2 files changed, 30 insertions(+), 2 deletions

Re: [U-Boot] [PATCH] ARM: am33xx: Inhibit re-initialization of DDR during RTC-only

2018-03-26 Thread Keerthy
On Tuesday 20 March 2018 12:23 PM, Keerthy wrote: > From: Russ Dill > > This inhibits the re-inititialization of DDR during an RTC-only resume. If > this is not done, an L3 NOC error is produced as the DDR gets accessed > before the re-init has time to complete. Tested on AM43

[U-Boot] [PATCH] board: ti: dra71x-evm: Hook LDO1 of LP8733 to EN_PIN

2017-10-11 Thread Keerthy
All regulators are hooked to EN_Pin at reset so that EN Pin controls their state. Hook the LDO1 regulator to EN pin which at reset is not hooked. This applies only to LP8733. Signed-off-by: Keerthy --- board/ti/dra7xx/evm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/ti

[U-Boot] [PATCH] board: ti: am43: Fix DCDC3 voltage for epos-evm

2018-05-02 Thread Keerthy
A common voltage of 1.35V was being programmed for all am43 board versions. EPOS-EVM Needs 1.20V for LPDDR2. Fixes: fc69d472621b5 (“board: ti: AM43XX: Add ddr voltage rail configuration”) Reported-by: James Doublesin Signed-off-by: Keerthy --- Tested on am43x-epos-evm board/ti/am43xx

[U-Boot] pre_probe under struct driver

2019-06-04 Thread Keerthy
gets probed. 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 __

[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 in

[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 adde

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 be

[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

[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 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 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 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

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

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 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

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 with

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. This

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

[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

[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] [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

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

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 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 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

[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

[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 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: http://www.

[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 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 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 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 v4 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-04-29 Thread Keerthy
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 v4 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-04-29 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-29 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 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-04-29 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 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-04-29 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 5/5] configs: am65x_evm_a53: enable networking

2019-04-29 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

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

2019-04-29 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

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] 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 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

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 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] [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 is

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

2019-04-11 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: http://www.

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

2019-04-11 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 3/6] arm: mach-omap2: am33xx: Enable HW Leveling in the rtc+ddr path

2019-04-11 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 2/6] arm: mach-omap2: am33xx: ddr: Add 1ms delay to avoid L3 error

2019-04-11 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 4/6] arm: mach-omap2: am33xx: Disable EMIF_DEVOFF immediately before hw leveling

2019-04-11 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 6/6] board: ti: am43xx: Enable hardware leveling

2019-04-11 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 5/6] arm: mach-omap2: am33xx: ddr: update value for ext_phy_ctrl_36

2019-04-11 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 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 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] 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 |

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

2019-08-06 Thread Keerthy
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 a

[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 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 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 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 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 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 06/14] net: ti: icssg-prueth: Add ICSSG ethernet driver

2019-08-06 Thread Keerthy
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 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 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 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 12/14] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support

2019-08-06 Thread Keerthy
: 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 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 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

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-by

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. In

[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] [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

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 to

[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] [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] [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 be

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

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

2019-07-08 Thread Keerthy
onfig 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

[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/n

[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

<    1   2   3   4   5   6   >