Re: [PATCH 1/3] watchdog: omap_wdt: Fix WDT timeout configuration

2020-02-03 Thread Lokesh Vutla
: Sam Protsenko > Cc: Suniel Mahesh Reviewed-by: Lokesh Vutla A cover letter would really be nice to get a brief on the series. Thanks and regards, Lokesh

[PATCH 2/2] configs: j721e_evm_r5: Enable early cons

2020-02-03 Thread Lokesh Vutla
Early cons will be used in uart boot. Enable the same for j721e_r5 Signed-off-by: Lokesh Vutla --- configs/j721e_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index a90ab62195..b310eca932 100644 --- a/configs

[PATCH 1/2] arm: dts: k3-j721e-r5-common-proc-board: Disable power-domains for mcu uart

2020-02-03 Thread Lokesh Vutla
mcu uart will be used during uart boot for loading sysfw.itb. Since sysfw is not yet available during uart load, power-domain cannot be enabled. We need to rely on ROM for doing that, so disable power-domains and clocks for mcu uart. Also fix the mcu uart frequency. Signed-off-by: Lokesh Vutla

[PATCH 0/2] arm: k3-j721e: Fix uart boot

2020-02-03 Thread Lokesh Vutla
This series fixes uart boot on j721e SoC Lokesh Vutla (2): arm: dts: k3-j721e-r5-common-proc-board: Disable power-domains for mcu uart configs: j721e_evm_r5: Enable early cons arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 4 configs/j721e_evm_r5_defconfig | 1

Re: [PATCH v2 1/4] clock_imx8mq: Delete not used init_usb_clk()

2020-02-03 Thread Lokesh Vutla
On 27/01/20 6:46 PM, Peng Fan wrote: >> Subject: Re: [PATCH v2 1/4] clock_imx8mq: Delete not used init_usb_clk() >> >> Hi Anatolij, >> >> On Thu, Jan 23, 2020 at 11:43 AM Anatolij Gustschin wrote: >>> >>> On Thu, 23 Jan 2020 10:20:14 -0300 >>> Pedro Jardim jardim.c.pe...@gmail.com wrote: >>>

Re: [GIT PULL] TI changes for 2020.04-rc1

2020-01-28 Thread Lokesh Vutla
Hi Simon, On 29/01/20 12:40 PM, Simon Goldschmidt wrote: > On Wed, Jan 29, 2020 at 6:00 AM Lokesh Vutla wrote: >> >> Hi Tom, >> >> Please find the pull request for v2020.04-rc1 containing TI specific changes. >> This PR brings in multiple features and should

[GIT PULL] TI changes for 2020.04-rc1

2020-01-28 Thread Lokesh Vutla
Hi Tom, Please find the pull request for v2020.04-rc1 containing TI specific changes. This PR brings in multiple features and should have sent before rc1 is tagged. Due to multiple reviews, this is being sent a bit late. For detailed changes please see the PR description below. Gitlab:

Re: [PATCH v5 00/10] Add support for loading main_r5fss0_core0

2020-01-28 Thread Lokesh Vutla
On 28/01/20 4:21 PM, Keerthy wrote: > This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0. > Tested for firmware loading and execution on J721e. > > Changes in v5: > > * Moved the fs_loader node under r5-common-proc-board-u-boot.dtsi > * Added more information on the envnowhere

Re: [PATCH 00/10] Add Support for eMMC boot in AM65x and J721e

2020-01-23 Thread Lokesh Vutla
On 24/01/20 9:07 AM, Lokesh Vutla wrote: > > > On 23/01/20 8:54 PM, Faiz Abbas wrote: >> The following patches add support for eMMC boot in TI's Am65x and J721e >> devices. > > Can you re order the series something like below? > - Bring all mmc related d

Re: [PATCH 00/10] Add Support for eMMC boot in AM65x and J721e

2020-01-23 Thread Lokesh Vutla
On 23/01/20 8:54 PM, Faiz Abbas wrote: > The following patches add support for eMMC boot in TI's Am65x and J721e > devices. Can you re order the series something like below? - Bring all mmc related driver changes in the beginning - Then introduce SoC related changes(arch/arm/*) Also please

Re: [PATCH v3 17/23] i2c: omap: Update to use standard enums for speed

2020-01-23 Thread Lokesh Vutla
Hi Simon, On 24/01/20 12:18 AM, Simon Glass wrote: > Update this driver to use the new standard enums for speed. > > Note: This driver needs to move to driver model. omap24xx_i2c is already converted to DM. The following commits has those changes. Not sure what you meant here. commit

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2020-01-23 Thread Lokesh Vutla
On 23/01/20 7:23 PM, Oliver Graute wrote: > On 17/01/20, Lokesh Vutla wrote: >>>>> Just wondering if anyone else managed to boot mainline U-Boot with >>>>> mainline kernel on i.MX8QXP. >>>> I can test it for you with the revert patch for f0cc

[GIT PULL] TI patches for v2020.04

2020-01-20 Thread Lokesh Vutla
platform code board: ti: am43xx: remove net platform code Jason Kridner (1): board: ti: beagleboneai: add dts file Keerthy (1): power: regulator: tps62360_regulator: Convert ofdata_to_platdata to the missing probe Lokesh Vutla (4): board: ti: j721e: Print board name and version

Re: [U-Boot] [PATCH] omap34xx: SPL: enable MMC raw boot with u-boot.img

2020-01-19 Thread Lokesh Vutla
On 10/11/19 6:18 AM, Denis 'GNUtoo' Carikli wrote: > The following commit enabled raw SPL booting: > 22d90d560a omap3: Use raw SPL by default for mmc1 > but it was reverted by the following commit: > 821c89d38c Revert "omap3: Use raw SPL by default for mmc1" > because SPL is unable to

Re: [PATCH] arm: omap: fix MPU DPLL divisor for 800MHz clock

2020-01-19 Thread Lokesh Vutla
On 04/12/19 1:25 AM, Dario Binacchi wrote: > In locked condition CLKOUT = CLKINP * [M / (N + 1)]. > > Signed-off-by: Dario Binacchi Merged into u-boot-ti. Thanks and regards, Lokesh > --- > > arch/arm/mach-omap2/am33xx/clock_am33xx.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 0/8] AM654: Add USB support

2020-01-19 Thread Lokesh Vutla
On 09/12/19 10:37 AM, Vignesh Raghavendra wrote: > This series adds USB support for AM654 SoC that has DWC3 USB controller. > > Patch 1 adds new compatible for DWC3 driver. Patch 2 and 3 adds PHY > related changes and remaining patches add DT and configs related to USB > host,device and DFU

Re: [U-Boot] [PATCH v2 0/6] J721e HS device support

2020-01-19 Thread Lokesh Vutla
On 11/01/20 1:05 AM, Andrew F. Davis wrote: > Hello all, > > This series brings up High-Security (HS) device support on the J721e > platform. Support for this K3 HS device is much like the existing > AM65x HS and this series leverages much of that support. > > There are also a couple

Re: [U-Boot] [PATCH] defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

2020-01-19 Thread Lokesh Vutla
On 08/01/20 2:57 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Merged into u-boot-ti Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2020-01-19 Thread Lokesh Vutla
On 08/01/20 2:54 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Merged into u-boot-ti Thanks and regards, Lokesh

Re: [PATCH v2 0/5] board: ti: j721e: Enable I2C and EEPROM

2020-01-19 Thread Lokesh Vutla
On 07/01/20 1:15 PM, Lokesh Vutla wrote: > This series enable I2C and EEPROM support on J721e common processor > board. > > Logs: https://pastebin.ubuntu.com/p/HTrQk3VnZm/ Merged into u-boot-ti Thanks and regards, Lokesh > > Changes since v1: > - Fixed board_is_j721e_s

Re: [PATCH v3 0/5] board: ti: beagleboneai: add initial support

2020-01-19 Thread Lokesh Vutla
On 02/01/20 7:47 PM, Caleb Robey wrote: > The following patches > > 1) Introduce the emmc based board detection for BBAI due to a lack of > eeprom onboard the BBAI (to be fixed in future revision of the board). > 2) Add structures in the pinctrl to detect the beaglebone AI and add checks >

Re: [PATCH v2 0/7] Add Support for MMC/SD in J721e

2020-01-19 Thread Lokesh Vutla
On 16/01/20 7:42 PM, Faiz Abbas wrote: > The following patches add support for MMC/SD in J721e. Currently, SD > card is capped at 25 MBps and eMMC is capped at 50 MBps. Support for > higher speeds and eMMC boot support will be added in futures series. > > v2: > 1. Dropped FAT_WRITE patch

Re: [PATCH v4 00/10] dma: ti: k3-udma: Add support for J721e

2020-01-19 Thread Lokesh Vutla
On 09/12/19 10:25 AM, Vignesh Raghavendra wrote: > This series adds DMA support for J721e using exist K3 UDMA driver. > > One main change is thati, on J721e, DMA resources such as DMA channels are > shared between different entities running on different cores of the SoC. > Therefore, U-Boot

Re: [U-Boot] [PATCH] ARM: dts: da850-lcdk: Update DTS files for SPL device tree support

2020-01-19 Thread Lokesh Vutla
On 13/11/19 9:16 PM, Adam Ford wrote: > Currently, the da850-lcdk uses SPL_OF_PLATDATA and manually loads > the necessary source code instead of using the auto-generated, > because the drivers don't properly autogenerate the code. > > This patch simply enables the various device tree options

Re: [U-Boot] [PATCH] thermal: ti-bandgap: Fix adc value datatype

2020-01-19 Thread Lokesh Vutla
On 11/11/19 3:15 PM, Faiz Abbas wrote: > The CORE_TEMP_SENSOR_MPU register gives a raw adc value which needs to > be indexed into a lookup table to get the actual temperature. Fix the > naming and datatype of the adc value variable. > > Signed-off-by: Faiz Abbas Merged into u-boot-ti.

Re: [PATCH 0/4] J721e: Add USB support

2020-01-19 Thread Lokesh Vutla
On 18/11/19 7:16 PM, Vignesh Raghavendra wrote: > Add USB support for J721e SoC. > First patch fixes a compile issue with Cadence USB driver. Rest of the > patches add env, DT and configs related to USB. patches 2,3,4 merged into u-boot-ti. Thanks and regards, Lokesh > > Vignesh Raghavendra

[PATCH] clk: sci-clk: add slack to clk-set-rate passed to firmware

2020-01-16 Thread Lokesh Vutla
fails if the available frequency is even 1Hz off the target. With the change, the firmware still tries its best to set the frequency as close as possible to the target. Reported-by: Vishal Mahaveer Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo --- drivers/clk/clk-ti-sci.c | 3 +-- 1

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2020-01-16 Thread Lokesh Vutla
On 16/01/20 11:46 PM, Tom Rini wrote: > On Thu, Jan 16, 2020 at 08:03:51PM +0200, Igor Opaniuk wrote: >> Hi Fabio, >> >> On Thu, Jan 16, 2020 at 6:38 PM Fabio Estevam wrote: >>> >>> Hi Anatolij, >>> >>> On Tue, Jan 14, 2020 at 8:04 PM Anatolij Gustschin wrote: >>> Currently I do not have

Re: [PATCH v2 8/9] configs: j721e_evm_r5: Add configs for environment in eMMC

2020-01-16 Thread Lokesh Vutla
On 13/01/20 11:24 AM, Keerthy wrote: > From: Faiz Abbas > > Add config to save and read back environment from eMMC. > > Signed-off-by: Faiz Abbas > Signed-off-by: Keerthy This is conflicting with https://patchwork.ozlabs.org/patch/1224239/. and this is breaking boot on J7. Can you rebase

Re: [PATCH v2 1/9] lib: elf: Move the generic elf loading/validating functions to lib

2020-01-16 Thread Lokesh Vutla
Simon, On 13/01/20 11:24 AM, Keerthy wrote: > Move the generic elf loading/validating functions to lib/ > so that they can be re-used and accessed by code existing > outside cmd. > > Signed-off-by: Keerthy > Suggested-by: Simon Goldschmidt Are you okay with this patch? If yes, Ill apply to

Re: [U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2020-01-16 Thread Lokesh Vutla
On 08/01/20 4:24 AM, Andrew F. Davis wrote: > On AM43xx HS devices, QSPI boot is XIP and we use a single stage > bootloader. Add a defconfig for this. > > Signed-off-by: Andrew F. Davis This gives the following build warning. Can you fix it and re post? In file included from

Re: [PATCH 0/8] Add Support for MMC/SD in J721e

2020-01-16 Thread Lokesh Vutla
Faiz, On 10/01/20 1:33 PM, Faiz Abbas wrote: > +Tom > > On 08/01/20 6:44 am, Peng Fan wrote: >> >> >>> Subject: Re: [PATCH 0/8] Add Support for MMC/SD in J721e >>> >>> Hi, >>> >>> On 19/11/19 1:49 pm, Faiz Abbas wrote: The following patches add support for MMC/SD in J721e. Currently, SD

[PATCH] MAINTAINERS: Update ARM TI entry

2020-01-15 Thread Lokesh Vutla
Take over TI maintainership from Tom. Signed-off-by: Lokesh Vutla --- MAINTAINERS| 2 +- doc/git-mailrc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 438fb225ab..e3193df96c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -394,7 +394,7

Re: [PATCH 09/10] configs: j721e_evm_r5: Add configs for environment in eMMC

2020-01-10 Thread Lokesh Vutla
On 10/01/20 3:53 PM, Keerthy wrote: > From: Faiz Abbas > > Add config to save and read back environment from eMMC. > > Signed-off-by: Faiz Abbas > Signed-off-by: Keerthy This is already posted. https://patchwork.ozlabs.org/patch/1197305/ Thanks and regards, Lokesh > --- >

Re: [PATCH] power: regulator: tps62360_regulator: Convert ofdata_to_platdata to the missing probe

2020-01-10 Thread Lokesh Vutla
; Fixes: 22e8f18980d6 ("power: regulator: tps6236x: add support for tps6236x > regulators") > Signed-off-by: Keerthy Thanks. This fixes boot on AM654 evm: Tested-by: Lokesh Vutla Thanks and regards, Lokesh > --- > drivers/power/regulator/tps62360_regulator.c | 4 ++-- >

[PATCH] arm: dts: k3-am654-r5-base-board: Fix power-domains for wkup_vtm0

2020-01-10 Thread Lokesh Vutla
/ wkup_vtm@4205:power-domains: property size (8) too small for cell size 2 Fix this by updating the power-domain cells. Fixes: cfa6bd549c ("arm: dts: k3-am654-r5-base-board: Add VTM node") Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-am654-r5-base-board.dts | 2 +- 1 file

Re: [U-Boot] [PATCH v2] spl: Move check for SPL_LIBCOMMON support to header

2020-01-07 Thread Lokesh Vutla
ff-by: Andrew F. Davis > Reviewed-by: Simon Glass Nice cleanup..!! Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: am335x_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Lokesh Vutla
On 08/01/20 2:54 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: am43xx_hs_evm: Sync HS and non-HS defconfigs

2020-01-07 Thread Lokesh Vutla
On 08/01/20 2:57 AM, Andrew F. Davis wrote: > Sync new additions to non-HS defconfig with HS defconfig. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH] defconfigs: Add a config for AM43xx High Security EVM with QSPI Boot support

2020-01-07 Thread Lokesh Vutla
On 08/01/20 4:24 AM, Andrew F. Davis wrote: > On AM43xx HS devices, QSPI boot is XIP and we use a single stage > bootloader. Add a defconfig for this. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > MAINTAINERS

Re: [U-Boot] [PATCH] arm: mach-k3: security: Clean image out of cache before authentication

2020-01-07 Thread Lokesh Vutla
ush but before the external operation, > in this case we must invalidate our stale local cached version. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm/mach-k3/security.c | 12 > 1 file changed, 12 ins

Re: [U-Boot] [PATCH] arm: mach-k3: Warn when node to disable is not found

2020-01-07 Thread Lokesh Vutla
ing the TRNG as this will not prevent boot. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm/mach-k3/common.c | 4 ++-- > board/ti/am65x/evm.c | 4 +--- > 2 files changed, 3 insertions(+), 5 deletions(-) >

[PATCH v2 5/5] configs: j721e_evm_a72_defconfig: Enable I2C and EEPROM support

2020-01-06 Thread Lokesh Vutla
From: Vignesh Raghavendra Enable I2C and EEPROM related configs for A72 SPL/U-Boot. Signed-off-by: Vignesh Raghavendra Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- configs/j721e_evm_a72_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs

[PATCH v2 3/5] board: ti: j721e: Print board name and version during boot

2020-01-06 Thread Lokesh Vutla
Print the board name and ver along with the DT Model. Signed-off-by: Lokesh Vutla --- board/ti/j721e/evm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 7327c96b31..aa2240b852 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti

[PATCH v2 4/5] arm64: dts: k3-j721e-common-proc-board: Fully enable wkup_i2c0 use

2020-01-06 Thread Lokesh Vutla
From: Andreas Dannenberg Make the wkup_i2c0 module usable across all stages of U-Boot by adding the needed definitions including the associated pinmux definitions. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- .../dts/k3-j721e-common-proc-board-u-boot.dtsi| 8

[PATCH v2 0/5] board: ti: j721e: Enable I2C and EEPROM

2020-01-06 Thread Lokesh Vutla
: j721e: Use EEPROM-based board detection arm64: dts: k3-j721e-common-proc-board: Fully enable wkup_i2c0 use Lokesh Vutla (1): board: ti: j721e: Print board name and version during boot Vignesh Raghavendra (1): configs: j721e_evm_a72_defconfig: Enable I2C and EEPROM support .../k3-j721e

[PATCH v2 1/5] ti: common: board_detect: Handle EEPROM probe more gracefully

2020-01-06 Thread Lokesh Vutla
an error message on the I2C transactions that follow. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- board/ti/common/board_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c index 564d2f7046

[PATCH v2 2/5] board: ti: j721e: Use EEPROM-based board detection

2020-01-06 Thread Lokesh Vutla
;). Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- .../arm/mach-k3/include/mach/j721e_hardware.h | 3 + arch/arm/mach-k3/j721e_init.c | 3 + board/ti/common/board_detect.c| 9 + board/ti/common/board_detect.h| 9 + board/ti/j721

[PATCH 4/5] arm64: dts: k3-j721e-common-proc-board: Fully enable wkup_i2c0 use

2020-01-05 Thread Lokesh Vutla
From: Andreas Dannenberg Make the wkup_i2c0 module usable across all stages of U-Boot by adding the needed definitions including the associated pinmux definitions. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- .../dts/k3-j721e-common-proc-board-u-boot.dtsi| 8

[PATCH 2/5] board: ti: j721e: Use EEPROM-based board detection

2020-01-05 Thread Lokesh Vutla
;). Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- .../arm/mach-k3/include/mach/j721e_hardware.h | 3 + arch/arm/mach-k3/j721e_init.c | 3 + board/ti/j721e/Kconfig| 7 + board/ti/j721e/evm.c | 251

[PATCH 5/5] configs: j721e_evm_a72_defconfig: Enable I2C and EEPROM support

2020-01-05 Thread Lokesh Vutla
From: Vignesh Raghavendra Enable I2C and EEPROM related configs for A72 SPL/U-Boot. Signed-off-by: Vignesh Raghavendra Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- configs/j721e_evm_a72_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs

[PATCH 3/5] board: ti: j721e: Print board name and version during boot

2020-01-05 Thread Lokesh Vutla
Print the board name and ver along with the DT Model. Signed-off-by: Lokesh Vutla --- board/ti/j721e/evm.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index d822ac81db..101fe1be4e 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti

[PATCH 1/5] ti: common: board_detect: Handle EEPROM probe more gracefully

2020-01-05 Thread Lokesh Vutla
an error message on the I2C transactions that follow. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- board/ti/common/board_detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c index 564d2f7046

[PATCH 0/5] board: ti: j721e: Enable I2C and EEPROM support

2020-01-05 Thread Lokesh Vutla
-proc-board: Fully enable wkup_i2c0 use Lokesh Vutla (1): board: ti: j721e: Print board name and version during boot Vignesh Raghavendra (1): configs: j721e_evm_a72_defconfig: Enable I2C and EEPROM support .../k3-j721e-common-proc-board-u-boot.dtsi| 8 + arch/arm/dts/k3-j721e-common-proc

[PATCH] arm: mach-k3: Enable WA for R5F deadlock

2019-12-31 Thread Lokesh Vutla
will make R5F to only issue up to 2 cache line fills at any point of time. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 1 + arch/arm/mach-k3/common.c | 25 + arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/j721e_init.c | 1 + 4 files

[PATCH] arm: dts: k3-j721e: ddr: Update to 0.2 version of DDR config tool

2019-12-31 Thread Lokesh Vutla
Update the ddr settings to use the DDR reg config tool rev 0.2.0. This reduces the aging count(in DDRSS_CTL_274_DATA reg) to 15 in-order to avoid DSS underflow errors. Signed-off-by: Lokesh Vutla Signed-off-by: Kevin Scholz --- arch/arm/dts/k3-j721e-ddr-evm-lp4-3733.dtsi | 6 +++--- 1 file

Re: [uboot PATCH 0/4] phy: ti-pipe3: Match TRM sequence & settings

2019-12-19 Thread Lokesh Vutla
On 06/11/19 7:51 PM, Roger Quadros wrote: > Hi, > > We need to follow the TRM sequence and settings to ensure > that the DPLL & PHY operates correctly over the entire > temperature range. > > Tested with SATA on dra7-evm. > > Since this is a bug fix, I will suggest to include it in current

[PATCH] board: davinci: Update OMAPL138_LCDK maintainer

2019-12-19 Thread Lokesh Vutla
As per the email discussion[0], add myself as a maintainer to OMAPL138_LCDK and drop Peter's entry. [0] http://u-boot.10912.n7.nabble.com/OMAP-L138-LCDK-giving-up-maintainership-td394211.html Signed-off-by: Lokesh Vutla --- board/davinci/da8xxevm/MAINTAINERS | 2 +- 1 file changed, 1

Re: [PATCH v1] Revert "core: device: use dev_power_domain_on"

2019-12-19 Thread Lokesh Vutla
On 17/12/19 5:44 PM, Igor Opaniuk wrote: > From: Igor Opaniuk > > This reverts commit f0cc4eae9a1702a768817ea25d9f23cece69d021 > > This was previously reported that f0cc4eae9a ("core: device: > use dev_power_domain_on") breaks initial boot on Colibri iMX8X and > IMX8 QM ROM 7720a1 board.

Re: [U-Boot] [PATCH] ARM: DRA7: Fixup DSP OPP_HIGH clock rate on DRA76P/DRA77P SoCs

2019-12-02 Thread Lokesh Vutla
e > correct clock rates on these SoCs. Note that this higher clock rate is > not applicable to other Jacinto 6 Plus SoCs (DRA75xP/DRA74xP SoCs or > AM574x SoCs) that follow the ABZ package. > > Signed-off-by: Suman Anna Reviewed-by: Lokesh Vutla Thanks and regards, L

Re: [U-Boot] [PATCH v2 4/5] board: ti: beagleboneai: add dts file

2019-11-25 Thread Lokesh Vutla
t. > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey > Cc: Robert Nelson Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 5/5] board: ti: beagleboneai: enable in am57xx_evm_defconfig

2019-11-25 Thread Lokesh Vutla
On 25/11/19 8:26 PM, Caleb Robey wrote: > Adding the configurations to the evm_defconfig file > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > --- > > v2 Changes: > - addition of

Re: [U-Boot] [PATCH v2 3/5] board: ti: beagleboneai: IODELAY and pinmux changes

2019-11-25 Thread Lokesh Vutla
On 25/11/19 8:26 PM, Caleb Robey wrote: > This patch configures the pinmux settings for the BeagleBone AI after > the emmc read has completed. > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey > Cc: Robert Nelson Reviewed-by: Lokesh Vutla Thanks a

Re: [U-Boot] [PATCH v2 2/5] board: ti: beagleboneai: add initial support

2019-11-25 Thread Lokesh Vutla
On 25/11/19 8:26 PM, Caleb Robey wrote: > These are necessities for beaglebone ai boot. > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 1/5] board: ti: beagleboneai: emmc read changes

2019-11-25 Thread Lokesh Vutla
ure we don't enable eMMC pinmuxes on boards > that don't support it, and > * Finally, initializes the eMMC pins and reading the header. > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey > Cc: Robert Nelson Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___

Re: [U-Boot] [PATCH v2 1/6] remoteproc: elf_loader: Add elf resource table load support

2019-11-25 Thread Lokesh Vutla
y: Fabien Dessenne Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > drivers/remoteproc/rproc-elf-loader.c | 269 > ++ > include/remoteproc.h | 70 + > test/dm/remoteproc.c | 91 ++-- &

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

2019-11-24 Thread Lokesh Vutla
On 22/11/19 10:56 PM, Grygorii Strashko wrote: > The DRA7 has DM_ETH and OF_CONTROL enabled, so remove networking platform > code. > > Signed-off-by: Grygorii Strashko Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot ma

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

2019-11-24 Thread Lokesh Vutla
On 22/11/19 10:56 PM, Grygorii Strashko wrote: > The TI AM43xx platform has DM_ETH and OF_CONTROL enabled, > so remove networking platform code. > > Signed-off-by: Grygorii Strashko Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh __

Re: [U-Boot] [PATCH 0/6] J721e HS device support

2019-11-20 Thread Lokesh Vutla
ere are also a couple tangentially related fixups that I noticed while > adding this support and testing. Although not strictly needed they > do allow J721e HS to just work out-of-box by the time the last patch > adds the defconfigs. For the entire series: Reviewed-by: Lokesh Vutla Thank an

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

2019-11-20 Thread Lokesh Vutla
On 21/11/19 12:43 AM, Grygorii Strashko wrote: > Move BOOTP_DNS2 and PHY_TI from dra7xx_evm.h to > dra7xx_evm_defconfig. > > Signed-off-by: Grygorii Strashko Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot mailing

Re: [U-Boot] [PATCH 5/5] board: ti: beagleboneai: enable in am57xx_evm_defconfig

2019-11-20 Thread Lokesh Vutla
On 21/11/19 3:39 AM, Caleb Robey wrote: > Adding the configurations to the evm_defconfig file > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey > > --- > configs/am57xx_evm_defconfig | 2 +- > include/environment/ti/boot.h | 4 +++- > 2 files changed, 4 insertions(+), 2

Re: [U-Boot] [PATCH 2/5] board: ti: beagleboneai: add initial support

2019-11-20 Thread Lokesh Vutla
On 21/11/19 3:39 AM, Caleb Robey wrote: > These are necessities for beaglebone ai boot. > > Signed-off-by: Jason Kridner > Signed-off-by: Caleb Robey I guess you missed adding emif changes and eeprom definition here? Thanks and regards, Lokesh > > --- >

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

2019-11-19 Thread Lokesh Vutla
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 ++ > configs/dra7xx_hs_evm_usb_defconfig

[U-Boot] [PATCH] spl: ymodem: Fix loading of fit image

2019-11-14 Thread Lokesh Vutla
spl ymodem driver always assumes that 1 BUF_SIZE is read in one stream. This might not be true when image is not padded to BUF_SIZE and the last sector that gets loaded will be < BUF_SIZE. Drop this assumption and use the actual size that is loaded. Signed-off-by: Lokesh Vutla --- common/

Re: [U-Boot] [PATCH 3/3] tools: dumpimage: Fall-though to print usage for help command

2019-11-14 Thread Lokesh Vutla
On 18/09/19 2:39 AM, Andrew F. Davis wrote: > This has the same result but some compilers will warn about this > fall-through if there are statements as part of the label block. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and reg

Re: [U-Boot] [PATCH 2/3] tools: fit_image: Use fit_image_get_data_and_size for getting offset/size

2019-11-14 Thread Lokesh Vutla
ilently fail. Add an error message also so if this > still fails it is easier to find out why. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] tools: dumpimage: Provide more feedback on internal errors

2019-11-14 Thread Lokesh Vutla
; > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > tools/dumpimage.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/tools/dumpimage.c b/tools/dumpimage.c > index ee3d41dda4..d5f893d

Re: [U-Boot] [PATCH 05/11] dma: ti: k3-udma: Get SYSFW reference from DT phandle

2019-11-14 Thread Lokesh Vutla
On 14/11/19 2:44 PM, Vignesh Raghavendra wrote: > Instead of looking getting reference to SYSFW device using name which > is not guaranteed to be constant, use phandle supplied in the DT node to > get reference to SYSFW > > Signed-off-by: Vignesh Raghavendra > --- > drivers/dma/ti/k3-udma.c |

Re: [U-Boot] [PATCH] configs: j721e_evm_r5_defconfig: Remove SPL multi-DTB FIT support

2019-11-07 Thread Lokesh Vutla
r GP devices and causes a firewall expection on HS. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ 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-11-01 Thread Lokesh Vutla
On 01/11/19 10:07 PM, Lokesh Vutla wrote: > Joe, Tom, > > On 19/09/19 1:46 PM, Grygorii Strashko wrote: >> Hi All, >> >> This series introduces set of fixes and improvements for TI CPSW and AM654x >> CPSW networking drivers. >> >> Patch 1 - Enab

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

2019-11-01 Thread Lokesh Vutla
Joe, Tom, On 19/09/19 1:46 PM, 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

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

2019-11-01 Thread Lokesh Vutla
Tom, On 04/09/19 2:08 PM, 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

[U-Boot] [PATCH] arm: caches: Disable mmu only if mmu is available

2019-10-30 Thread Lokesh Vutla
As part of disabling caches MMU as well gets disabled. But MMU is not available on all armv7 cores like R5F. So disable MMU only if it is available. Signed-off-by: Lokesh Vutla --- arch/arm/lib/cache-cp15.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/lib/cache-cp15.c b

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

2019-10-29 Thread Lokesh Vutla
On 25/10/19 10:23 PM, keerthy wrote: > > > On 10/25/2019 5:35 PM, Tom Rini wrote: >> On Tue, Aug 06, 2019 at 04:08:31PM +0530, Keerthy wrote: >> >>> 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

Re: [U-Boot] [PATCH 20/30] ti: am654: Drop duplicate dm.h inclusion

2019-10-28 Thread Lokesh Vutla
On 27/10/19 9:24 PM, Simon Glass wrote: > We only need to include this header once. Drop the duplicate. > > Signed-off-by: Simon Glass Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > > drivers/ram/k3-am654-ddrss.c | 1 - > 1 file changed, 1 deleti

Re: [U-Boot] [PATCH v3 00/18] misc: Add AVS class 0 support for AM6

2019-10-24 Thread Lokesh Vutla
family of devices. Adaptive voltage scaling class 0 > implies that optimized 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. > Tested on J721e-evm for MPU. For the

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

2019-10-24 Thread Lokesh Vutla
On 21/10/19 2:55 PM, Keerthy wrote: > 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 > --- >

[U-Boot] [PATCH] arm: dts: k3-am65: Add R5F ranges in interconnect nodes

2019-10-16 Thread Lokesh Vutla
From: Suman Anna Add the address spaces for the R5F cores in MCU domain to the ranges property of the cbass_mcu interconnect node so that the addresses within the R5F nodes can be translated properly by the relevant OF address API. Signed-off-by: Suman Anna Signed-off-by: Lokesh Vutla

Re: [U-Boot] [PATCH] arm64: Add memcpy_{from, to}io() and memset_io() helpers

2019-10-15 Thread Lokesh Vutla
nux Kernel v5.4. > > Signed-off-by: Vignesh Raghavendra Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm/include/asm/io.h | 104 -- > 1 file changed, 101 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/include/asm/io.h

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

2019-10-15 Thread Lokesh Vutla
[..snip..] > +}; > diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h > index f431f3bf29..605b52905e 100644 > --- a/include/dm/uclass-id.h > +++ b/include/dm/uclass-id.h > @@ -31,6 +31,7 @@ enum uclass_id { > UCLASS_ADC, /* Analog-to-digital converter */ >

Re: [U-Boot] [PATCH] spl: dm_mmc: Initialize only the required mmc device

2019-10-08 Thread Lokesh Vutla
MMC instances >> which >> are in disabled state. Since dmsc firmware is not yet available, devices >> cannot >> be enabled. So in SPL, initialize only the mmc device that is needed. >> >> Signed-off-by: Lokesh Vutla Gentle Ping. Are you planning to take this patch

[U-Boot] [PATCH 1/4] dt-bindings: memory-controller: Introduce J721E DDRSS bindings

2019-10-07 Thread Lokesh Vutla
Add DT binding documentation for DDR sub system present on J721E device. Signed-off-by: Lokesh Vutla --- .../memory-controller/k3-j721e-ddrss.txt | 2241 + 1 file changed, 2241 insertions(+) create mode 100644 doc/device-tree-bindings/memory-controller/k3-j721e-ddrss.txt

[U-Boot] [PATCH 4/4] armv7R: K3: j721e: Add support for triggering ddr init from SPL

2019-10-07 Thread Lokesh Vutla
In SPL, DDR should be made available by the end of board_init_f() so that apis in board_init_r() can use ddr. Adding support for triggering DDR initialization from board_init_f(). Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/j721e_init.c | 8 +++- board/ti/j721e/Kconfig| 1 + 2

[U-Boot] [PATCH 0/4] ram: k3-j721e: Add support for J721E DDR controller

2019-10-07 Thread Lokesh Vutla
This series adds support for J721E ddr controller and adds DT node for supporting it on J721E devices. Kevin Scholz (1): ram: k3-j721e: Add support for J721E DDR controller Lokesh Vutla (3): dt-bindings: memory-controller: Introduce J721E DDRSS bindings arm: dts: k3-j721e: Add ddr node

[U-Boot] [PATCH 2/3] ram: k3-am654: add support for LPDDR4 and DDR3L DDRs

2019-10-07 Thread Lokesh Vutla
From: James Doublesin Added training support for LPDDR4 and DDR3L DDRs. Also added/changed some register configuration to support all 3 DDR types Signed-off-by: James Doublesin Signed-off-by: Lokesh Vutla --- drivers/ram/k3-am654-ddrss.c | 241 +-- 1 file

[U-Boot] [PATCH 3/3] ram: k3-am654: Do not rely on default values for certain DDR register

2019-10-07 Thread Lokesh Vutla
in that same register). Also update the dts files in the same patch to maintain git bisectability. Signed-off-by: James Doublesin Signed-off-by: Lokesh Vutla --- .../dts/k3-am654-base-board-ddr4-1600MTs.dtsi | 30 ++ arch/arm/dts/k3-am654-ddr.dtsi| 9 +++ drivers/ram/k3-am654

[U-Boot] [PATCH 1/3] armv7r: dts: am654-base-board: Rename 1600MHz to 1600MTs in dtsi filename

2019-10-07 Thread Lokesh Vutla
-by: Lokesh Vutla --- ...-ddr4-1600MHz.dtsi => k3-am654-base-board-ddr4-1600MTs.dtsi} | 0 arch/arm/dts/k3-am654-r5-base-board.dts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename arch/arm/dts/{k3-am654-base-board-ddr4-1600MHz.dtsi => k3-am654-base-boar

[U-Boot] [PATCH 0/3] ram: k3-am654: Add support for LPDDR4 and DDR3L

2019-10-07 Thread Lokesh Vutla
This series adds support for LPDDR4 and DDR3L ddrs for k3-am654 and minor updates to driver. James Doublesin (3): armv7r: dts: am654-base-board: Rename 1600MHz to 1600MTs in dtsi filename ram: k3-am654: add support for LPDDR4 and DDR3L DDRs ram: k3-am654: Do not rely on default values

[U-Boot] [PATCH 3/3] arm: K3: Clean and invalidate Linux Image before jumping to Linux

2019-10-07 Thread Lokesh Vutla
sure the loaded Linux image is flushed so that the entire image is written to DDR from L3. When Linux starts running with caches disabled the full image is available from DDR. Reported-by: Andrew F. Davis Reported-by: Faiz Abbas Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/common.c | 11

[U-Boot] [PATCH 2/3] cmd: booti: Store OS start and end info in images structure

2019-10-07 Thread Lokesh Vutla
Store the start and end of the OS image that is loaded in images structure. Signed-off-by: Lokesh Vutla --- cmd/booti.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/booti.c b/cmd/booti.c index c36b0235df..841eff10d1 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -48,6 +48,9

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