Re: [PATCH] arm: mach-k3: am62p: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-05-23 Thread Bryan Brattlof
On May 23, 2024 thus sayeth Bryan Brattlof: > On May 23, 2024 thus sayeth Andrew Davis: > > On 5/23/24 11:43 AM, Bryan Brattlof wrote: > > > The address we load TFA and OPTEE is configurable by the > > > CONFIG_K3_{ATF,OPTEE)_LOAD_ADDR, but the DT node reservations re

Re: [PATCH] arm: mach-k3: am62p: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-05-23 Thread Bryan Brattlof
On May 23, 2024 thus sayeth Andrew Davis: > On 5/23/24 11:43 AM, Bryan Brattlof wrote: > > The address we load TFA and OPTEE is configurable by the > > CONFIG_K3_{ATF,OPTEE)_LOAD_ADDR, but the DT node reservations remain > > static which can cause some confusion about where e

[PATCH] arm: mach-k3: am62p: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-05-23 Thread Bryan Brattlof
not match the address in DT. Reported-by: Andrew Davis Signed-off-by: Bryan Brattlof --- Hello everyone, This is a little fixup to avoid any confusion once we're in the kernel. Because TF-A can be configured in U-Boot to be anywhere we want, we need up update the reserved-memory{} node

Re: [PATCH v3 2/2] configs: add defconfigs for the am625-lp-sk

2024-05-16 Thread Bryan Brattlof
On May 15, 2024 thus sayeth Andrew Davis: > On 5/15/24 1:21 PM, Tom Rini wrote: > > On Fri, May 03, 2024 at 11:44:29AM -0500, Bryan Brattlof wrote: > > > > > The am62x-lp-sk is a package and reference board spin of the am62x-sk to > > > showcase the low-power

Re: [PATCH v2 0/2] introduce basic support for TI's am625-lp-sk

2024-05-03 Thread Bryan Brattlof
Sorry everyone I hit send a little to fast on this one! On May 3, 2024 thus sayeth Bryan Brattlof: > Hello Everyone! > > The am625-lp-sk is a variant of the am625-sk showcasing the low-power > features of the am625 SoC Family. Because it's essentially a board and > package sp

[PATCH v3 1/2] arm: dts: add U-Boot dtbs for the am625-lp-sk

2024-05-03 Thread Bryan Brattlof
From: Nitin Yadav Add the U-Boot device tree overrides for the am62x-lp-sk reference board. Signed-off-by: Nitin Yadav Reviewed-by: Dhruva Gole Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am62-lp-sk-binman.dtsi | 21 + arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi | 17 + arch/arm

[PATCH v3 0/2] introduce basic support for TI's am625-lp-sk

2024-05-03 Thread Bryan Brattlof
here is proof of life using buildroot: https://paste.sr.ht/~bryanb/40f7787f7760bee383aa8fbc342a29e8544dbdab Thank you for reviewing ~Bryan Signed-off-by: Bryan Brattlof --- Changes in v3: - actually update the copyright year - Link to v2: https://lore.kernel.org/r/20240429-am62q-wip-v2-0

[PATCH v3 2/2] configs: add defconfigs for the am625-lp-sk

2024-05-03 Thread Bryan Brattlof
. Reviewed-by: Dhruva Gole Signed-off-by: Bryan Brattlof --- configs/am62x_lp_sk_a53_defconfig | 3 +++ configs/am62x_lp_sk_r5_defconfig | 2 ++ 2 files changed, 5 insertions(+) diff --git a/configs/am62x_lp_sk_a53_defconfig b/configs/am62x_lp_sk_a53_defconfig new file mode 100644 index 0

[PATCH v2 1/2] arm: dts: add U-Boot dtbs for the am625-lp-sk

2024-05-03 Thread Bryan Brattlof
From: Nitin Yadav Add the U-Boot device tree overrides for the am62x-lp-sk reference board. Signed-off-by: Nitin Yadav Reviewed-by: Dhruva Gole Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am62-lp-sk-binman.dtsi | 21 + arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi | 17 + arch/arm

[PATCH v2 2/2] configs: add defconfigs for the am625-lp-sk

2024-05-03 Thread Bryan Brattlof
. Reviewed-by: Dhruva Gole Signed-off-by: Bryan Brattlof --- configs/am62x_lp_sk_a53_defconfig | 3 +++ configs/am62x_lp_sk_r5_defconfig | 2 ++ 2 files changed, 5 insertions(+) diff --git a/configs/am62x_lp_sk_a53_defconfig b/configs/am62x_lp_sk_a53_defconfig new file mode 100644 index 0

[PATCH v2 0/2] introduce basic support for TI's am625-lp-sk

2024-05-03 Thread Bryan Brattlof
here is proof of life using buildroot: https://paste.sr.ht/~bryanb/40f7787f7760bee383aa8fbc342a29e8544dbdab Thank you for reviewing ~Bryan Signed-off-by: Bryan Brattlof --- Changes in v2: - updated copyright year - Link to v1: https://lore.kernel.org/r/20240429-am62q-wip-v1-0-927fd2e0a

Re: [PATCH] configs: am62x_evm_r5: Increase size of malloc_simple heap after relocation

2024-05-03 Thread Bryan Brattlof
ort for signing > TIFSSTUB Images") > Signed-off-by: Judith Mendez > --- > configs/am62x_evm_r5_defconfig | 1 + > 1 file changed, 1 insertion(+) > This fixes the 62 for me Reviewed-by: Bryan Brattlof ~Bryan

Re: [PATCH 1/2] arm: dts: add U-Boot dtbs for the am625-lp-sk

2024-05-03 Thread Bryan Brattlof
On May 3, 2024 thus sayeth Dhruva Gole: > On Apr 30, 2024 at 14:57:45 -0500, Bryan Brattlof wrote: > > From: Nitin Yadav > > > > Add the U-Boot device tree overrides for the am62x-lp-sk reference > > board. > > > > Signed-off-by: Nitin Y

Re: [PATCH 63/81] soc: Remove and add needed includes

2024-05-03 Thread Bryan Brattlof
gt; Cc: Apurva Nandan > Cc: Hari Nagalla > Cc: Bryan Brattlof > --- > drivers/soc/soc-uclass.c| 1 - > drivers/soc/soc_sandbox.c | 1 - > drivers/soc/soc_ti_k3.c | 1 - > drivers/soc/soc_xilinx_versal.c | 1 - > drivers/soc/soc_xil

[PATCH 1/2] arm: dts: add U-Boot dtbs for the am625-lp-sk

2024-04-30 Thread Bryan Brattlof
From: Nitin Yadav Add the U-Boot device tree overrides for the am62x-lp-sk reference board. Signed-off-by: Nitin Yadav Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am62-lp-sk-binman.dtsi | 21 + arch/arm/dts/k3-am62-lp-sk-u-boot.dtsi | 17 + arch/arm/dts/k3-am62-lp4-50-800-800

[PATCH 2/2] configs: add defconfigs for the am625-lp-sk

2024-04-30 Thread Bryan Brattlof
The am62x-lp-sk is a package and reference board spin of the am62x-sk to showcase the low-power features of the am62x SoC family. Because it so closely resembles the am62x-sk board, us the preprocessor to inherit its configuration making the needed changes for this board. Signed-off-by: Bryan

[PATCH 0/2] introduce basic support for TI's am625-lp-sk

2024-04-30 Thread Bryan Brattlof
is proof of life using buildroot: https://paste.sr.ht/~bryanb/40f7787f7760bee383aa8fbc342a29e8544dbdab Thank you for reviewing ~Bryan Signed-off-by: Bryan Brattlof --- Bryan Brattlof (1): configs: add defconfigs for the am625-lp-sk Nitin Yadav (1): arm: dts: add U-Boot dtbs

Re: [PATCH v2] configs: am62px_evm_a53_defconfig: Enable MMC UHS config option

2024-04-19 Thread Bryan Brattlof
in patch description > --- > > configs/am62px_evm_a53_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > Thanks for finally getting MMC sorted so we can enable these configs Acked-by: Bryan Brattlof ~Bryan

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

2024-04-04 Thread Bryan Brattlof
reate mode 100644 arch/arm/mach-k3/r5/j722s/dev-data.c > Reviewed-by: Bryan Brattlof ~Bryan

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

2024-04-04 Thread Bryan Brattlof
hanged, 21 insertions(+), 20 deletions(-) > Reviewed-by: Bryan Brattlof ~Bryan

Re: [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL

2024-04-01 Thread Bryan Brattlof
On April 1, 2024 thus sayeth Wadim Egorov: > Hi Vignesh, Hi Bryan, > > > Am 05.03.24 um 18:36 schrieb Raghavendra, Vignesh: > > > > > > On 3/5/2024 11:04 PM, Bryan Brattlof wrote: > > > On March 5, 2024 thus sayeth Vignesh Raghavendra: > > > &g

[PATCH v4 10/13] arm: dts: introduce am62p5 U-Boot dts files

2024-03-12 Thread Bryan Brattlof
Include the U-Boot device tree files needed to boot the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-am62p-ddr-lp4-50-1600.dtsi | 2800 arch/arm/dts/k3-am62p-sk-binman.dtsi | 173 ++ arch/arm

[PATCH v4 03/13] arm: mach-k3: am62px: introduce clock and device files for wkup spl

2024-03-12 Thread Bryan Brattlof
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: Neha Malcom Francis Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/am62px/Makefile| 6 + arch

[PATCH v4 08/13] firmware: ti_sci_static_data: add static DMA channel data

2024-03-12 Thread Bryan Brattlof
From: Hari Nagalla Include the static DMA channel data for ti_sci Signed-off-by: Hari Nagalla Signed-off-by: Bryan Brattlof --- drivers/firmware/ti_sci_static_data.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/ti_sci_static_data.h b/drivers

[PATCH v4 13/13] arm: mach-k3: fixup whitespace in SPDX License IDs

2024-03-12 Thread Bryan Brattlof
The SPDX ID format usese a single space used after the 'SPDX-License-Identifier:'. Fix all files that use any other white-space character other than a single space. Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/r5/am62ax/Makefile | 2 +- arch/arm/mach-k3/r5/am62px/Makefile | 2 +- arch/arm

[PATCH v4 04/13] ram: k3-ddrss: enable the am62ax's DDR controller for am62px

2024-03-12 Thread Bryan Brattlof
The am62px family of SoCs uses the same DDR controller as found on the am62ax family. Enable this option when building for the am62px family Reviewed-by: Neha Malcom Francis Signed-off-by: Bryan Brattlof --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 07/13] board: ti: introduce basic board files for the am62px family

2024-03-12 Thread Bryan Brattlof
Introduce the basic files needed to support the am62px family of SoCs Co-developed-by: Hari Nagalla Signed-off-by: Hari Nagalla Reviewed-by: Tom Rini Signed-off-by: Bryan Brattlof --- board/ti/am62px/Kconfig | 26 ++ board/ti/am62px/MAINTAINERS | 9 + board/ti/am62px

[PATCH v4 00/13] Introduce basic support for TI's AM62Px SoC family

2024-03-12 Thread Bryan Brattlof
directory [0] https://lore.kernel.org/all/20231012230616.2101992-13...@ti.com/ [1] https://lore.kernel.org/u-boot/20240201030634.1120963-17...@ti.com/ [2] https://lore.kernel.org/u-boot/20240205-am62px-wip-rebasing-v3-0-04cbb42ea...@ti.com/ --- Bryan Brattlof (11): soc: add info to identify

[PATCH v4 12/13] doc: board: ti: introduce am62px documentation

2024-03-12 Thread Bryan Brattlof
Introduce basic documentation for the am62p family of SoCs. Signed-off-by: Bryan Brattlof --- doc/board/ti/am62px_sk.rst | 289 + doc/board/ti/k3.rst| 1 + 2 files changed, 290 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc

[PATCH v4 09/13] dma: ti: k3-udma: Add DMA PSIL mappings for AM62P and J722S

2024-03-12 Thread Bryan Brattlof
Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary [b...@ti.com: rebased to U-Boot v2024.01] Signed-off-by: Bryan Brattlof --- drivers/dma/ti/Makefile| 2 + drivers/dma/ti/k3-psil-am62p.c | 325 + drivers/dma/ti/k3-psil-priv.h

[PATCH v4 06/13] arch: mach-k3: introduce basic files to support the am62px SoC family

2024-03-12 Thread Bryan Brattlof
Introduce the basic functions and definitions needed to properly initialize TI's am62p family of SoCs Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am62p5_init.c

[PATCH v4 01/13] soc: add info to identify the am62p SoC family

2024-03-12 Thread Bryan Brattlof
Include the part number for TI's am62px family of SoCs so we can properly identify it during boot Reviewed-by: Igor Opaniuk Reviewed-by: Neha Malcom Francis Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2

[PATCH v4 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-03-12 Thread Bryan Brattlof
Currently, for the K3 generation of SoCs, there are more SoCs that utilize the split firmware approach than the combined DMSC firmware. Invert the logic to avoid adding more and more SoCs to this list. Reviewed-by: Neha Malcom Francis Acked-by: Andrew Davis Signed-off-by: Bryan Brattlof

[PATCH v4 11/13] configs: introduce configs needed for the am62px

2024-03-12 Thread Bryan Brattlof
Introduce the initial configs needed to support the am62px SoC family Signed-off-by: Bryan Brattlof --- configs/am62px_evm_a53_defconfig | 177 +++ configs/am62px_evm_r5_defconfig | 137 ++ include/configs/am62px_evm.h | 14

[PATCH v4 02/13] power: domain: ti: use IS_ENABLED macro

2024-03-12 Thread Bryan Brattlof
Cleanup this list and standardize on using the IS_ENABLED macro for the power domain data list. Reviewed-by: Igor Opaniuk Signed-off-by: Bryan Brattlof --- drivers/power/domain/ti-power-domain.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/power/domain/ti

Re: [PATCH 4/6] arm: mach-k3: am62: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-03-06 Thread Bryan Brattlof
On March 6, 2024 thus sayeth Andrew Davis: > On 3/6/24 7:35 AM, Bryan Brattlof wrote: > > On February 14, 2024 thus sayeth Andrew Davis: > > > The address we load TF-A and OP-TEE to is configurable by Kconfig > > > CONFIG_K3_{ATF,OPTEE}_LOAD_ADDR, but the DT

Re: [PATCH 6/6] arm: mach-k3: Move DRAM address of ATF for AM62/AM62a

2024-03-06 Thread Bryan Brattlof
; also fixup DT as needed when TF-A address is moved, so this change also > has no dependency on Linux and is fully forward/backward compatible. > > Signed-off-by: Andrew Davis Acked-by: Bryan Brattlof Thanks for this! This will make adding SIP support much easier. ~Bryan > ---

Re: [PATCH 5/6] arm: mach-k3: am62a: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-03-06 Thread Bryan Brattlof
> > Signed-off-by: Andrew Davis Acked-by: Bryan Brattlof ~Bryan

Re: [PATCH 4/6] arm: mach-k3: am62: Fixup TF-A/OP-TEE reserved-memory node in FDT

2024-03-06 Thread Bryan Brattlof
ase when no reserved memory for these is provided by DT, which is > more correct as explained above. > > Add this fixup function, and enable it for AM62. > > Signed-off-by: Andrew Davis Acked-by: Bryan Brattlof Does this mean we need to no-map these regions in the MMU as well?

Re: [PATCH 2/6] arm: mach-k3: Add config option for setting OP-TEE address

2024-03-06 Thread Bryan Brattlof
w Davis Acked-by: Bryan Brattlof ~Bryan

Re: [PATCH 1/6] arm: mach-k3: Add default ATF location for AM62/AM62a

2024-03-06 Thread Bryan Brattlof
DRAM devices. > > Signed-off-by: Andrew Davis Acked-by: Bryan Brattlof > --- > arch/arm/mach-k3/Kconfig | 5 +++-- > configs/am62ax_evm_a53_defconfig | 1 - > configs/am62x_beagleplay_a53_defconfig | 1 - > configs/am62x_evm_a53_

Re: [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL

2024-03-05 Thread Bryan Brattlof
On March 5, 2024 thus sayeth Vignesh Raghavendra: > > > On 05/03/24 01:57, Bryan Brattlof wrote: > > Hey Vignesh! > > > > On March 4, 2024 thus sayeth Vignesh Raghavendra: > >> Hi Wadim, > >> > >> On 26/02/24 19:00, Wadim Egorov wrot

Re: [PATCH 1/2] arm: mach-k3: am625: copy bootindex to OCRAM for main domain SPL

2024-03-04 Thread Bryan Brattlof
Hey Vignesh! On March 4, 2024 thus sayeth Vignesh Raghavendra: > Hi Wadim, > > On 26/02/24 19:00, Wadim Egorov wrote: > > Texas Instruments has begun enabling security settings on the SoCs it > > produces to instruct ROM and TIFS to begin protecting the Security > > Management Subsystem (SMS)

[PATCH v3 10/13] arm: dts: introduce am62p5 U-Boot dts files

2024-02-26 Thread Bryan Brattlof
Include the U-Boot device tree files needed to boot the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-am62p-ddr-lp4-50-1600.dtsi | 2800 arch/arm/dts/k3-am62p-sk-binman.dtsi | 173 ++ arch/arm

[PATCH v3 06/13] arch: mach-k3: introduce basic files to support the am62px SoC family

2024-02-26 Thread Bryan Brattlof
Introduce the basic functions and definitions needed to properly initialize TI's am62p family of SoCs Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/Makefile | 1 + arch/arm/mach-k3/am62p5_init.c

[PATCH v3 12/13] configs: introduce configs needed for the am62px

2024-02-26 Thread Bryan Brattlof
Introduce the initial configs needed to support the am62px SoC family Signed-off-by: Bryan Brattlof --- configs/am62px_evm_a53_defconfig | 178 +++ configs/am62px_evm_r5_defconfig | 137 ++ include/configs/am62px_evm.h | 14

[PATCH v3 07/13] board: ti: introduce basic board files for the am62px family

2024-02-26 Thread Bryan Brattlof
Introduce the basic files needed to support the am62px family of SoCs Co-developed-by: Hari Nagalla Signed-off-by: Hari Nagalla Signed-off-by: Bryan Brattlof --- board/ti/am62px/Kconfig | 26 ++ board/ti/am62px/MAINTAINERS | 9 + board/ti/am62px/Makefile | 7

[PATCH v3 08/13] firmware: ti_sci_static_data: add static DMA channel data

2024-02-26 Thread Bryan Brattlof
From: Hari Nagalla Include the static DMA channel data for ti_sci Signed-off-by: Hari Nagalla Signed-off-by: Bryan Brattlof --- drivers/firmware/ti_sci_static_data.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/ti_sci_static_data.h b/drivers

[PATCH v3 02/13] power: domain: ti: use IS_ENABLED macro

2024-02-26 Thread Bryan Brattlof
Cleanup this list and standardize on using the IS_ENABLED macro for the power domain data list. Reviewed-by: Igor Opaniuk Signed-off-by: Bryan Brattlof --- drivers/power/domain/ti-power-domain.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/power/domain/ti

[PATCH v3 03/13] arm: mach-k3: am62px: introduce clock and device files for wkup spl

2024-02-26 Thread Bryan Brattlof
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: Bryan Brattlof --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/am62px/Makefile| 6 + arch/arm/mach-k3/r5/am62px/clk-data.c

[PATCH v3 04/13] ram: k3-ddrss: enable the am62ax's DDR controller for am62px

2024-02-26 Thread Bryan Brattlof
The am62px family of SoCs uses the same DDR controller as found on the am62ax family. Enable this option when building for the am62px family Signed-off-by: Bryan Brattlof --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Kconfig b/drivers

[PATCH v3 09/13] dma: ti: k3-udma: Add DMA PSIL mappings for AM62P and J722S

2024-02-26 Thread Bryan Brattlof
Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary [b...@ti.com: rebased to U-Boot v2024.01] Signed-off-by: Bryan Brattlof --- drivers/dma/ti/Makefile| 2 + drivers/dma/ti/k3-psil-am62p.c | 325 + drivers/dma/ti/k3-psil-priv.h

[PATCH v3 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-02-26 Thread Bryan Brattlof
Currently, for the K3 generation of SoCs, there are more SoCs that utilize the split firmware approach than the combined DMSC firmware. Invert the logic to avoid adding more and more SoCs to this list. Acked-by: Andrew Davis Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/Kconfig | 2 +- 1

[PATCH v3 00/13] Hello Again Everyone!

2024-02-26 Thread Bryan Brattlof
/20240222093607.3085545-1-sumit.g...@linaro.org/ [1] https://lore.kernel.org/all/20231012230616.2101992-13...@ti.com/ [2] https://lore.kernel.org/u-boot/20240201030634.1120963-17...@ti.com/ --- Bryan Brattlof (11): soc: add info to identify the am62p SoC family power: domain: ti: use IS_ENABLED

[PATCH v3 13/13] doc: board: ti: introduce am62px documentation

2024-02-26 Thread Bryan Brattlof
Introduce basic documentation for the am62p family of SoCs. Signed-off-by: Bryan Brattlof --- doc/board/ti/am62px_sk.rst | 289 + doc/board/ti/k3.rst| 1 + 2 files changed, 290 insertions(+) diff --git a/doc/board/ti/am62px_sk.rst b/doc

[PATCH v3 11/13] Makefile: remove hardcoded device tree source directory

2024-02-26 Thread Bryan Brattlof
Signed-off-by: Bryan Brattlof --- Makefile | 18 ++ scripts/Makefile.spl | 17 + 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 0f0c7f30d2717..51b57d26857f1 100644 --- a/Makefile +++ b/Makefile @@ -1184,6

[PATCH v3 01/13] soc: add info to identify the am62p SoC family

2024-02-26 Thread Bryan Brattlof
Include the part number for TI's am62px family of SoCs so we can properly identify it during boot Reviewed-by: Igor Opaniuk Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions

Re: [PATCH v2] arm: mach-k3: Refactor QoS settings

2024-02-12 Thread Bryan Brattlof
Hey Aradhya! On February 12, 2024 thus sayeth Aradhya Bhatia: > Refactor common QoS code into a new common header file, and the soc > specific setup_qos functions into a common API. > > Rename $(soc)_qos_count and $(soc)_qos_data variables to qos_count and > qos_data. When QoS settings of more

Re: [PATCH v2 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-02-02 Thread Bryan Brattlof
On February 2, 2024 thus sayeth Andrew Davis: > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > Currently, for the K3 generation of SoCs, there are more SoCs that > > utilize the split firmware approach than the combined DMSC firmware. > > Invert the logic to avoid addi

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Bryan Brattlof
On February 2, 2024 thus sayeth Andrew Davis: > On 2/2/24 10:28 AM, Bryan Brattlof wrote: > > Hi Andrew! > > > > On February 2, 2024 thus sayeth Andrew Davis: > > > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > > > Include the uboot

Re: [PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family

2024-02-02 Thread Bryan Brattlof
Hi Sumit! On February 2, 2024 thus sayeth Sumit Garg: > Hi Bryan, > > On Thu, 1 Feb 2024 at 08:36, Bryan Brattlof wrote: > > > > Hello Again Everyone! > > > > **Note:** This series depends on the OF_UPSTREAM work from Sumit [0]. > > Patch #11 was

Re: [PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-02 Thread Bryan Brattlof
Hi Andrew! On February 2, 2024 thus sayeth Andrew Davis: > On 1/31/24 9:06 PM, Bryan Brattlof wrote: > > Include the uboot device tree files needed to boot the board. > > > > Signed-off-by: Bryan Brattlof > > --- > > arch/arm/dts/Makefile

[PATCH v2 10/13] arm: dts: introduce am62p5 uboot dts files

2024-02-01 Thread Bryan Brattlof
Include the uboot device tree files needed to boot the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/Makefile |2 + arch/arm/dts/k3-am62p-ddr-lp4-50-1600.dtsi | 2800 arch/arm/dts/k3-am62p-sk-binman.dtsi | 173 ++ arch/arm/dts/k3

[PATCH v2 03/13] arm: mach-k3: am62px: introduce clock and device files for wkup spl

2024-01-31 Thread Bryan Brattlof
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: Bryan Brattlof --- arch/arm/mach-k3/r5/Makefile | 1 + arch/arm/mach-k3/r5/am62px/Makefile| 6 + arch/arm/mach-k3/r5/am62px/clk-data.c

[PATCH v2 06/13] arch: mach-k3: introduce basic files to support the am62px SoC family

2024-01-31 Thread Bryan Brattlof
Introduce the basic functions and definitions needed to properly initialize TI's am62p family of SoCs Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/Kconfig | 7 +- arch/arm/mach-k3/am62p5_init.c| 280 ++ arch/arm/mach-k3/am62px/Kconfig

[PATCH v2 07/13] board: ti: introduce basic board files for the am62px family

2024-01-31 Thread Bryan Brattlof
Introduce the basic files needed to support the am62px family of SoCs Co-developed-by: Hari Hagalla Signed-off-by: Hari Hagalla Signed-off-by: Bryan Brattlof --- board/ti/am62px/Kconfig | 26 + board/ti/am62px/MAINTAINERS | 9 + board/ti/am62px/Makefile | 7 + board

[PATCH v2 05/13] arm: mach-k3: invert logic for split DM firmware config

2024-01-31 Thread Bryan Brattlof
Currently, for the K3 generation of SoCs, there are more SoCs that utilize the split firmware approach than the combined DMSC firmware. Invert the logic to avoid adding more and more SoCs to this list. Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/Kconfig | 2 +- 1 file changed, 1

[PATCH v2 11/13] Makefile: remove hardcoded device tree source directory

2024-01-31 Thread Bryan Brattlof
Some boards that choose to utilize the OF_UPSTREAM directory for their device tree files will need to specify that directory instead of the traditional arch/$(ARCH)/dts/* path. Include the correct path to the board's dtbs depending on if OF_UPSTREAM is selected or not. Signed-off-by: Bryan

[PATCH v2 08/13] firmware: ti_sci_static_data: add static DMA channel data

2024-01-31 Thread Bryan Brattlof
From: Hari Nagalla Include the static DMA channel data for ti_sci Signed-off-by: Hari Nagalla Signed-off-by: Bryan Brattlof --- drivers/firmware/ti_sci_static_data.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/ti_sci_static_data.h b/drivers

[PATCH v2 09/13] dma: ti: k3-udma: Add DMA PSIL mappings for AM62P and J722S

2024-01-31 Thread Bryan Brattlof
Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary [b...@ti.com: rebased to U-Boot v2024.01] Signed-off-by: Bryan Brattlof --- drivers/dma/ti/Makefile| 2 + drivers/dma/ti/k3-psil-am62p.c | 325 + drivers/dma/ti/k3-psil-priv.h | 1

[PATCH v2 13/13] doc: board: ti: introduce am62px documentation

2024-01-31 Thread Bryan Brattlof
Introduce basic documentation for the am62p family of SoCs. Signed-off-by: Bryan Brattlof --- doc/board/ti/am62px_sk.rst | 289 + doc/board/ti/k3.rst| 1 + 2 files changed, 290 insertions(+) create mode 100644 doc/board/ti/am62px_sk.rst diff --git

[PATCH v2 02/13] power: domain: ti: use IS_ENABLED macro

2024-01-31 Thread Bryan Brattlof
Cleanup this list and standardize on using the IS_ENABLED macro for the power domain data list. Signed-off-by: Bryan Brattlof --- drivers/power/domain/ti-power-domain.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/power/domain/ti-power-domain.c b/drivers

[PATCH v2 00/13] Introduce basic support for TI's AM62Px SoC family

2024-01-31 Thread Bryan Brattlof
directory [0] https://lore.kernel.org/u-boot/20240110103547.719757-1-sumit.g...@linaro.org/ [1] https://lore.kernel.org/all/20231012230616.2101992-13...@ti.com/ Bryan Brattlof (11): soc: add info to identify the am62p SoC family power: domain: ti: use IS_ENABLED macro arm: mach-k3: am62px

[PATCH v2 01/13] soc: add info to identify the am62p SoC family

2024-01-31 Thread Bryan Brattlof
Include the part number for TI's am62px family of SoCs so we can properly identify it during boot Signed-off-by: Bryan Brattlof --- arch/arm/mach-k3/include/mach/hardware.h | 2 ++ drivers/soc/soc_ti_k3.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-k3

[PATCH v2 12/13] configs: introduce configs needed for the am62px

2024-01-31 Thread Bryan Brattlof
Introduce the initial configs needed to support the am62px SoC family Signed-off-by: Bryan Brattlof --- configs/am62px_evm_a53_defconfig | 178 +++ configs/am62px_evm_r5_defconfig | 137 include/configs/am62px_evm.h | 14 +++ 3 files

[PATCH] arm: dts: k3-am62p5: enable the wkup i2c bus

2024-01-31 Thread Bryan Brattlof
The PMIC for the am62p5-sk is connected to the i2c bus on the wakeup island. While we do not have a driver yet, enable it anyway so we can begin development of the driver and characterization of the board. Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am62p5-sk.dts | 14 ++ 1

[PATCH v2 04/13] ram: k3-ddrss: enable the am62ax's DDR controller for am62px

2024-01-31 Thread Bryan Brattlof
The am62px family of SoCs uses the same DDR controller as found on the am62ax family. Enable this option when building for the am62px family Signed-off-by: Bryan Brattlof --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Kconfig b/drivers

Re: [PATCH 0/2] arm: dts: Add Itap Delay Value For High Speed DDR

2024-01-10 Thread Bryan Brattlof
On January 10, 2024 thus sayeth Bhavya Kapoor: > > On 08/01/24 7:35 pm, Bryan Brattlof wrote: > > Hi Bhavya! > > > > On January 8, 2024 thus sayeth Bhavya Kapoor: > > > This Series adds Itap Delay Value for DDR52 speed mode for eMMC in > > > J7

Re: [PATCH v3 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2024-01-09 Thread Bryan Brattlof
On January 9, 2024 thus sayeth Sumit Garg: > On Tue, 9 Jan 2024 at 07:24, Bryan Brattlof wrote: > > > > On January 8, 2024 thus sayeth Sumit Garg: > > > Hi Bryan, > > > > > > On Sat, 6 Jan 2024 at 02:12, Bryan Brattlof wrote: > > > > >

Re: [PATCH v3 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2024-01-08 Thread Bryan Brattlof
On January 8, 2024 thus sayeth Sumit Garg: > Hi Bryan, > > On Sat, 6 Jan 2024 at 02:12, Bryan Brattlof wrote: > > > > Hi Sumit! > > > > On December 28, 2023 thus sayeth Sumit Garg: > > > Allow u-boot to build DTB from a different directory tr

Re: [PATCH 0/2] arm: dts: Add Itap Delay Value For High Speed DDR

2024-01-08 Thread Bryan Brattlof
Hi Bhavya! On January 8, 2024 thus sayeth Bhavya Kapoor: > This Series adds Itap Delay Value for DDR52 speed mode for eMMC in > J7200 SoC and for DDR50 speed mode for MMCSD in J721s2 SoC. > > Bhavya Kapoor (2): > arm: dts: k3-j7200-main: Add Itap Delay Value For DDR52 speed mode > arm: dts:

Re: [PATCH v3 3/8] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location

2024-01-05 Thread Bryan Brattlof
Hi Sumit! On December 28, 2023 thus sayeth Sumit Garg: > Allow u-boot to build DTB from a different directory tree such that > *-u-boot.dtsi files can be included from a common location. Currently > that location is arch/$(ARCH)/dts/, so statically define that common > location. > > This is

Re: [PATCH v7 06/17] arm: mach-k3: j784s4: Add clk and power support

2024-01-03 Thread Bryan Brattlof
n > > Reviewed-by: Sean Anderson > > --- > > Cursory look (have not verified actual data), looks fine.. > > Reviewed-by: Nishanth Menon > These look to be correct, just a little old. Reviewed-by: Bryan Brattlof ~Bryan

[PATCH v2 05/26] arm: dts: k3-am654: copy bootph properties to a53 dts

2023-12-29 Thread Bryan Brattlof
In order to unify the R5 board dtb file with the Linux board dtb file, we will need to copy all bootph-pre-ram properties to the *-u-boot.dtsi overlay. Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 160 +++ arch/arm/dts/k3

[PATCH v2 00/26] sync am65x device tree with Linux v6.7-rc1

2023-12-29 Thread Bryan Brattlof
://lore.kernel.org/u-boot/20231221174412.210807-1...@ti.com/ Bryan Brattlof (26): configs: am65x_evm_r5: enable driver for fixed regulators configs: am65x_evm_a53: disable CONSOLE_MUX arm: dts: k3-am654-r5: Merge board file and U-Boot overlay arm: dts: k3-am654: pull in dtb update from Linux arm: dts

[PATCH v2 13/26] arm: dts: k3-am654: remove duplicate mcu_uart0 node

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified we now have a duplicate mcu_uart0 node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base

[PATCH v2 24/26] arm: dts: k3-am654: move dummy_clock to root node

2023-12-29 Thread Bryan Brattlof
Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts index 9926981c661a0..b27b2b05ad840 100644 --- a/arch

[PATCH v2 25/26] arm: dts: k3-am654: remove duplicate mcu secure proxy node

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate mcu secure proxy node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git

[PATCH v2 09/26] arm: dts: k3-am654: remove duplicate timer

2023-12-29 Thread Bryan Brattlof
timer1 is really just the mcu_timer0 node redefined for the WKUP SPL. Remove the timer1 and replace it with the mcu_timer0 from the Linux device tree we imported into U-Boot. Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 arch

[PATCH v2 04/26] arm: dts: k3-am654: pull in dtb update from Linux

2023-12-29 Thread Bryan Brattlof
Pull in dtb updates for the am654 base board from v6.7-rc1 of Linux Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am65-main.dtsi | 342 ++- arch/arm/dts/k3-am65-mcu.dtsi| 156 ++-- arch/arm/dts/k3-am65-wakeup.dtsi | 10

[PATCH v2 18/26] arm: dts: k3-am654: remove duplicate ospi0 node

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate ospi0 node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 37 - 1 file changed, 37 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5

[PATCH v2 14/26] arm: dts: k3-am654: remove duplicate main_uart0

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate main_uart0 node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 17 - 1 file changed, 17 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5

[PATCH v2 16/26] arm: dts: k3-am654: remove duplicate sdhci1 pinmux node

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate sdhci1 pinmux node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git

[PATCH v2 19/26] arm: dts: k3-am654: remove usb0

2023-12-29 Thread Bryan Brattlof
The pinmux for usb0 is missing from the Linux board dtb file. Remove it until we can introduce it in Linux Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 12 arch/arm/dts/k3-am654-r5-base-board.dts | 29 2

[PATCH v2 06/26] arm: dts: k3-am654: include a53 board dtb for r5 build

2023-12-29 Thread Bryan Brattlof
for the WKUP SPL bootloader's view of the am65x. Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts index

[PATCH v2 12/26] arm: dts: k3-am654: add needed regs to udmap nodes

2023-12-29 Thread Bryan Brattlof
DMA operational until the next DT sync from Linux, add these ranges to the *-u-boot.dtsi with a note for our future selves. [0] https://lore.kernel.org/r/20231213135138.929517-2-vigne...@ti.com Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi

[PATCH v2 10/26] arm: dts: k3-am654: remove duplicate mcu_ringacc

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate mcu_ringacc node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base

[PATCH v2 26/26] arm: dts: k3-am654: convert bootph-pre-ram to bootph-all

2023-12-29 Thread Bryan Brattlof
-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 74 ++-- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi index da6d4dffbf9d2..4fd188fa191b4 100644

[PATCH v2 08/26] arm: dts: k3-am654: remove duplicate wkup_uart0

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board files unified, we now have a duplicate wkup_uart0 node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 12 1 file changed, 12 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base

[PATCH v2 20/26] arm: dts: k3-am654: remove duplicate mdio

2023-12-29 Thread Bryan Brattlof
With the Linux and U-Boot board dtb files unified, we now have a duplicate mdio node. Remove it Tested-by: Tom Rini Signed-off-by: Bryan Brattlof --- arch/arm/dts/k3-am654-r5-base-board.dts | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b

  1   2   3   >