[PATCH v2 8/8] configs: j784s4_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-06-14 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- configs/j784s4_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j784s4_evm_r5_defconfig b/configs/j784s4_evm_r5_defconfig index f5fe743220..d1bcf792d7 100644 --- a/configs

[PATCH v2 7/8] configs: j721s2_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-06-14 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- configs/j721s2_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig index 7413ddd081..df5910a48f 100644 --- a/configs

[PATCH v2 6/8] configs: j721e_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-06-14 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- 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 37d582b775..ffaf21d499 100644 --- a/configs

[PATCH v2 5/8] arm: mach-k3: j784s4: Enable QoS for DSS

2024-06-14 Thread Jayesh Choudhary
() function call that sets the threadmap for NBSS registers. (Section 10.2.9.2.10 "Quality of Service" in TRM[0]) Section 3.2.1 "Quality of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruj52 Signed-off-by: Jayesh Choudhary --- arc

[PATCH v2 4/8] arm: mach-k3: j721s2: Enable QoS for DSS

2024-06-14 Thread Jayesh Choudhary
() function call that sets the threadmap for NBSS registers. (Section 10.2.9.2.10 "Quality of Service" in TRM[0]) Section 3.2.1 "Quality of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruj28 Signed-off-by: Jayesh Choudhary --- arc

[PATCH v2 3/8] arm: mach-k3: j721e: Enable QoS for DSS

2024-06-14 Thread Jayesh Choudhary
() function call that sets the threadmap for NBSS registers. (Section 10.2.10.1.2 "NB Parameters" in TRM[0]) Section 3.3.2 "Quality of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruil1 Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k

[PATCH v2 2/8] arm: mach-k3: am62a: Simplify the logic for QOS reg and val propagation

2024-06-14 Thread Jayesh Choudhary
for am62a_qos_uboot file. Suggested-by: Andrew Davis Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/k3-qos.h | 86 arch/arm/mach-k3/r5/am62ax/am62a_qos_uboot.c | 24 +++--- 2 files changed, 28 insertions(+), 82 deletions(-) diff --git a/arch/arm/mach-k3/include

[PATCH v2 1/8] arm: mach-k3: am62a_qos: Move common bit MACROS to k3_qos header file

2024-06-14 Thread Jayesh Choudhary
QoS bit mapping are common across all K3 SoCs so move those defines to common header file (k3_qos.h). This ensures that we do not define these for each SoC. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/k3-qos.h | 74 ++ arch/arm/mach-k3/r5/am62ax

[PATCH v2 0/8] Enable QoS for DSS on J7 family of TI SoCs

2024-06-14 Thread Jayesh Choudhary
ect/uboot/patch/20240522113726.302908-2-j-choudh...@ti.com/#3315446 [2]: https://patchwork.ozlabs.org/project/uboot/patch/20240522113726.302908-3-j-choudh...@ti.com/#3315467 Jayesh Choudhary (8): arm: mach-k3: am62a_qos: Move common bit MACROS to k3_qos header file arm: mach-k3: am62a: Simplify

[PATCH v2 12/14] arm: dts: Introduce J722S U-Boot dts files

2024-06-12 Thread Jayesh Choudhary
Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-j722s-binman.dtsi | 172 ++ arch/arm/dts/k3-j722s

[PATCH v2 14/14] doc: board: ti: Add J722S-EVM documentation

2024-06-12 Thread Jayesh Choudhary
Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- doc/board/ti/j722s_evm.rst | 260 + doc/board/ti/k3.rst| 1 + 2 files changed, 261 insertions(+) create mode 100644 doc/board/ti

[PATCH v2 13/14] configs: introduce configs needed for the J722S

2024-06-12 Thread Jayesh Choudhary
Introduce the initial configs needed to support the J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- configs/j722s_evm_a53_defconfig | 172 configs/j722s_evm_r5_defconfig | 131 include/configs

[PATCH v2 10/14] board: ti: Introduce basic board files for the J722S family

2024-06-12 Thread Jayesh Choudhary
Introduce the basic files needed to support the TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- board/ti/j722s/Kconfig | 26 + board/ti/j722s/MAINTAINERS |9 + board/ti/j722s/Makefile

[PATCH v2 11/14] firmware: ti_sci_static_data: Add static DMA channel

2024-06-12 Thread Jayesh Choudhary
Include the static DMA channel data for using DMA at SPL stage for J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/firmware/ti_sci_static_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware

[PATCH v2 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-06-12 Thread Jayesh Choudhary
Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile

[PATCH v2 08/14] ram: k3-ddrss: Enable the am62ax's DDR controller for J722S

2024-06-12 Thread Jayesh Choudhary
The J722S family of SoCs uses the same DDR controller as found on the AM62A family. Enable this option when building for the J722S family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/ram/Kconfig | 2 +- 1 file changed, 1

[PATCH v2 07/14] arm: mach-k3: j722s: introduce clock and device files for wkup spl

2024-06-12 Thread Jayesh Choudhary
Include the clock and lpsc tree files needed for the wkup spl to initialize the proper PLLs and power domains to boot the SoC. Reviewed-by: Bryan Brattlof Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5

[PATCH v2 06/14] arm: mach-k3: r5: Makefile: Fix the order for entries

2024-06-12 Thread Jayesh Choudhary
Add the entries in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- arch/arm/mach-k3/r5/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-k3/r5/Makefile b/arch/arm/mach-k3/r5/Makefile index 1cfc8e3ade

[PATCH v2 02/14] soc: ti: k3-socinfo: Fix SOC JTAG entry order

2024-06-12 Thread Jayesh Choudhary
Add JTAG_ID_PARTNO_* in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/soc/soc_ti_k3.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index

[PATCH v2 05/14] power: domain: ti: Fix the order for platform data entries

2024-06-12 Thread Jayesh Choudhary
Add the power domain platform data entries in alphabetical order. Signed-off-by: Jayesh Choudhary Reviewed-by: Neha Malcom Francis --- drivers/power/domain/ti-power-domain.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/power/domain/ti

[PATCH v2 00/14] Add basic U-Boot Support for J722S-EVM

2024-06-12 Thread Jayesh Choudhary
ll/20240529074849.363281-1-n-fran...@ti.com/ [6]: https://lore.kernel.org/all/20240510202124.794448-1-...@ti.com/ [7]: https://patchwork.ozlabs.org/project/uboot/patch/20240529132448.459330-10-j-choudh...@ti.com/#3319318 [8]: https://patchwork.ozlabs.org/project/uboot/patch/20240529132448.459330-10-j-

[PATCH v2 04/14] clk: ti: clk-k3: use IS_ENABLED macro and fix the clock-data order

2024-06-12 Thread Jayesh Choudhary
Use IS_ENABLED macro for the platform clock-data list and add them in alphabetical order. Reviewed-by: Bryan Brattlof Signed-off-by: Jayesh Choudhary --- drivers/clk/ti/clk-k3.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git

[PATCH v2 03/14] soc: add info to identify the J722S SoC family

2024-06-12 Thread Jayesh Choudhary
Include the part number for TI's j722s family of SoC to identify it during boot. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions(+) diff --git

[PATCH v2 01/14] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-06-12 Thread Jayesh Choudhary
Sort CONFIG_SOC* and K3_SOC_ID alphabetically. Signed-off-by: Jayesh Choudhary Reviewed-by: Andrew Davis Reviewed-by: Neha Malcom Francis --- arch/arm/mach-k3/include/mach/hardware.h | 37 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach

Re: [PATCH 2/7] arm: mach-k3: j721e: Enable QoS for DSS

2024-05-30 Thread Jayesh Choudhary
Hello Andrew, On 22/05/24 21:14, Andrew Davis wrote: On 5/22/24 6:37 AM, Jayesh Choudhary wrote: Enable Quality of Service (QoS) blocks for Display SubSystem (DSS), by servicing the DSS - DDR traffic from the Real-Time (RT) queue. This is done by setting the DSS DMA orderID to greater than 7

Re: [PATCH 1/7] arm: mach-k3: am62a_qos: Move common bit MACROS to k3_qos header file

2024-05-30 Thread Jayesh Choudhary
Hello Tom, Andrew, On 23/05/24 04:36, Tom Rini wrote: On Wed, May 22, 2024 at 10:21:28AM -0500, Andrew Davis wrote: On 5/22/24 6:37 AM, Jayesh Choudhary wrote: QoS bit mapping are common across all K3 SoCs so move those defines to common header file (k3_qos.h). This ensures that we do

Re: [PATCH 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-05-29 Thread Jayesh Choudhary
Hello Neha, Thanks for the review. On 30/05/24 08:15, Neha Malcom Francis wrote: Hi Jayesh On 29/05/24 18:54, Jayesh Choudhary wrote: Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off

Re: [PATCH 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-05-29 Thread Jayesh Choudhary
Hello Andrew, Thanks for the review. On 29/05/24 20:47, Andrew Davis wrote: On 5/29/24 8:24 AM, Jayesh Choudhary wrote: Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath

Re: [PATCH 01/14] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-05-29 Thread Jayesh Choudhary
Hello Andrew, On 29/05/24 20:35, Andrew Davis wrote: On 5/29/24 8:24 AM, Jayesh Choudhary wrote: Sort CONFIG_SOC* and K3_SOC_ID alphabetically. Why? I kinda like the chronological order we have today, helps me remember what are the newer/older parts. Which then helps in seeing where the line

Re: [PATCH 03/14] soc: add info to identify the J722S SoC family

2024-05-29 Thread Jayesh Choudhary
Hello Andrew, On 29/05/24 20:36, Andrew Davis wrote: On 5/29/24 8:24 AM, Jayesh Choudhary wrote: Include the part number for TI's j722s family of SoC to identify it during boot. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary ---   arch/arm/mach-k3/include/mach/hardware.h | 2

[PATCH 12/14] arm: dts: Introduce J722S U-Boot dts files

2024-05-29 Thread Jayesh Choudhary
Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-j722s-binman.dtsi | 172 ++ arch/arm/dts/k3-j722s

[PATCH 14/14] doc: board: ti: Add J722S-EVM documentation

2024-05-29 Thread Jayesh Choudhary
Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary --- doc/board/ti/j722s_evm.rst | 260 + doc/board/ti/k3.rst| 1 + 2 files changed, 261 insertions(+) create mode 100644 doc/board/ti/j722s_evm.rst diff --git a/doc

[PATCH 13/14] configs: introduce configs needed for the J722S

2024-05-29 Thread Jayesh Choudhary
Introduce the initial configs needed to support the J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- configs/j722s_evm_a53_defconfig | 177 configs/j722s_evm_r5_defconfig | 137 include/configs

[PATCH 10/14] board: ti: Introduce basic board files for the J722S family

2024-05-29 Thread Jayesh Choudhary
Introduce the basic files needed to support the TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- board/ti/j722s/Kconfig | 26 + board/ti/j722s/MAINTAINERS |9 + board/ti/j722s/Makefile

[PATCH 11/14] firmware: ti_sci_static_data: Add static DMA channel

2024-05-29 Thread Jayesh Choudhary
Include the static DMA channel data for using DMA at SPL stage for J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/firmware/ti_sci_static_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware

[PATCH 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-05-29 Thread Jayesh Choudhary
Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile

[PATCH 07/14] arm: mach-k3: j722s: introduce clock and device files for wkup spl

2024-05-29 Thread Jayesh Choudhary
Include the clock and lpsc tree files needed for the wkup spl to initialize the proper PLLs and power domains to boot the SoC. Reviewed-by: Bryan Brattlof Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5

[PATCH 08/14] ram: k3-ddrss: Enable the am62ax's DDR controller for J722S

2024-05-29 Thread Jayesh Choudhary
The J722S family of SoCs uses the same DDR controller as found on the AM62A family. Enable this option when building for the J722S family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/14] arm: mach-k3: r5: Makefile: Fix the order for entries

2024-05-29 Thread Jayesh Choudhary
Add the entries in alphabetical order. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-k3/r5/Makefile b/arch/arm/mach-k3/r5/Makefile index 1cfc8e3ade..f1e61c8548 100644 --- a/arch/arm/mach

[PATCH 05/14] power: domain: ti: Fix the order for platform data entries

2024-05-29 Thread Jayesh Choudhary
Add the power domain platform data entries in alphabetical order. Signed-off-by: Jayesh Choudhary --- drivers/power/domain/ti-power-domain.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power

[PATCH 04/14] clk: ti: clk-k3: use IS_ENABLED macro and fix the clock-data order

2024-05-29 Thread Jayesh Choudhary
Use IS_ENABLED macro for the platform clock-data list and add them in alphabetical order. Reviewed-by: Bryan Brattlof Signed-off-by: Jayesh Choudhary --- drivers/clk/ti/clk-k3.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git

[PATCH 03/14] soc: add info to identify the J722S SoC family

2024-05-29 Thread Jayesh Choudhary
Include the part number for TI's j722s family of SoC to identify it during boot. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions(+) diff --git

[PATCH 02/14] soc: ti: k3-socinfo: Fix SOC JTAG entry order

2024-05-29 Thread Jayesh Choudhary
Add JTAG_ID_PARTNO_* in alphabetical order. Signed-off-by: Jayesh Choudhary --- drivers/soc/soc_ti_k3.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index b585e47d46..0838808515 100644

[PATCH 00/14] Add basic U-Boot Support for J722S-EVM

2024-05-29 Thread Jayesh Choudhary
2124.794448-1-...@ti.com/ Jayesh Choudhary (14): arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries soc: ti: k3-socinfo: Fix SOC JTAG entry order soc: add info to identify the J722S SoC family clk: ti: clk-k3: use IS_ENABLED macro and fix the clock-data order power: domain: ti: Fix the

[PATCH 01/14] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-05-29 Thread Jayesh Choudhary
Sort CONFIG_SOC* and K3_SOC_ID alphabetically. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 37 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/arch/arm/mach-k3/include/mach

[PATCH 7/7] configs: j784s4_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-05-22 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- configs/j784s4_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j784s4_evm_r5_defconfig b/configs/j784s4_evm_r5_defconfig index f5fe743220..d1bcf792d7 100644 --- a/configs

[PATCH 6/7] configs: j721s2_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-05-22 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- configs/j721s2_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/j721s2_evm_r5_defconfig b/configs/j721s2_evm_r5_defconfig index 3c958cafbe..d53c5e33d6 100644 --- a/configs

[PATCH 5/7] configs: j721e_evm_r5_defconfig: Enable CONFIG_K3_QOS

2024-05-22 Thread Jayesh Choudhary
Enable CONFIG_K3_QOS to set QoS registers in R5 boot stage. Signed-off-by: Jayesh Choudhary --- 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 cea48b2613..5d48f48367 100644 --- a/configs

[PATCH 4/7] arm: mach-k3: j784s4: Enable QoS for DSS

2024-05-22 Thread Jayesh Choudhary
lity of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruj52 Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/j784s4/j784s4_init.c | 30 + arch/arm/mach-k3/r5/j784s4/Makefile | 1 + arch/arm/mach-k3/r5/j784s4/j784

[PATCH 3/7] arm: mach-k3: j721s2: Enable QoS for DSS

2024-05-22 Thread Jayesh Choudhary
lity of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruj28 Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/j721s2/j721s2_init.c | 30 + arch/arm/mach-k3/r5/j721s2/Makefile | 1 + arch/arm/mach-k3/r5/j721s2/j721

[PATCH 2/7] arm: mach-k3: j721e: Enable QoS for DSS

2024-05-22 Thread Jayesh Choudhary
of Service (QoS)" in the TRM[0] provide more details. [0]: https://www.ti.com/lit/zip/spruil1 Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/j721e/j721e_init.c | 28 + arch/arm/mach-k3/r5/j721e/Makefile | 1 + arch/arm/mach-k3/r5/j721e/j721e_qos.h | 96 +

[PATCH 1/7] arm: mach-k3: am62a_qos: Move common bit MACROS to k3_qos header file

2024-05-22 Thread Jayesh Choudhary
QoS bit mapping are common across all K3 SoCs so move those defines to common header file (k3_qos.h). This ensures that we do not define these for each SoC. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/k3-qos.h | 74 ++ arch/arm/mach-k3/r5/am62ax

[PATCH 0/7] Enable QoS for DSS on J7 family of TI SoCs

2024-05-22 Thread Jayesh Choudhary
, 10-15. Here we are mapping first two groups as NRT and 10-15 as RT for both NAVSS0_NBSS_NB0 and NAVSS0_NBSS_NB1. [0]: https://lore.kernel.org/all/20230414072725.8802-1-a-bhat...@ti.com/ Jayesh Choudhary (7): arm: mach-k3: am62a_qos: Move common bit MACROS to k3_qos header file arm: mach-k3

Re: [RFC PATCH 13/15] arm: dts: Introduce J722S U-Boot dts files

2024-04-05 Thread Jayesh Choudhary
Hi, On 04/04/24 20:59, Andrew Davis wrote: On 4/4/24 4:00 AM, Jayesh Choudhary wrote: Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary ---   arch/arm/dts/Makefile

Re: [RFC PATCH 15/15] doc: board: ti: Add J722S-EVM documentation

2024-04-05 Thread Jayesh Choudhary
Hello Andrew, On 04/04/24 21:19, Andrew Davis wrote: On 4/4/24 4:00 AM, Jayesh Choudhary wrote: Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary ---   doc/board/ti/j722s_evm.rst | 262 +   doc/board/ti/k3.rst    |   1

Re: [RFC PATCH 01/15] DO-NOT-MERGE: dts: upstream: src: Necessary pulls from upstream dts

2024-04-04 Thread Jayesh Choudhary
Hello Sumit, On 05/04/24 10:27, Sumit Garg wrote: Hi Jayesh, On Thu, 4 Apr 2024 at 14:30, Jayesh Choudhary wrote: j722s dts support that needs to be pulled from devicetree-rebasing tree. The whole series depends on this support. Which devicetree-rebasing tag does this patch depend upon

[RFC PATCH 13/15] arm: dts: Introduce J722S U-Boot dts files

2024-04-04 Thread Jayesh Choudhary
Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-j722s-binman.dtsi | 171 ++ arch/arm/dts/k3-j722s

[RFC PATCH 15/15] doc: board: ti: Add J722S-EVM documentation

2024-04-04 Thread Jayesh Choudhary
Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary --- doc/board/ti/j722s_evm.rst | 262 + doc/board/ti/k3.rst| 1 + 2 files changed, 263 insertions(+) create mode 100644 doc/board/ti/j722s_evm.rst diff --git a/doc

[RFC PATCH 14/15] configs: introduce configs needed for the J722S

2024-04-04 Thread Jayesh Choudhary
Introduce the initial configs needed to support the J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- configs/j722s_evm_a53_defconfig | 177 configs/j722s_evm_r5_defconfig | 137 include/configs

[RFC PATCH 11/15] board: ti: Introduce basic board files for the J722S family

2024-04-04 Thread Jayesh Choudhary
Introduce the basic files needed to support the TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- board/ti/j722s/Kconfig | 26 + board/ti/j722s/MAINTAINERS |9 + board/ti/j722s/Makefile

[RFC PATCH 12/15] firmware: ti_sci_static_data: Add static DMA channel

2024-04-04 Thread Jayesh Choudhary
Include the static DMA channel data for using DMA at SPL stage for J722S SoC family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/firmware/ti_sci_static_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware

[RFC PATCH 10/15] arch: mach-k3: Introduce basic files to support J722S SoC family

2024-04-04 Thread Jayesh Choudhary
Introduce the basic functions and definitions needed to properly initialize TI J722S family of SoCs. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile

[RFC PATCH 08/15] arm: mach-k3: j722s: introduce clock and device files for wkup spl

2024-04-04 Thread Jayesh Choudhary
Include the clock and lpsc tree files needed for the wkup spl to initialize the proper PLLs and power domains to boot the SoC. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/j722s/Makefile | 6 + arch

[RFC PATCH 09/15] ram: k3-ddrss: Enable the am62ax's DDR controller for J722S

2024-04-04 Thread Jayesh Choudhary
The J722S family of SoCs uses the same DDR controller as found on the AM62A family. Enable this option when building for the J722S family. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH 01/15] DO-NOT-MERGE: dts: upstream: src: Necessary pulls from upstream dts

2024-04-04 Thread Jayesh Choudhary
j722s dts support that needs to be pulled from devicetree-rebasing tree. The whole series depends on this support. Signed-off-by: Jayesh Choudhary --- dts/upstream/Bindings/arm/ti/k3.yaml | 6 + dts/upstream/src/arm64/ti/k3-j722s-evm.dts | 383 + dts/upstream/src

[RFC PATCH 02/15] arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries

2024-04-04 Thread Jayesh Choudhary
Sort CONFIG_SOC* and K3_SOC_ID alphabetically. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 37 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/arch/arm/mach-k3/include/mach

[RFC PATCH 07/15] arm: mach-k3: r5: Makefile: Fix the order for entries

2024-04-04 Thread Jayesh Choudhary
Add the entries in alphabetical order. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/r5/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-k3/r5/Makefile b/arch/arm/mach-k3/r5/Makefile index 1cfc8e3ade..f1e61c8548 100644 --- a/arch/arm/mach

[RFC PATCH 05/15] clk: ti: clk-k3: use IS_ENABLED macro and fix the clock-data order

2024-04-04 Thread Jayesh Choudhary
Use IS_ENABLED macro for the platform clock-data list and add them in alphabetical order. Signed-off-by: Jayesh Choudhary --- drivers/clk/ti/clk-k3.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drivers/clk/ti/clk-k3.c b/drivers

[RFC PATCH 03/15] soc: ti: k3-socinfo: Fix SOC JTAG entry order

2024-04-04 Thread Jayesh Choudhary
Add JTAG_ID_PARTNO_* in alphabetical order. Signed-off-by: Jayesh Choudhary --- drivers/soc/soc_ti_k3.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 3a4e58bba6..bcc11e6bff 100644

[RFC PATCH 06/15] power: domain: ti: Fix the order for platform data entries

2024-04-04 Thread Jayesh Choudhary
Add the power domain platform data entries in alphabetical order. Signed-off-by: Jayesh Choudhary --- drivers/power/domain/ti-power-domain.c | 36 +- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power

[RFC PATCH 04/15] soc: add info to identify the J722S SoC family

2024-04-04 Thread Jayesh Choudhary
Include the part number for TI's j722s family of SoC to identify it during boot. Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions(+) diff --git

[RFC PATCH 00/15] Add basic U-Boot Support for J722S-EVM

2024-04-04 Thread Jayesh Choudhary
dts updates which is *NOT SUPPOSED TO BE MERGED* Jayesh Choudhary (15): DO-NOT-MERGE: dts: upstream: src: Necessary pulls from upstream dts arm: mach-k3: Sort CONFIG_SOC* and K3_SOC_ID entries soc: ti: k3-socinfo: Fix SOC JTAG entry order soc: add info to identify the J722S SoC family clk: ti: clk-

[PATCH] arch: mach-k3: j721s2_init: Disable the firewalls

2023-03-28 Thread Jayesh Choudhary
Some firewalls enabled by ROM are still left on. So some address space is inaccessible to the bootloader. For example, in OSPI boot mode we get an exception and the system hangs. Therefore, disable all the firewalls left on by the ROM. Signed-off-by: Jayesh Choudhary --- arch/arm/mach-k3

[PATCH 2/2] configs: Add configs for j721s2 High Security EVM

2022-08-30 Thread Jayesh Choudhary
uses FIT images for booting Signed-off-by: Jayesh Choudhary --- MAINTAINERS | 2 + configs/j721s2_hs_evm_a72_defconfig | 217 configs/j721s2_hs_evm_r5_defconfig | 178 +++ 3 files changed, 397 insertions(+) create mode

[PATCH 1/2] configs: Add configs for J7200 High Security EVM

2022-08-30 Thread Jayesh Choudhary
from GP variant which were missing] Signed-off-by: Jayesh Choudhary --- MAINTAINERS| 2 + configs/j7200_hs_evm_a72_defconfig | 208 + configs/j7200_hs_evm_r5_defconfig | 172 3 files changed, 382 insertions(+) create

[PATCH 0/2] Add HS configs for J7200 and J721S2 TI SOCs

2022-08-30 Thread Jayesh Choudhary
This series adds the r5 and a72 defconfigs for 2 platforms: - J7200 HS - J721S2 HS Andrew Davis (1): configs: Add configs for J7200 High Security EVM Jayesh Choudhary (1): configs: Add configs for j721s2 High Security EVM MAINTAINERS | 4 + configs

[PATCH] configs: j721s2_evm_a72_defconfig: fix the bootcmd

2022-08-02 Thread Jayesh Choudhary
Remove the main_cpsw0_qsgmii_phyinit variable from the boot command as there is no ethernet firmware in j721s2. Fixes: 8886341aa670 ('configs: j721s2_evm_a72_defconfig: Add A72 specific defconfig') Signed-off-by: Jayesh Choudhary --- configs/j721s2_evm_a72_defconfig | 2 +- 1 file changed, 1