[PATCH v2 17/19] arm: dts: k3-j7200: Add R5 specific dts support

2020-08-05 Thread Lokesh Vutla
From: Dave Gerlach Add the basic a72 basic dts for j7200. Following nodes were supported: - UART - MMC SD - I2C - TISCI communication - LPDDR with 1600MTs configuration. Signed-off-by: Andrew F. Davis Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach --- arch/arm/dts/Makefile

[PATCH v2 18/19] configs: j7200_evm_r5: Add initial support

2020-08-05 Thread Lokesh Vutla
Add initial R5 defconfig support Signed-off-by: Lokesh Vutla --- configs/j7200_evm_r5_defconfig | 130 + 1 file changed, 130 insertions(+) create mode 100644 configs/j7200_evm_r5_defconfig diff --git a/configs/j7200_evm_r5_defconfig b/configs

[PATCH v2 19/19] configs: j7200_evm_a72: Add Initial support

2020-08-05 Thread Lokesh Vutla
Add initial A72 defconfig support. Signed-off-by: Lokesh Vutla --- configs/j7200_evm_a72_defconfig | 175 1 file changed, 175 insertions(+) create mode 100644 configs/j7200_evm_a72_defconfig diff --git a/configs/j7200_evm_a72_defconfig b/configs

Re: [PATCH v2 00/19] arm: mach-k3: Initial support for Texas Instrument's J7200 Platform

2020-08-05 Thread Lokesh Vutla
On 05/08/20 10:44 pm, Lokesh Vutla wrote: > This series adds initial support for latest new SoC, J7200, from Texas > Instruments. > > The J7200 SoC is a part of the K3 Multicore SoC architecture platform. > It is targeted for for automotive gateway, vehicle compute system

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

2020-08-07 Thread Lokesh Vutla
On 07/08/20 12:26 am, Vignesh Raghavendra wrote: > Enable USB, HyperFlasha and CPSW on J7200 SoC $subject: s/J2700/J7200 :) Thanks and regards, Lokesh > > Based on top of https://patchwork.ozlabs.org/project/uboot/list/?series=194305 > > Vignesh Raghavendra (6): > arm: dts: k3-j7200: Add

[PATCH v4 02/19] board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined

2020-08-08 Thread Lokesh Vutla
Guard all eeprom probe with TI_I2C_BOARD_DETECT to avoid reading eeprom when eeprom is not available Reviewed-by: Suman Anna Signed-off-by: Lokesh Vutla Signed-off-by: Jean-Jacques Hiblot --- arch/arm/mach-k3/j721e_init.c | 3 ++- board/ti/j721e/evm.c | 16 +++- 2 files

[PATCH v4 01/19] board: ti: board_detect: Add stub functions for EEPROM detection apis

2020-08-08 Thread Lokesh Vutla
Current usage of eeprom apis produce a build failure when CONFIG_TI_I2C_BOARD_DETECT is not defined. Add stub function for these apis to avoid build failures. Reviewed-by: Suman Anna Signed-off-by: Lokesh Vutla --- board/ti/common/board_detect.h | 13 + 1 file changed, 13

[PATCH v4 03/19] board: ti: j721e: Update fdt fixup logic for interconnect nodes

2020-08-08 Thread Lokesh Vutla
From: Suman Anna The DT nodes on J721E SoCs currently use a node name "interconnect" for the various interconnects. This name is not following the DT schema, and should simply be "bus". Update the fdt fixup logic to use both the current and the expected corrected path names so that this logic won

[PATCH v4 00/19] arm: mach-k3: Initial support for Texas Instrument's J7200 Platform

2020-08-08 Thread Lokesh Vutla
SPL_MULTI_DTB_FIT is not enabled Kishon Vijay Abraham I (1): soc: soc_ti_k3: Add device identification for J7200 SoC Lokesh Vutla (15): board: ti: board_detect: Add stub functions for EEPROM detection apis board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined arm: mach-k3

[PATCH v4 04/19] arm: mach-k3: Fix platform hang when SPL_MULTI_DTB_FIT is not enabled

2020-08-08 Thread Lokesh Vutla
From: Jean-Jacques Hiblot If SPL_MULTI_DTB_FIT is not enabled, then CONFIG_SPL_OF_LIST is not defined And in turn tispl.bin ends up not embedding any DTB. Fixing it by using CONFIG_DEFAULT_DEVICE_TREE if SPL_OF_LIST is empty. Signed-off-by: Jean-Jacques Hiblot Signed-off-by: Lokesh Vutla

[PATCH v4 07/19] arm: mach-k3: j721e: Add detection for j721e

2020-08-08 Thread Lokesh Vutla
Add an api soc_is_j721e(), and use it to enable certain functionality that is available only on j721e. This detection is needed when DT is not available. Signed-off-by: Lokesh Vutla Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 10 ++ arch/arm/mach-k3

[PATCH v4 06/19] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-08-08 Thread Lokesh Vutla
notification if sysfw is already loaded. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm/mach-k3/am6_init.c | 2 +- arch/arm/mach-k3/include/mach/sysfw-loader.h | 4 +- arch/arm/mach-k3/j721e_init.c| 2 +- arch/arm/mach-k3/sysfw-loader.c

[PATCH v4 05/19] arm: mach-k3: Move mmr_unlock to a common location

2020-08-08 Thread Lokesh Vutla
mmr_unlock api is common for all k3 devices. Move it to a common location. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm/mach-k3/am6_init.c | 10 -- arch/arm/mach-k3/common.c | 10 ++ arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/j721e_init.c

[PATCH v4 08/19] arm: mach-k3: j721e: Fix unlocking control module registers

2020-08-08 Thread Lokesh Vutla
In main control mmr there is no partition 4 and partition 6 is available only on J721e. Fix the same in ctrl_mmr_unlock function Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm/mach-k3/j721e_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH v4 09/19] arm: mach-k3: j7200: Add support for SOC detection

2020-08-08 Thread Lokesh Vutla
: Lokesh Vutla Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 10 ++ arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/include/mach/sys_proto.h | 1 + 3 files changed, 12 insertions(+) diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3

[PATCH v4 10/19] arm: mach-k3: j7200: Add support for storing extended boot info from ROM

2020-08-08 Thread Lokesh Vutla
Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. ROM passes this information on number of images that are loaded to bootloader at certain location. Add support for storing this information before it gets corrupted. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna

[PATCH v4 13/19] board: ti: j7200: Add board detection support for j7200

2020-08-08 Thread Lokesh Vutla
Add board detection support for j7200 common processor board. Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach Reviewed-by: Suman Anna --- board/ti/j721e/evm.c | 4 1 file changed, 4 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index ae508316ef

[PATCH v4 12/19] board: ti: j7200: Introduce support for j7200 build targets

2020-08-08 Thread Lokesh Vutla
j7200-evm has minor differences with j721e-evm based on the IPs available in the SoC. Introduce separate build targets for j7200-evm to incorporate the differences. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- board/ti/j721e/Kconfig | 53

[PATCH v4 14/19] ram: k3-j721e: Relax version checks for memory controller

2020-08-08 Thread Lokesh Vutla
k3-j721e ddr driver sanity checks for product id and version number. Version number gets changed for every minor update in the IP. So discard the version check and just sanity check for product id. Signed-off-by: Lokesh Vutla --- drivers/ram/k3-j721e/lpddr4.c | 16 +--- 1 file

[PATCH v4 11/19] arm: mach-k3: j7200: Detect if ROM has already loaded sysfw

2020-08-08 Thread Lokesh Vutla
Detect if sysfw is already loaded by ROM and pass this information to sysfw loader. Based on this information sysfw loader either loads the sysfw image from boot media or just receives the boot notification message form sysfw. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm

[PATCH v4 16/19] arm: dts: k3-j7200: Add dts support

2020-08-08 Thread Lokesh Vutla
Add the basic a72 dts for j7200. Following nodes were supported: - UART - MMC SD - I2C - TISCI communication Signed-off-by: Lokesh Vutla Signed-off-by: Vignesh Raghavendra Signed-off-by: Vishal Mahaveer Signed-off-by: Faiz Abbas --- arch/arm/dts/Makefile | 3

[PATCH v4 15/19] soc: soc_ti_k3: Add device identification for J7200 SoC

2020-08-08 Thread Lokesh Vutla
From: Kishon Vijay Abraham I Add device identification for J7200 SoC Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3

[PATCH v4 18/19] configs: j7200_evm_r5: Add initial support

2020-08-08 Thread Lokesh Vutla
Add initial R5 defconfig support Signed-off-by: Lokesh Vutla --- board/ti/j721e/MAINTAINERS | 1 + configs/j7200_evm_r5_defconfig | 130 + 2 files changed, 131 insertions(+) create mode 100644 configs/j7200_evm_r5_defconfig diff --git a/board/ti/j721e

[PATCH v4 17/19] arm: dts: k3-j7200: Add R5 specific dts support

2020-08-08 Thread Lokesh Vutla
From: Dave Gerlach Add the basic a72 basic dts for j7200. Following nodes were supported: - UART - MMC SD - I2C - TISCI communication - LPDDR with 1600MTs configuration. Signed-off-by: Andrew F. Davis Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach --- arch/arm/dts/Makefile

[PATCH v4 19/19] configs: j7200_evm_a72: Add Initial support

2020-08-08 Thread Lokesh Vutla
Add initial A72 defconfig support. Signed-off-by: Lokesh Vutla --- board/ti/j721e/MAINTAINERS | 1 + configs/j7200_evm_a72_defconfig | 173 2 files changed, 174 insertions(+) create mode 100644 configs/j7200_evm_a72_defconfig diff --git a/board/ti/j721e

[GIT PULL] TI changes for v2020.10-rc3

2020-08-11 Thread Lokesh Vutla
fail to send stop cmd Jean-Jacques Hiblot (1): arm: mach-k3: Fix platform hang when SPL_MULTI_DTB_FIT is not enabled Kishon Vijay Abraham I (1): soc: soc_ti_k3: Add device identification for J7200 SoC Lokesh Vutla (15): board: ti: board_detect: Add stub functions for EEPROM

Re: [PATCH v2 0/3] watchdog: K3: Add RTI watchdog support

2020-08-11 Thread Lokesh Vutla
On 23/06/20 4:45 pm, Jan Kiszka wrote: > This brings watchdog support for the TI K3 SoCs, derived from the Linux > kernel, augmented with firmware loading as needed on the AM65x. > > Tested on the AM65x EVM and the IOT2050 (also AM65x-based, upstream > support will be posted soon). > > Changes

Re: [PATCH] arm: mach-k3: Clean non-coherent lines out of L3 cache

2020-08-11 Thread Lokesh Vutla
On 16/07/20 2:32 am, Andrew F. Davis wrote: > When switching on or off the ARM caches some care must be taken to ensure > existing cache line allocations are not left in an inconsistent state. > An example of this is when cache lines are considered non-shared by > and L3 controller even though t

Re: [PATCH v2] board: ti: am65x: Update fdt fixup logic for interconnect nodes

2020-08-11 Thread Lokesh Vutla
On 30/07/20 12:11 am, Suman Anna wrote: > The DT nodes on AM65x SoCs currently use a node name "interconnect" for > the various interconnects. This name is not following the DT schema, and > should simply be "bus". Update the fdt fixup logic to use both the > current and the expected corrected p

Re: [PATCH 0/2] Update TI K3 cbass interconnect node names

2020-08-11 Thread Lokesh Vutla
On 25/07/20 4:21 am, Suman Anna wrote: > Hi Lokesh, > > The following 2 patches are minor cleanups that fix the various > CBASS interconnect node names from "interconnect" to "bus" on > K3 AM65x and J721E SoCs. "bus" is the correct dt-schema acceptible > node name. Applied to u-boot-ti Thanks

Re: [PATCH v2 00/13] Add support for USB host and peripheral bootmodes on am65x-idk

2020-08-11 Thread Lokesh Vutla
On 03/08/20 11:35 am, Faiz Abbas wrote: > The following patches add support for USB mass storage and USB dfu > bootmodes on am654x-idk. > > Because of space constrains and the size of the USB stack, > there are two different usbmsc and usbdfu defconfigs for building R5 SPL. > Fitting both of th

Re: [PATCH] mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value

2020-08-11 Thread Lokesh Vutla
On 29/07/20 7:03 am, Faiz Abbas wrote: > The hardcoded array size leads to array overflows with changes in > speed modes enum in mmc core. Use MMC_MODES_END for otap_del_sel > array declaration to fix this. > > Signed-off-by: Faiz Abbas Applied to u-boot-ti Thanks and regards, Lokesh

Re: [PATCH v4 00/19] arm: mach-k3: Initial support for Texas Instrument's J7200 Platform

2020-08-11 Thread Lokesh Vutla
On 08/08/20 4:22 pm, Lokesh Vutla wrote: > This series adds initial support for latest new SoC, J7200, from Texas > Instruments. > > The J7200 SoC is a part of the K3 Multicore SoC architecture platform. > It is targeted for for automotive gateway, vehicle compute system

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

2020-08-11 Thread Lokesh Vutla
On 07/08/20 12:26 am, Vignesh Raghavendra wrote: > Enable USB, HyperFlasha and CPSW on J7200 SoC > > Based on top of https://patchwork.ozlabs.org/project/uboot/list/?series=194305 Applied to u-boot-ti Thanks and regards, Lokesh

Re: [PATCH v2 0/3] watchdog: K3: Add RTI watchdog support

2020-08-11 Thread Lokesh Vutla
On 11/08/20 4:12 pm, Jan Kiszka wrote: > On 11.08.20 12:33, Lokesh Vutla wrote: >> >> >> On 23/06/20 4:45 pm, Jan Kiszka wrote: >>> This brings watchdog support for the TI K3 SoCs, derived from the Linux >>> kernel, augmented with firmware loading as nee

Re: [PATCH v2 0/3] watchdog: K3: Add RTI watchdog support

2020-08-11 Thread Lokesh Vutla
Hi Jan, On 11/08/20 6:07 pm, Jan Kiszka wrote: > On 11.08.20 12:46, Lokesh Vutla wrote: >> >> >> On 11/08/20 4:12 pm, Jan Kiszka wrote: >>> On 11.08.20 12:33, Lokesh Vutla wrote: >>>> >>>> >>>> On 23/06/20 4:45 pm, Jan Kiszka wro

Re: [GIT PULL] TI changes for v2020.10-rc3

2020-08-11 Thread Lokesh Vutla
Hi Tom, Jan On 11/08/20 8:32 pm, Jan Kiszka wrote: > On 11.08.20 16:56, Tom Rini wrote: >> On Tue, Aug 11, 2020 at 04:02:37PM +0530, Lokesh Vutla wrote: >> >>> Hi Tom, >>> Please find the pull request for v2020.10-rc3 containing TI specific >>> chang

Re: [PATCH v2 0/3] watchdog: K3: Add RTI watchdog support

2020-08-11 Thread Lokesh Vutla
On 11/08/20 8:28 pm, Jan Kiszka wrote: > On 11.08.20 16:36, Lokesh Vutla wrote: >> Hi Jan, >> >> On 11/08/20 6:07 pm, Jan Kiszka wrote: >>> On 11.08.20 12:46, Lokesh Vutla wrote: >>>> >>>> >>>> On 11/08/20 4:12

[GIT PULL v2] TI changes for v2020.10-rc3

2020-08-11 Thread Lokesh Vutla
RTI watchdog arm: dts: k3: Add RTI watchdogs Jean-Jacques Hiblot (1): arm: mach-k3: Fix platform hang when SPL_MULTI_DTB_FIT is not enabled Kishon Vijay Abraham I (1): soc: soc_ti_k3: Add device identification for J7200 SoC Lokesh Vutla (15): board: ti: board_detect: Add

[PATCH 1/3] firmware: ti_sci: drop the device ids to resource id translation table

2020-08-16 Thread Lokesh Vutla
With ABI 3.0, sysfw deprecated special resource types used for AM65x SoC. Instead started using device id as resource type similar to the convention used in J721E SOC. Signed-off-by: Lokesh Vutla --- drivers/firmware/ti_sci.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions

[PATCH 2/3] firmware: ti_sci: Drop unused structure ti_sci_rm_type_map

2020-08-16 Thread Lokesh Vutla
struct ti_sci_rm_type_map is no longer used. Drop its definition and its declarations. Signed-off-by: Lokesh Vutla --- drivers/firmware/ti_sci.c | 52 +++ 1 file changed, 3 insertions(+), 49 deletions(-) diff --git a/drivers/firmware/ti_sci.c b/drivers

[PATCH 0/3] arm: k3: Update to SYFW ABI 3.0 changes

2020-08-16 Thread Lokesh Vutla
Update the ti_sci driver and am65x dts to support SYSFW ABI 3.0. This series is meant to be merged only after sysfw releases 2020.02 binaries. Corresponding kernel changes are applied to linux-next[0] [0] https://patchwork.kernel.org/cover/11703313/ Lokesh Vutla (3): firmware: ti_sci: drop

[PATCH 3/3] arm: dts: k3-am65: Update the RM resource types

2020-08-16 Thread Lokesh Vutla
Update the ringacc and udma dt nodes to use the latest RM resource types similar to the ones used in k3-j721e dt nodes. Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-am65-mcu.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/k3-am65-mcu.dtsi b

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 f0cc4ea

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 daa69ffe3d

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 spl

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 rela

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

[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: https://gi

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

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

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

Re: [PATCH 2/3] watchdog: omap_wdt: Fix WDT reloading

2020-02-03 Thread Lokesh Vutla
> Cc: Grygorii Strashko > Cc: Sam Protsenko > Cc: Suniel Mahesh Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 3/3] watchdog: omap_wdt: Fix WDT coding style

2020-02-03 Thread Lokesh Vutla
-- > 1 file changed, 22 insertions(+), 22 deletions(-) Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 0/9] TI: AM654/J721e: Add support to boot from OSPI

2020-02-03 Thread Lokesh Vutla
rds, Lokesh > > Lokesh Vutla (1): > ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFW > > Vignesh Raghavendra (8): > drivers: Descend to drivers/soc unconditionally > ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMU > ARM: dts: k3-am65: Add O

[GIT PULL] TI changes for v2020.04-rc2

2020-02-03 Thread Lokesh Vutla
Hi Tom, Please find the pull request for v2020.04-rc2 containing TI specific changes. This PR is a re spin of previous PR[0] without mmc changes and fetched few dt changes and watchdog fixes. [0] https://patchwork.ozlabs.org/patch/1230709/ Travis-CI build: https://travis-ci.org/lokeshvutla/u-bo

Re: [PATCH v4 00/10] am57xx: Implement Android 10 boot flow

2020-02-03 Thread Lokesh Vutla
On 24/01/20 9:23 PM, Sam Protsenko wrote: > Android 10 brings a lot of new requirements for bootloaders: [1]. This > patch series attempts to implement such a boot process on BeagleBoard > X15 platform. Some common code is added too, which can be reused later > for other platforms (see "abootimg

Re: [PATCH 0/4] J721e: Add I2C nodes

2020-02-03 Thread Lokesh Vutla
On 27/01/20 11:22 PM, Vignesh Raghavendra wrote: > Add I2C and I2C IO expander nodes Series pulled into u-boot-ti tree. Thanks and regards, Lokesh

Re: [PATCH] gpio: pca953x_gpio: Add support for 24 bit IO expander

2020-02-03 Thread Lokesh Vutla
On 27/01/20 11:19 PM, Vignesh Raghavendra wrote: > J721e EVM has a TCA6424 IO expander that has 24 GPIOs. Add support for > the same > > Signed-off-by: Vignesh Raghavendra pulled into u-boot-ti tree. Thanks and regards, Lokesh

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

2020-02-03 Thread Lokesh Vutla
On 24/01/20 10:14 AM, Marek Vasut wrote: > The timeout parameter of omap3_wdt_start() is in miliseconds, while > GET_WLDR_VAL() expects parameter in seconds. Fix this so the WDT > driver is actually usable. > > Signed-off-by: Marek Vasut > Cc: Grygorii Strashko > Cc: Sam Protsenko > Cc: Suni

Re: [PATCH 0/7] J721e: Add support for DFU boot mode

2020-02-03 Thread Lokesh Vutla
On 27/01/20 5:59 PM, Vignesh Raghavendra wrote: > This series adds support to boot via USB DFU mode. Series pulled into u-boot-ti tree. Thanks and regards, Lokesh

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

2020-02-05 Thread Lokesh Vutla
On 04/02/20 12:06 PM, Keerthy wrote: > This patch series enables mcu_r5fss0_core0 & main_r5fss0_core0. > Tested for firmware loading and execution on J721e. I still see build error with multiple imx boards: === arm: + mx7dsabresd_qspi +

Re: [PATCH v3 02/10] arm: k3: Add support for loading non linux remote cores

2020-02-05 Thread Lokesh Vutla
gt;>>> loading the elf firmware in SPL and starting the remotecore. >>>>>>>>>> >>>>>>>>>> In order to start the core, there should be a file with path >>>>>>>>>> "/lib/firmware/j7-main-r5f0_

Re: [PATCH 02/11] video: omap: add missing bitfield masks

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Add, if missing, the bitfield masks in the setting macros of the LCD > controller registers. may be cleaner to use GENMASK Thanks and regards, Lokesh > > Signed-off-by: Dario Binacchi > --- > > drivers/video/am335x-fb.c | 10 +- > 1 fi

Re: [PATCH 01/11] video: omap: use BIT() macro

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Use the standard BIT() macro for bitfield definitions. > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 06/11] video: omap: fix debug message

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > "DISP" -> "DIV" > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH 07/11] video: omap: add loop exit conditions to the dpll setup

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > In case of null error, round rate is equal to target rate, so it is > useless to continue to search the DPLL setup parameters to get the > desidered pixel clock rate. > > Signed-off-by: Dario Binacchi Reviewed-by: Lokesh Vut

Re: [PATCH 09/11] video: omap: add support for DM/DTS

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Update the driver to support the device tree and the driver model. > Timings and panel parameters are now loaded from the device tree. > > The DM code replaces the am335x_lcdpanel structure with > tilcdc_panel_info taken from the linux kernel, as we

Re: [PATCH 10/11] arm: fdt: omap: update dts panel node

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:17 AM, Dario Binacchi wrote: > Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel" > compatible node. In this way the video-uclass module can allocate the > amount of memory needed to be assigned to the frame buffer. hmm..why do you need to add pre-reloc for allocatin

Re: [PATCH] omap: move GPIO_TO_PIN macro to asm/arch-am33xx/gpio

2020-02-09 Thread Lokesh Vutla
On 10/02/20 12:22 AM, Dario Binacchi wrote: > It's a generic macro like the others found in gpio.h which can now also > be used in other modules besides the one in which it was previously > defined. hmm.. who is the user of this macro? Any drivers should directly use gpio uclass apis. These boa

[PATCH] arm: mach-k3: Fix nomenclature on Silicon Revisions

2020-02-09 Thread Lokesh Vutla
Data manual mentions the new silicon revisions as SR instead of PG. Use the same nomenclature inside U-Boot as well. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3

[PATCH] ARM: keystone2: enable initrd fixup for LPAE addressing

2020-02-10 Thread Lokesh Vutla
configuration, but this is disabled at the moment. Enable the fixup by setting the env variable for this so that initrd can be used properly. Signed-off-by: Tero Kristo Signed-off-by: Lokesh Vutla --- - This fixes boot on k2g platforms. include/configs/ti_armv7_keystone2.h | 1 + 1 file

Re: [PATCH] ARM: keystone2: enable initrd fixup for LPAE addressing

2020-02-11 Thread Lokesh Vutla
Hi Tom, On 11/02/20 8:31 PM, Tom Rini wrote: > On Tue, Feb 11, 2020 at 09:25:52AM +0530, Lokesh Vutla wrote: > >> From: Tero Kristo >> >> Keystone2 u-boot loads the initrd image into non-LPAE addressed memory >> but linux kernel is running in LPAE. This causes a

[PATCH] arm: K3: j721e: Fix boot parameter table index memory address

2020-02-11 Thread Lokesh Vutla
this issue by updating the value to the correct one also in alignment with the J721E Technical Reference Manual (TRM). Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-k3

[PATCH] armV7R: K3: am654: Activate early console functionality

2020-02-11 Thread Lokesh Vutla
From: Andreas Dannenberg Activate early console functionality on AM65x devices to allow for early diagnostic messages until the main console is ready to get activated. Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 10 ++ 1 file

Re: [PATCH 0/5] J7200: Add HyperFlash boot support

2020-09-15 Thread Lokesh Vutla
On 13/08/20 2:56 pm, Vignesh Raghavendra wrote: > Add support to boot from HyperFlash on J7200 SoC Applied to u-boot-ti. Thanks and regards, Lokesh

Re: [PATCH 0/3] Configure J721E Main R5FSS1 to Split-mode & env

2020-09-15 Thread Lokesh Vutla
On 18/08/20 3:27 am, Suman Anna wrote: > Hi Lokesh, > > The following series all deal with the different R5F clusters on J721E > SoCs. The first 2 patches change the default mode for the Main R5FSS1 > cluster on J721E SoCs from LockStep-mode to Split-mode, and updates > the env variable 'rproc_

Re: [PATCH 0/8] Early-boot support of R5FSS from A72 U-Boot for J7200 SoCs

2020-09-15 Thread Lokesh Vutla
On 18/08/20 4:45 am, Suman Anna wrote: > Hi Lokesh, > > The following series adds the early-boot support of the revised R5FSS IP > on J7200 SoCS from A72 U-Boot. The J7200 SoCs has two R5FSS clusters, one > in MCU domain and another in MAIN domain. Patches are on top of the latest > master + "C

Re: [PATCH 0/3] MCU R5F branch-only boot on J7200 SoCs

2020-09-15 Thread Lokesh Vutla
On 19/08/20 12:39 am, Suman Anna wrote: > Hi Lokesh, > > The following series adds the support for the branch-only boot of an > application firmware on MCU R5F from R5 SPL after it has finished > launching the A72. > > Most of the changes are just related to updating J7200 defconfigs or > dts

Re: [PATCH v2 0/5] Add spi boot support to am335x-icev2

2020-09-15 Thread Lokesh Vutla
On 14/09/20 12:11 pm, Faiz Abbas wrote: > The following patches add spi boot support to TI's am335x-icev2 platform > > v2: > 1. Changed order of patches to avoid breaking build > 2. Changed SPI_OFFSET to SPI0_OFFSET and moved the define >arch/arm/mach-omap2/am335x/board.c > 3. Updated MAINT

[GIT PULL] TI changes for v2021.01 next

2020-09-15 Thread Lokesh Vutla
Hi Tom, Please find the PR for next branch targeted for v2021.01. Details about the PR are updated in the tag message. Travis CI build: https://travis-ci.org/github/lokeshvutla/u-boot/builds/727363752 The following changes since commit 96d66a9b8ce11aae9f8bef5244b83b4740b37644: Prepar

Re: armv7R: K3: am654: U-Boot

2020-09-25 Thread Lokesh Vutla
Hi Michal, On 14/09/20 8:29 pm, Michal Simek wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Tom, > > On 14. 09. 20 16:47, Tom Rini wrote: >> On Mon, Sep 14, 2020 at 04:42:56PM +0200, Michal Simek wrote: >> >>> Hi Tom and Lokesh, >>> >>> I have been validating R5 on ZynqMP if u-b

Re: [PATCH 0/5] configs: ti: am65x/j721e: Use DEFAULT_LINUX_BOOT_ENV

2020-10-06 Thread Lokesh Vutla
On 07/10/20 12:35 am, Nishanth Menon wrote: > Use the common defaults from ./include/configs/ti_armv7_common.h > > This saves us from rediscovering the same painful lessons learnt from > ARMv7 (kernel dtbs ramdisks overlays stomping on each other etc..) If PATCH 3 is made as PATCH 1, then exis

Re: [PATCH 00/17] Add support for MMC higher speed modes for TI's am65x, j721e and j7200 platforms

2020-10-11 Thread Lokesh Vutla
Hi Peng, On 08/10/20 10:42 am, Faiz Abbas wrote: > The following patches add support for higher speeds in the SD card and > eMMC for TI's am65x, j721e, j7200 platforms. > > After these patches j721e and j7200 will support ultra high speed while > am65x will support upto high speed modes. > > Fai

[GIT PULL] TI changes for v2021.01-rc1

2020-10-12 Thread Lokesh Vutla
Hi Tom, Please find the PR containing TI related changes targeted for v2020.01-rc1. Details about the PR are updated in the tag message. Travis CI build: https://travis-ci.org/github/lokeshvutla/u-boot/builds/734874116 The following changes since commit 050acee119b3757fee3bd128f55d720fdd

Re: [PATCH] board: ti: j721e: Fix OSPI node compatible

2020-10-12 Thread Lokesh Vutla
On 17/09/20 4:48 pm, Vignesh Raghavendra wrote: > Update detect_enable_hyperflash() to look for "ti,am654-ospi" compatible > to match the upstream DT node. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot-ti. Thanks and regards, Lokesh

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

2020-10-12 Thread Lokesh Vutla
On 17/09/20 8:11 pm, Vignesh Raghavendra wrote: > Reset the channel completely during channel release in order to clear > teardown bit before handing over to next user or jumping to Linux. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot-ti. Thanks and regards, Lokesh

Re: [PATCH] configs: am335x_evm_defconfig: Enable CONFIG_OF_LIBFDT_OVERLAY

2020-10-12 Thread Lokesh Vutla
On 16/09/20 4:23 pm, Vignesh Raghavendra wrote: > This enables applying DTBOs at U-Boot prompt before booting to kernel. > > Signed-off-by: Vignesh Raghavendra Applied to u-boot-ti. Thanks and regards, Lokesh

Re: [PATCH V2 0/4] configs: ti: am65x/j721e: Use DEFAULT_LINUX_BOOT_ENV

2020-10-12 Thread Lokesh Vutla
On 08/10/20 8:17 am, Nishanth Menon wrote: > Use the common defaults from ./include/configs/ti_armv7_common.h > > This saves us from rediscovering the same painful lessons learnt from > ARMv7 (kernel dtbs ramdisks overlays stomping on each other etc..) > > Changes since v1: > - Squashed up am6

Re: [PATCH] phy: omap-usb2-phy: Drop usage of "ti, dis-chg-det-quirk" DT property

2020-10-12 Thread Lokesh Vutla
On 08/10/20 2:58 pm, Vignesh Raghavendra wrote: > "ti,dis-chg-det-quirk" property is not part of Linux kernel DT binding > documentation. Therefore drop this and instead use soc_device_match() > to distinguish b/w AM654 SR1.0 and SR2.0 devices similar to Linux kernel > driver. > > Signed-off-b

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

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

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

[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

[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 1/5] ti: common: board_detect: Handle EEPROM probe more gracefully

2020-01-05 Thread Lokesh Vutla
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

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