[PATCH 2/3] configs: j721e_evm: Add Main R5FSS1 Core1 to default rproc boot list

2020-08-17 Thread Suman Anna
re1 cannot be booted before its associated Core0. Signed-off-by: Suman Anna --- include/configs/j721e_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index c8a76037ff03..2b04b39e7df0 100644 --- a/include/configs/j721e_evm.h +++

[PATCH 1/3] arm: dts: k3-j721e-main: Configure MAIN R5FSS1 for Split-mode

2020-08-17 Thread Suman Anna
all J721E SoCs. Signed-off-by: Suman Anna --- arch/arm/dts/k3-j721e-main.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-j721e-main.dtsi b/arch/arm/dts/k3-j721e-main.dtsi index a285b1afa842..33db74a267a6 100644 --- a/arch/arm/dts/k3-j721e-main.dtsi +++ b

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

2020-08-17 Thread Suman Anna
the newer SYSFW with the appropriate kernel changes. All patches are based on the latest master. regards Suman Suman Anna (3): arm: dts: k3-j721e-main: Configure MAIN R5FSS1 for Split-mode configs: j721e_evm: Add Main R5FSS1 Core1 to default rproc boot list env: ti: j721e-evm: Limit scope of

[PATCH 3/3] env: ti: j721e-evm: Limit scope of rproc env variables used by R5 SPL

2020-08-17 Thread Suman Anna
lude the hex prefix like with other such env variables. Cc: Keerthy Signed-off-by: Suman Anna --- include/configs/j721e_evm.h | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index 2b04b39e7df0..cddcd

[PATCH 2/8] remoteproc: k3-r5: Add support for J7200 R5Fs

2020-08-17 Thread Suman Anna
. This combined TCMs appear contiguous at the respective Core0 TCM addresses. Add the support to these clusters in the K3 R5F remoteproc driver using J7200 specific compatibles and revised logic accounting for the above IP features/differences. Signed-off-by: Suman Anna --- drivers/remoteproc

[PATCH 1/8] dt-bindings: remoteproc: k3-r5f: Update bindings for J7200 SoCs

2020-08-17 Thread Suman Anna
R5F clusters/subsystems on K3 J7200 SoCs. Signed-off-by: Suman Anna --- doc/device-tree-bindings/remoteproc/ti,k3-r5f-rproc.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/device-tree-bindings/remoteproc/ti,k3-r5f-rproc.txt b/doc/device-tree-bindings/remoteproc/ti

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

2020-08-17 Thread Suman Anna
ver and needed options for A72 U-Boot - Patch #8 enhances the bootcmd variable to include the booting of the rprocs based on couple of control variables regards Suman [1] https://patchwork.ozlabs.org/project/uboot/list/?series=196091 Suman Anna (8): dt-bindings: remoteproc: k3-r5f: Updat

[PATCH 3/8] armv8: K3: j7200: Add custom MMU support

2020-08-17 Thread Suman Anna
, so use less memory for the remote processors. So, a separate table based on the current J721E table is added for J7200 SoCs, and selected using the appropriate Kconfig CONFIG_TARGET_J7200_A72_EVM symbol. Signed-off-by: Suman Anna --- arch/arm/mach-k3/arm64-mmu.c | 59

[PATCH 4/8] arm: dts: k3-j7200-mcu: Add MCU domain R5F cluster node

2020-08-17 Thread Suman Anna
with boot-strapping code from ATCM. The inter-processor communication between the main A72 cores and these processors is achieved through shared memory and Mailboxes. Signed-off-by: Suman Anna --- arch/arm/dts/k3-j7200-common-proc-board.dts | 5 +++ arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 40

[PATCH 7/8] configs: j7200_evm_a72: Enable R5F remoteproc driver

2020-08-17 Thread Suman Anna
The J7200 SoCs has two R5F sub-systems. Enable the TI K3 R5F remoteproc driver and the remoteproc command options to allow these R5F processors to be booted from A72 U-Boot. The Kconfigs are added using savedefconfig. Signed-off-by: Suman Anna --- configs/j7200_evm_a72_defconfig | 4 +++- 1

[PATCH 8/8] configs: j7200_evm_a72: Enhance bootcmd to start remoteprocs

2020-08-17 Thread Suman Anna
environment variables. Signed-off-by: Suman Anna --- configs/j7200_evm_a72_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig index 52440a09a647..3572d7ba9414 100644 --- a/configs/j7200_evm_a72_defconfig

[PATCH 5/8] arm: dts: k3-j7200-main: Add MAIN domain R5F cluster nodes

2020-08-17 Thread Suman Anna
boot-strapping code from ATCM. The inter-processor communication between the main A72 cores and these processors is achieved through shared memory and Mailboxes. Signed-off-by: Suman Anna --- arch/arm/dts/k3-j7200-common-proc-board.dts | 2 ++ arch/arm/dts/k3-j7200-main.dtsi | 40

[PATCH 6/8] env: ti: j721e-evm: Update rproc_fw_binaries env variable for J7200

2020-08-17 Thread Suman Anna
w The MCU R5FSS0 is in LockStep mode and is expected to be booted by R5 SPL, so it is not included in the list. The order of rprocs to boot cannot be really modified as only the Main R5FSS0 cores are involved and Core0 has to be booted first always before the corresponding Core1. Signed-off-by: Suma

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

2020-08-18 Thread Suman Anna
ards Suman [1] https://patchwork.ozlabs.org/project/uboot/list/?series=196101 Suman Anna (3): env: ti: j721e-evm: Update R5 SPL rproc env variables for J7200 arm: dts: k3-j7200-r5: Add fs_loader node configs: j7200_evm_r5: Enable FS_LOADER arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 6 +

[PATCH 2/3] arm: dts: k3-j7200-r5: Add fs_loader node

2020-08-18 Thread Suman Anna
Add a generic fs_loader node to the K3 J7200 R5 common board dts file and use it as the chosen firmware-loader so that it can be used for loading various firmwares from a boot media/filesystem in R5 SPL on K3 J7200 EVM. Signed-off-by: Suman Anna --- arch/arm/dts/k3-j7200-r5-common-proc

[PATCH 1/3] env: ti: j721e-evm: Update R5 SPL rproc env variables for J7200

2020-08-18 Thread Suman Anna
different from that on J721E SoCs. Signed-off-by: Suman Anna --- include/configs/j721e_evm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/j721e_evm.h b/include/configs/j721e_evm.h index dc06de234154..5e6e6f81694b 100644 --- a/include/configs/j721e_evm.h +++ b/include

[PATCH 3/3] configs: j7200_evm_r5: Enable FS_LOADER

2020-08-18 Thread Suman Anna
Enable the FS_LOADER and associated configs in the j7200_evm_r5_defconfig so that the R5 SPL can support the loading of firmware files from a boot media/file system. Signed-off-by: Suman Anna --- configs/j7200_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

Re: [PATCH 2/3] arm: dts: k3-j7200-r5: Add fs_loader node

2020-08-19 Thread Suman Anna
Hi Lokesh, On 8/18/20 2:09 PM, Suman Anna wrote: > Add a generic fs_loader node to the K3 J7200 R5 common board dts > file and use it as the chosen firmware-loader so that it can be > used for loading various firmwares from a boot media/filesystem > in R5 SPL on K3 J7200 EVM. >

[PATCH] arm: dts: k3-j721e: Fix up MAIN R5FSS cluster mode back to Split-mode

2021-05-13 Thread Suman Anna
p mode Load Remote Processor 5 with data@addr=0x8200 98484 bytes: Failed! Fix this by switching back both the clusters to the expected Split-mode. Fixes: 70e167495ab2 ("arm: dts: k3-j721e: Sync Linux v5.11-rc6 dts into U-Boot") Reported-by: Minas Hambardzumyan Signed-off-by: Su

[PATCH 0/3] Fix 'reset' for TI K3 AM64x and J721E/J7200 boards

2021-05-13 Thread Suman Anna
ate ti_sci_msg_req_reboot to include domain Suman Anna (2): arm: dts: k3-am642-evm: Add sysreset controller node arm: dts: k3-am642-sk: Add sysreset controller node arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 arch/arm/dts/k3-am642-sk-u-boot.dtsi | 4 drivers/firmware/ti_sci.c

[PATCH 1/3] firmware: ti_sci: Update ti_sci_msg_req_reboot to include domain

2021-05-13 Thread Suman Anna
Gerlach Signed-off-by: Suman Anna --- drivers/firmware/ti_sci.c | 1 + drivers/firmware/ti_sci.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 2aec2e34d303..4671a5e3a8a6 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers

[PATCH 2/3] arm: dts: k3-am642-evm: Add sysreset controller node

2021-05-13 Thread Suman Anna
to enable the "reset" command from U-Boot prompt for the K3 AM642 EVM. Signed-off-by: Suman Anna --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index 9b

[PATCH 3/3] arm: dts: k3-am642-sk: Add sysreset controller node

2021-05-13 Thread Suman Anna
to enable the "reset" command from U-Boot prompt for the K3 AM642 SK. Signed-off-by: Suman Anna --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index 4a

[PATCH v2] arm: dts: k3-j721e: Fix up MAIN R5FSS cluster mode back to Split-mode

2021-05-18 Thread Suman Anna
plit-mode by default. Fixes: 70e167495ab2 ("arm: dts: k3-j721e: Sync Linux v5.11-rc6 dts into U-Boot") Reported-by: Minas Hambardzumyan Signed-off-by: Suman Anna --- v2: - Move the cluster mode change from k3-j721e-main.dtsi to the u-boot board dtsi file, k3-j721e-common-proc-boar

Re: [PATCH v2 2/2] arm: dts: k3-am64-main: Reserve OCMRAM for DMSC-lite and secure proxy communication

2021-06-16 Thread Suman Anna
ci/esd/latest/6_topic_user_guides/security_handover.html#triggering-security-handover > > Signed-off-by: Aswath Govindraju Acked-by: Suman Anna You may actually want to reorder so that this patch is first. regards Suman > --- > arch/arm/dts/k3-am64-main.dtsi | 8 > 1 file

Re: [PATCH v2 1/2] configs: am64x_evm_a53_defconfig: Move TF-A load address to 0x701c0000

2021-06-16 Thread Suman Anna
ize") > Signed-off-by: Aswath Govindraju Reviewed-by: Suman Anna > --- > arch/arm/dts/k3-am64-main.dtsi | 4 ++-- > configs/am64x_evm_a53_defconfig | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/dts/k3-am64-main.dtsi b/arch/arm/dts/k

[PATCH] remoteproc: k3_r5: Sync to upstreamed kernel DT property names

2021-01-26 Thread Suman Anna
gt; ti,btcm-enable loczrama => ti,loczrama Update the K3 R5F remoteproc driver, the corresponding binding, and all the existing usage in AM65x, J721E and J7200 dts files all at once to use the new properties and to not break any bisectability. Signed-off-by: Suman Anna --- Hi Lokesh, A

[PATCH] arm: dts: k3-am65: Fix up MCU R5FSS cluster mode back to Split-mode

2021-07-26 Thread Suman Anna
the u-boot specific dtsi file to avoid such sync overrides in the future until the kernel dts is also switched to Split-mode by default. Fixes: e49787634312 ("arm: dts: k3-am65: Sync Linux v5.11-rc6 dts into U-Boot") Signed-off-by: Suman Anna --- arch/arm/dts/k3-am654-base-board-u-boot.dt

[PATCH 3/5] arm: mach-k3: Cleanup common start_non_linux_remote_cores()

2021-07-26 Thread Suman Anna
The mach-k3 common code defined a weak start_non_linux_remote_cores() function so that the proper implementation can be plugged in the SoC-specific source files. This won't be needed anymore, so remove the the common code. Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 5 -

[PATCH 0/5] Cleanup MAIN R5F boot from R5 SPL

2021-07-26 Thread Suman Anna
Suman Anna (5): arm: mach-k3: j721e: Move booting of Main R5FSS Core0 to A72 U-Boot arm: mach-k3: j721e: Cleanup MAIN R5 boot code from R5 SPL arm: mach-k3: Cleanup common start_non_linux_remote_cores() arm: dts: k3-j721e-r5: Remove MAIN R5FSS0 cluster from SPL configs: j721e_evm_r5: Disable

[PATCH 2/5] arm: mach-k3: j721e: Cleanup MAIN R5 boot code from R5 SPL

2021-07-26 Thread Suman Anna
(TIFS) and Device Management (DM) firmwares. So, cleanup the corresponding code and the related SPL env variables. Signed-off-by: Suman Anna --- arch/arm/mach-k3/j721e_init.c | 40 --- include/configs/j721e_evm.h | 2 -- 2 files changed, 42 deletions(-) diff --

[PATCH 1/5] arm: mach-k3: j721e: Move booting of Main R5FSS Core0 to A72 U-Boot

2021-07-26 Thread Suman Anna
env variables are left as is for now, and will be cleaned up in a subsequent patch. Signed-off-by: Suman Anna --- arch/arm/mach-k3/j721e_init.c | 6 +- include/configs/j721e_evm.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm

[PATCH 4/5] arm: dts: k3-j721e-r5: Remove MAIN R5FSS0 cluster from SPL

2021-07-26 Thread Suman Anna
t;arm: dts: k3-j721e-r5: Enable r5fss0 cluster in SPL"). Signed-off-by: Suman Anna --- .../dts/k3-j721e-r5-common-proc-board-u-boot.dtsi | 14 -- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 -- 2 files changed, 16 deletions(-) diff --git a/arch/arm/dts/k3-j721e-r5-c

[PATCH 5/5] configs: j721e_evm_r5: Disable K3 R5F remoteproc

2021-07-26 Thread Suman Anna
therefore no longer needed in R5 SPL, so drop it from the J721E R5 defconfig. Signed-off-by: Suman Anna --- configs/j721e_evm_r5_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/j721e_evm_r5_defconfig b/configs/j721e_evm_r5_defconfig index 72140852f3be..33ec0c06d155 100644 --- a

Re: [PATCH 0/5] Cleanup MAIN R5F boot from R5 SPL

2021-07-26 Thread Suman Anna
On 7/26/21 4:13 PM, Suman Anna wrote: > Hi Lokesh, > > The following series cleans up the code related to booting of Main > R5FSS0 Core0 from R5 SPL, and moves it to A72 U-Boot on J721E SoCs. > This is no longer supported after the R5 SPL re-architecture that > splits t

[PATCH] board: ti: k2g: Program PadConfig_202 before locking RSTMUX8

2021-07-26 Thread Suman Anna
PRU1 Ethernet PHY port to work properly. The workaround was added only for the K2G-ICE board to configure the pins needed for the PRUSS Ethernet usecase. Signed-off-by: Suman Anna --- board/ti/ks2_evm/mux-k2g.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/ti/ks2_evm/mux-k2g.h b

[PATCH 0/2] J721E/J7200 postdiv clk parenting/data fixes

2021-07-27 Thread Suman Anna
POSTDIV clock acts as input clock for certain HSDIV output clocks. So, the fixes only correct the parents and their rates, and none of the child clock rates are affected. Boot tested and verified the clock rates on both J721E and J7200 EVMs. regards Suman Suman Anna (2): arm: mach-k3: j721e: Fix

[PATCH 1/2] arm: mach-k3: j721e: Fix clk-data parenting for postdiv PLL clocks

2021-07-27 Thread Suman Anna
the actual implementation. Fix the data by simply adjusting the register bit-shifts. The Main PLL1 POSTDIV clocks were also defined incorrectly using Main PLL0 register values, fix these as well. Fixes: 277729eaf373 ("arm: mach-k3: Add platform data for j721e and j7200") Signed-off-by:

[PATCH 2/2] arm: mach-k3: j7200: Fix clk-data parenting for postdiv PLL clocks

2021-07-27 Thread Suman Anna
the actual implementation. Fix the data by simply adjusting the register bit-shifts. The Main PLL1 POSTDIV clocks were also defined incorrectly using Main PLL0 register values, fix these as well. Fixes: 277729eaf373 ("arm: mach-k3: Add platform data for j721e and j7200") Signed-off-by:

[PATCH 0/2] Minor misc. cleanups for TI K3 SoCs

2021-07-27 Thread Suman Anna
#2 defines a release_resources_for_core_shutdown() stub. This function is used in the common code, but yet is expected to be implemented in a SoC-specific source file. regards Suman Suman Anna (2): firmware: ti_sci: Include linux/err.h in ti_sci_protocol.h arm: mach-k3: common: Add a

[PATCH 2/2] arm: mach-k3: common: Add a release_resources_for_core_shutdown() stub

2021-07-27 Thread Suman Anna
Add a weak release_resources_for_core_shutdown() stub implementation that can be overridden by actual implementation if a SoC supports that function. Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-k3/common.c b/arch

[PATCH 1/2] firmware: ti_sci: Include linux/err.h in ti_sci_protocol.h

2021-07-27 Thread Suman Anna
, reorder the existing header file include to the beginning of the file. Signed-off-by: Suman Anna --- include/linux/soc/ti/ti_sci_protocol.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/soc/ti/ti_sci_protocol.h b/include/linux/soc/ti/ti_sci_protocol.h index

[PATCH 2/4] remoteproc: k3-dsp: Add a sanity check for DSP boot address alignment

2020-03-10 Thread Suman Anna
as follows: C66x DSP = 1 KB (0x400) C71x DSP = 2 MB (0x20) Signed-off-by: Suman Anna --- drivers/remoteproc/ti_k3_dsp_rproc.c | 34 +--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/drivers/remoteproc/ti_k3_dsp_rproc.c b/drivers

[PATCH 0/4] TI K3 DSP remoteproc fixes/enhancements

2020-03-10 Thread Suman Anna
results in a data abort, and patch 4 adds the logic to the driver. regards Suman Suman Anna (4): remoteproc: k3-dsp: Fix unbalanced state machine in k3_dsp_start remoteproc: k3-dsp: Add a sanity check for DSP boot address alignment armv8: K3: j721e: Add DSP internal memory regions in MMU table

[PATCH 3/4] armv8: K3: j721e: Add DSP internal memory regions in MMU table

2020-03-10 Thread Suman Anna
that can behave as normal-memories. Add a new entry to the J721E MMU table covering these regions with the appropriate memory attributes to allow the A72 U-Boot code to support loading directly into these memory regions. Signed-off-by: Suman Anna --- arch/arm/mach-k3/arm64-mmu.c | 8 +++- 1

[PATCH 4/4] remoteproc: k3-dsp: Add support for L2RAM loading on C66x DSPs

2020-03-10 Thread Suman Anna
RAMs. Signed-off-by: Suman Anna --- drivers/remoteproc/ti_k3_dsp_rproc.c | 90 +--- 1 file changed, 83 insertions(+), 7 deletions(-) diff --git a/drivers/remoteproc/ti_k3_dsp_rproc.c b/drivers/remoteproc/ti_k3_dsp_rproc.c index 4937fdd0a776..1fc8193ad93f 100644 --- a

[PATCH 1/4] remoteproc: k3-dsp: Fix unbalanced state machine in k3_dsp_start

2020-03-10 Thread Suman Anna
driver. Fixes: ab827b385718 ("remoteproc: Introduce K3 C66 and C71 remoteproc driver") Signed-off-by: Suman Anna --- drivers/remoteproc/ti_k3_dsp_rproc.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/remoteproc/ti_k3_dsp_rproc.c b/drivers/

[PATCH] remoteproc: k3-r5: Fix rproc init failure for Main R5FSS0

2020-03-10 Thread Suman Anna
teproc support") Signed-off-by: Suman Anna --- Hi Lokesh, The recently staged R5 SPL remoteproc boot support causes the rproc init command to fail on U-Boot prompt. This is a fix for the same. Patch is against ti/next branch. regards Suman drivers/remoteproc/ti_k3_r5f_rproc.c | 1 + 1 file ch

[PATCH] remoteproc: k3-r5: Fix rproc init failure on Split-mode _only_ devices

2020-03-10 Thread Suman Anna
e LockStep mode bit clear configuration only on devices supporting both LockStep/Split-modes. Fixes: 4c850356a83f ("remoteproc: Introduce K3 remoteproc driver for R5F subsystem") Signed-off-by: Suman Anna Signed-off-by: Andreas Dannenberg Signed-off-by: Lokesh Vutla --- Hi Lokesh, V

[PATCH] configs: ti: Fix usage of undefined variable overlay_files

2020-04-24 Thread Suman Anna
e_overlays env variable. Fixes: 76470b6929d5 ("configs: ti: Add environment support commands for FIT loading") Signed-off-by: Suman Anna --- include/configs/ti_armv7_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ti_armv7_common.

Re: [U-Boot] [PATCH] remoteproc: elf_loader: fix program header parsing

2019-10-11 Thread Suman Anna
ff-by: Fabien Dessenne Acked-by: Suman Anna regards Suman > --- > drivers/remoteproc/rproc-elf-loader.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/remoteproc/rproc-elf-loader.c > b/drivers/remoteproc/rproc-elf-loader.c > index 67937a7

Re: [U-Boot] [PATCH 4/5] stm32mp1: Fixup the Linux DeviceTree with coprocessor information

2019-10-11 Thread Suman Anna
Hi Fabien, On 10/9/19 10:36 AM, Fabien Dessenne wrote: > When the coprocessor has been started, provide the context to Linux > kernel so it can handle it: > - update the coprocessor node of kernel DeviceTree with the > "early-booted" property. Has this property been acked by DT maintainers at t

Re: [U-Boot] [PATCH 5/5] remoteproc: stm32: invert the is_running() return value

2019-10-11 Thread Suman Anna
On 10/9/19 10:36 AM, Fabien Dessenne wrote: > The .is_running() ops expects a return value of 0 if the processor is > running, 1 if not running : align to this. > > Signed-off-by: Fabien Dessenne This patch should be earlier than patch4, right? Reviewed-by: Suman Anna >

Re: [U-Boot] [PATCH 3/5] remoteproc: stm32: load resource table from firmware

2019-10-11 Thread Suman Anna
Hi Fabien, On 10/9/19 10:36 AM, Fabien Dessenne wrote: > Load the optional resource table from the firmware, and write its > address in the dedicated backup register. What processor is this? Reason I ask is that you are using 0 as a no resource table address, and if it is a valid address for that

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

2020-07-23 Thread Suman Anna
On 7/23/20 3:47 AM, Lokesh Vutla wrote: 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. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- board/ti/common/board_detect.h

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

2020-07-23 Thread Suman Anna
On 7/23/20 3:47 AM, Lokesh Vutla wrote: Guard all eeprom probe with TI_I2C_BOARD_DETECT to avoid reading eeprom when eeprom is not available Signed-off-by: Lokesh Vutla Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Suman Anna --- arch/arm/mach-k3/j721e_init.c | 3 ++- board/ti

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

2020-07-23 Thread Suman Anna
won't be broken with newer kernels. The logic also corrects the crypto node name as the DT node unit-addresses are all expected to be lower case. Signed-off-by: Suman Anna --- Hi Lokesh, This patch provides backward compatibility while adjusting for the new node names, and is needed for

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

2020-07-24 Thread Suman Anna
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. regards Suman Suman Anna (2): arm: dts: k3-am6

[PATCH 1/2] arm: dts: k3-am65: Fix interconnect node names

2020-07-24 Thread Suman Anna
The various CBASS interconnect nodes on K3 AM65x SoCs are defined using the node name "interconnect". This is not a valid node name as per the dt-schema. Fix these node names to use the standard name used for SoC interconnects, "bus". Signed-off-by: Suman Anna --- arch/arm/

[PATCH 2/2] arm: dts: k3-j721e: Fix interconnect node names

2020-07-24 Thread Suman Anna
The various CBASS interconnect nodes on K3 J721E SoCs are defined using the node name "interconnect". This is not a valid node name as per the dt-schema. Fix these node names to use the standard name used for SoC interconnects, "bus". Signed-off-by: Suman Anna --- arch/arm/d

Re: [PATCH v2 05/18] arm: mach-k3: Move mmr_unlock to a common location

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: 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

Re: [PATCH v2 06/18] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-07-27 Thread Suman Anna
Hi Lokesh, On 7/27/20 4:45 AM, Lokesh Vutla wrote: Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. In such cases, SPL need not load sysfw from boot media, but need to receive boot notification message from sysfw. So separate out remoteproc calls for system controller

Re: [PATCH v2 08/18] arm: mach-k3: j721e: Fix unlocking control module registers

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: 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

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

2020-07-27 Thread Suman Anna
, Reviewed-by: Suman Anna information before it gets corrupted. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/include/mach/hardware.h | 7 +++ arch/arm/mach-k3/include/mach/j721e_hardware.h | 3 +++ arch/arm/mach-k3/j721e_init.c | 7 +-- 3 files changed, 15

Re: [PATCH v2 11/18] arm: mach-k3: j7200: Detect if ROM has already loaded sysfw

2020-07-27 Thread Suman Anna
on the argument list on k3_sysfw_loader(), Reviewed-by: Suman Anna regards Suman message form sysfw. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/common.c | 8 arch/arm/mach-k3/common.h | 2 ++ arch/arm/mach-k3/j721e_init.c | 3 ++- 3 files changed, 12 insertions

Re: [PATCH v2 13/18] board: ti: j7200: Add board detection support for j7200

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: 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

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

2020-07-29 Thread Suman Anna
won't be broken with newer kernels. The logic also corrects the crypto node name as the DT node unit-addresses are all expected to be lower case. Signed-off-by: Suman Anna --- v2: dropped the local variable due to its usage only in the conditional CONFIG_TI_SECURE_DEVICE co

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

2020-08-06 Thread Suman Anna
Hi Lokesh, On 8/5/20 12:14 PM, Lokesh Vutla wrote: > 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 > >

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

2020-08-06 Thread Suman Anna
troller from sysfw loader and just > receive the boot 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 +- &g

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

2020-08-06 Thread Suman Anna
Hi Lokesh, On 8/5/20 12:14 PM, Lokesh Vutla wrote: > 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

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

2020-08-06 Thread Suman Anna
On 8/5/20 12:14 PM, Lokesh Vutla wrote: > 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

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

2020-08-06 Thread Suman Anna
On 8/6/20 8:49 AM, Suman Anna wrote: > Hi Lokesh, > > On 8/5/20 12:14 PM, Lokesh Vutla wrote: >> 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.

[PATCH] tools: k3_fit_atf: Fix DM binary FIT load addresses

2021-08-13 Thread Suman Anna
Fix this by using the address 0x8900, which matches the current "addr_mcur5f0_0load" env variable used by R5 SPL before the DM firmware inclusion into the tispl.bin. Fixes: df5363a67f35 ("tools: k3_fit_atf: add DM binary to the FIT image") Signed-off-by: Suman Anna ---

Re: [PATCH 3/5] arm: mach-k3: Add note to auto-generated files

2021-08-16 Thread Suman Anna
Hi Dave, On 8/11/21 12:12 AM, Lokesh Vutla wrote: > > > On 11/08/21 1:19 am, Dave Gerlach wrote: >> Add a note to the automatically generated clk-data and dev-data files >> for j721e and j7200 to indicate that they are in fact auto-generated and >> should not be hand edited. >> >> Signed-off-by:

Re: [PATCH] tools: k3_fit_atf: Fix DM binary FIT load addresses

2021-08-16 Thread Suman Anna
On 8/14/21 1:49 AM, Suman Anna wrote: > The DM binary runs on the MCU R5F Core0 after R5 SPL on J721E and J7200 > SoCs. The binary is built alongside the TFA, OPTEE and A72 SPL binaries > and included in the tispl.bin FIT image. The R5 SPL loads the DM binary > at 0xA00 address,

Re: [U-Boot] [PATCH 1/3] SPL: Let spl_parse_image_header() return value

2016-05-23 Thread Suman Anna
On 05/20/2016 07:22 PM, Fabio Estevam wrote: > On Fri, May 20, 2016 at 6:56 PM, Nishanth Menon wrote: >> Marek, >> >> Just forwarding report from Suman (in CC) reporting that as of u-boot >> master 4b6e1fd "Merge git://git.denx.de/u-boot-dm" >> It looks like BeagleBoard-X15, DRA7 platforms fail du

[U-Boot] [PATCH 4/4] ARM: DRA7: Add macros for voltage values for all OPPs

2016-05-23 Thread Suman Anna
can be redefined appropriately based on a selected OPP configuration at build time. Signed-off-by: Suman Anna --- arch/arm/include/asm/arch-omap5/clock.h | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/arch/arm/include/asm/arch-omap5/clock.h b

[U-Boot] [PATCH 0/4] DRA7 Voltage macro consolidation

2016-05-23 Thread Suman Anna
8317931&w=2 [2] https://patchwork.ozlabs.org/patch/624267/ Suman Anna (4): ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values ARM: DRA7: Define common macros for efuse register offsets ARM: DRA7: Consolidate voltage macros across different SoCs ARM: DRA7: Add macros for voltage v

[U-Boot] [PATCH 2/4] ARM: DRA7: Define common macros for efuse register offsets

2016-05-23 Thread Suman Anna
redefined properly to point to the OPP specific efuse register offset based on the desired OPP to program a specific voltage domain. Signed-off-by: Suman Anna --- arch/arm/cpu/armv7/omap5/hw_data.c | 20 ++-- arch/arm/include/asm/arch-omap5/clock.h | 7 +++ board/ti

[U-Boot] [PATCH 1/4] ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values

2016-05-23 Thread Suman Anna
together. Signed-off-by: Suman Anna --- arch/arm/include/asm/arch-omap5/clock.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/arch-omap5/clock.h b/arch/arm/include/asm/arch-omap5/clock.h index 38d50d6..9180c67 100644 --- a/arch/arm/include/asm/arch

[U-Boot] [PATCH 3/4] ARM: DRA7: Consolidate voltage macros across different SoCs

2016-05-23 Thread Suman Anna
of macros used when voltage values will be added for other OPPs as well. Signed-off-by: Suman Anna --- arch/arm/cpu/armv7/omap5/hw_data.c | 20 ++-- arch/arm/include/asm/arch-omap5/clock.h | 19 ++- board/ti/am57xx/board.c | 10 +- 3

Re: [U-Boot] [PATCH 0/4] DRA7 Voltage macro consolidation

2016-06-03 Thread Suman Anna
> [1] http://marc.info/?l=u-boot&m=146370308317931&w=2 > [2] https://patchwork.ozlabs.org/patch/624267/ > > Suman Anna (4): > ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values > ARM: DRA7: Define common macros for efuse register offsets > ARM: DRA7: Cons

Re: [U-Boot] [PATCH] configs: davinci: omapl138_lcdk: add random eth address support

2017-06-05 Thread Suman Anna
Hi Tom, Peter, On 05/16/2017 01:51 PM, Tom Rini wrote: > On Tue, May 16, 2017 at 12:50:18PM -0500, Suman Anna wrote: > >> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires >> that the 'ethaddr' variable be defined. There are no e-fuses to store >

[U-Boot] [PATCH] configs: davinci: omapl138_lcdk: add random eth address support

2017-05-16 Thread Suman Anna
g boot can be supported. Signed-off-by: Suman Anna --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index 0629f9636fd4..23fe084e5476 100644 --- a/configs/omapl138_lcdk_defconfig +++

[U-Boot] [PATCH 0/2] Cleanup old DRA7 pinctrl macros

2017-09-08 Thread Suman Anna
. The first patch adapts this board to use the new macros and the second patch cleans up the common definitions. Patches based on current master. I have only build tested the patches, as I don't have access to the AM57x CL SOM board. regards Suman Suman Anna (2): arm: am57xx: cl-som-am57x

[U-Boot] [PATCH 1/2] arm: am57xx: cl-som-am57x: Use new pinctrl macros

2017-09-08 Thread Suman Anna
meant for enabling internal pullup. The data is fixed up only to be equivalent to the previous data. Signed-off-by: Suman Anna --- board/compulab/cl-som-am57x/mux.c | 105 +++--- 1 file changed, 53 insertions(+), 52 deletions(-) diff --git a/board/compulab/cl-som-a

[U-Boot] [PATCH 2/2] ARM: DRA7: Cleanup old pinctrl macros

2017-09-08 Thread Suman Anna
Commit 6ae4c3efbd62 ("ARM: DRA7: Add pinctrl register definitions") has added new macros for pinmux configuration in line with the kernel definitions. Cleanup the old pinctrl macros from the common header file so that they are not used by any new boards. Signed-off-by: Suman Anna ---

[U-Boot] [PATCH] arm: dts: k3-am654-base-board: Fix cpsw_nuss power-domains property

2019-07-29 Thread Suman Anna
ect@10/interconnect@2838/cpsw_nuss@04600:power-domains: property size (8) too small for cell size 2 Fixes: 355be915ed08 ("arm: dts: k3-am654: Update power-domains property for each node") Signed-off-by: Suman Anna --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 +- 1 file change

[U-Boot] [PATCH 0/2] Disable K3_SYSTEM_CONTROLLER on K3 Arm64 cores

2019-07-29 Thread Suman Anna
Suman Suman Anna (2): configs: am65x_evm_a53: Disable K3_SYSTEM_CONTROLLER configs: j721e_evm_a72: Disable K3_SYSTEM_CONTROLLER configs/am65x_evm_a53_defconfig| 3 --- configs/am65x_hs_evm_a53_defconfig | 3 --- configs/j721e_evm_a72_defconfig| 3 --- 3 files changed, 9 deletions

[U-Boot] [PATCH 2/2] configs: j721e_evm_a72: Disable K3_SYSTEM_CONTROLLER

2019-07-29 Thread Suman Anna
CONFIG_CMD_REMOTEPROC as no remoteprocs are now loaded from A72 SPL. Signed-off-by: Suman Anna --- configs/j721e_evm_a72_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index 237dc6b601e2..917e33d68306 100644 --- a/configs

[U-Boot] [PATCH 1/2] configs: am65x_evm_a53: Disable K3_SYSTEM_CONTROLLER

2019-07-29 Thread Suman Anna
and CONFIG_CMD_REMOTEPROC as no remoteprocs are now loaded from A53 SPL. Signed-off-by: Suman Anna --- configs/am65x_evm_a53_defconfig| 3 --- configs/am65x_hs_evm_a53_defconfig | 3 --- 2 files changed, 6 deletions(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs

Re: [U-Boot] [PATCH 1/2] configs: am65x_evm_a53: Disable K3_SYSTEM_CONTROLLER

2019-07-30 Thread Suman Anna
Hi Lokesh, On 7/29/19 11:08 PM, Lokesh Vutla wrote: > > > On 29/07/19 10:18 PM, Suman Anna wrote: >> The K3 System Controller driver is used for loading and starting >> the System Firmware, and is used only on R5 SPL. It need not be >> enabled and built for the A53 U-

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

2019-08-06 Thread Suman Anna
Hi Keerthy, On 8/6/19 5:38 AM, Keerthy wrote: > 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-mai

[U-Boot] [PATCH] remoteproc: Fix potential build issues with SPL remoteproc

2019-07-19 Thread Suman Anna
macro usage with CONFIG_IS_ENABLED. Fixes: ddf56bc7e3ef ("drivers: Introduce a simplified remoteproc framework") Signed-off-by: Suman Anna --- include/remoteproc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/remoteproc.h b/include/remoteproc.h index a5

[U-Boot] [PATCH] ARM: DRA7: Fixup DPLL clock rate fixup logic for newer kernels

2019-08-16 Thread Suman Anna
rchy paths for the cm_core_aon clocks node. Signed-off-by: Suman Anna --- arch/arm/mach-omap2/omap5/fdt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap5/fdt.c b/arch/arm/mach-omap2/omap5/fdt.c index 3626d79199af..8dee555c10c6 100644 --- a/arch/arm/

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

2019-12-02 Thread Suman Anna
e to other Jacinto 6 Plus SoCs (DRA75xP/DRA74xP SoCs or AM574x SoCs) that follow the ABZ package. Signed-off-by: Suman Anna --- arch/arm/mach-omap2/omap5/fdt.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap5/fdt.c b/arch/arm/mach-omap2/omap5/fdt.c index 8d

Re: [PATCH v3 05/20] arm: K3: Add basic support for J721S2 SoC definition

2022-01-19 Thread Suman Anna
Hi Aswath, On 1/18/22 1:27 AM, Aswath Govindraju wrote: > From: David Huang > > Add basic support for J721S2 SoC definition > > Signed-off-by: David Huang > Signed-off-by: Aswath Govindraju > Signed-off-by: Dave Gerlach > Signed-off-by: Nishanth Menon > Signed-off-by: Hari Nagalla > --- >

[PATCH] arm: dts: k3-j7200: Fix up MAIN R5FSS cluster mode back to Split-mode

2022-02-13 Thread Suman Anna
the clusters to the expected Split-mode. Make this mode change in the u-boot specific dtsi file to avoid such sync overrides in the future until the kernel dts is also switched to Split-mode by default. Fixes: fa09b12dc5f6 ("arm: ti: k3: Resync dts files and bindings with Linux Kernel v5.14&qu

Re: [PATCH 0/2] ARM: DRA7: Enable OPP_HIGH for GPU, DSPEVE and IVA voltage domains

2021-09-27 Thread Suman Anna
Hi Amjad, On 9/27/21 7:34 AM, Amjad Ouled-Ameur wrote: > This patchset enables the OPP_HIGH configuration for GPU, DSPEVE and IVA > voltage domains by default for various TI DRA7xx and AM57xx boards. This > is being done to meet the performance needs of 1080p MultiMedia usecases > > Amjad Ouled-A