[PATCH v3 17/20] arm: dts: k3-j721s2: Add r5 specific dt support

2022-01-17 Thread Aswath Govindraju
Add initial support for device tree that runs on R5. Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 3 +- .../dts/k3-j721s2-r5-common-proc-board.dts| 196 ++ 2 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH v3 16/20] arm: dts: Add support for A72 specific J721S2 Common Processor Board

2022-01-17 Thread Aswath Govindraju
out in the common processor board. Link to Common Processor Board: https://www.ti.com/lit/zip/sprr439 Signed-off-by: Aswath Govindraju --- Notes: - k3-j721s2-common-proc-board.dts fine is synced from upstream kernel v5.17-rc1 tag arch/arm/dts/Makefile | 1 + .../k3-j721s2-com

[PATCH v3 15/20] arm: dts: Add initial support for J721S2 System on Module

2022-01-17 Thread Aswath Govindraju
A System on Module (SoM) contains the SoC, PMIC, DDR and basic high speed components necessary for functionality. Therefore, add support for the components present on the SoM. Signed-off-by: Aswath Govindraju --- Notes: - This patch is synced from upstream kernel v5.17-rc1 tag arch/arm/dts/k3

[PATCH v3 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
Technical Reference Manual (SPRUJ28 – NOVEMBER 2021) for further details: http://www.ti.com/lit/pdf/spruj28 Introduce basic support for the J721S2 SoC. Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Nishanth Menon --- Notes: - This patch is synced from

[PATCH v3 13/20] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721S2

2022-01-17 Thread Aswath Govindraju
do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Aswath Govindraju --- Notes: - This patch is synced from upstream kernel v5.17-rc1 tag include/dt-bindings/pinctrl/k3.h | 3

[PATCH v3 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-17 Thread Aswath Govindraju
From: David Huang Add board support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- board/ti/j721s2/Kconfig | 63 + board/ti/j721s2/MAINTAINERS | 16 board/ti/j721s2/Makefile| 8 ++ board/ti/j721s2/evm.c | 180

[PATCH v3 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES lane mux can select upto 4 different IPs. Define all the possible functions. Signed-off-by: Aswath Govindraju --- Notes: - This patch is synced from upstream kernel v5.17-rc1 tag include/dt-bindings/mux/ti-serdes.h | 22

[PATCH v3 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
From: David Huang Add support for DDR subsystem in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/ram/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index a79594d35198..709c916a2a11

[PATCH v3 10/20] soc: ti: k3-socinfo: Add entry for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC identification. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 9abed7d490a2..c8f7a5768775

[PATCH v3 08/20] power: domain: ti: Add support for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/power/domain/ti-power-domain.c | 5 + include/k3-dev.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/power/domain/ti-power-domain.c

[PATCH v3 07/20] clk: clk-k3: Add support for J721S2 SoC

2022-01-17 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/clk/ti/clk-k3.c | 5 + include/k3-clk.h| 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c index e04c57eff252

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

2022-01-17 Thread Aswath Govindraju
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 --- arch/arm/mach-k3/Kconfig | 15 +- arch/arm/mach-k3

[PATCH v3 06/20] drivers: dma: Add support for J721S2

2022-01-17 Thread Aswath Govindraju
From: David Huang Add support for DMA in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j721s2.c | 167 ++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers

[PATCH v3 03/20] ram: k3-ddrss: Add support for multiple instances of DDR subsystems

2022-01-17 Thread Aswath Govindraju
The current driver only supports single instance of DRR subsystem. Add support for probing multiple instances of DDR subsystem. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 138 1 file changed, 87 insertions(+), 51 deletions(-) diff

[PATCH v3 04/20] ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR subsystems

2022-01-17 Thread Aswath Govindraju
for a different EMIF port, by default set to 3 Add support for configuring all the above by using a MSMC device Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 158 1 file changed, 158 insertions(+) diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b

[PATCH v3 02/20] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance

2022-01-17 Thread Aswath Govindraju
Add a pointer to ddr instance int the lpddr4_privatedata_s structure for supporting mutliple instances of DDR in the drivers. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/k3-ddrss

[PATCH v3 00/20] J721S2: Add initial support

2022-01-17 Thread Aswath Govindraju
uart8 instance - Moved aliases to respective board files Aswath Govindraju (10): ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance ram: k3-ddrss: Add support for multiple instances of DDR subsystems ram: k3-ddrss: Add support for configuring MSMC subsystem in case

[PATCH v3 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-17 Thread Aswath Govindraju
From: Nishanth Menon If there is an optional boot notification channel that an SoC uses separate from the rx path, use the same. Signed-off-by: Nishanth Menon --- .../remoteproc/k3-system-controller.txt | 3 +++ drivers/remoteproc/k3_system_controller.c | 20 ++- 2

Re: [PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-17 Thread Aswath Govindraju
Hi Tomi, On 17/01/22 7:24 pm, Tom Rini wrote: > On Mon, Jan 17, 2022 at 12:22:52PM +0530, Aswath Govindraju wrote: >> Hi Tom, >> >> On 17/01/22 11:01 am, Aswath Govindraju wrote: >>> Hi Tom, >>> >>> On 13/01/22 7:42 pm, Tom Rini wrote: >&

Re: [PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-16 Thread Aswath Govindraju
Hi Tom, On 17/01/22 11:01 am, Aswath Govindraju wrote: > Hi Tom, > > On 13/01/22 7:42 pm, Tom Rini wrote: >> On Tue, Jan 11, 2022 at 01:25:26PM +0530, Aswath Govindraju wrote: >> >>> From: Nishanth Menon >>> >>> If there is an optional boot no

Re: [PATCH v2 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-16 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:46 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:36PM +0530, Aswath Govindraju wrote: > >> From: David Huang >> >> Add board support for J721S2 SoC. >> >> Signed-off-by: David Huang >> Signed-off-by: Aswath Govindraju

Re: [PATCH v2 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2022-01-16 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:45 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:34PM +0530, Aswath Govindraju wrote: > >> From: David Huang >> >> Add support for DDR subsystem in J721S2 SoC. >> >> Signed-off-by: David Huang >> Signed-off-by: Aswath

Re: [PATCH v2 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2022-01-16 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:47 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:37PM +0530, Aswath Govindraju wrote: > >> There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES >> lane mux can select upto 4 different IPs. Define all the possible >> fun

Re: [PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-16 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:42 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:26PM +0530, Aswath Govindraju wrote: > >> From: Nishanth Menon >> >> If there is an optional boot notification channel that an SoC uses >> separate from the rx path, use the same. >&

Re: [PATCH v2 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-13 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:38 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:39PM +0530, Aswath Govindraju wrote: > >> The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, >> providing advanced system integration in automotive ADAS applications and >>

[PATCH v2 20/20] configs: j721s2_evm_a72_defconfig: Add A72 specific defconfig

2022-01-10 Thread Aswath Govindraju
From: David Huang Enable A72 specific configs for J721S2 Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_a72_defconfig | 207 +++ 1 file changed, 207 insertions

[PATCH v2 19/20] configs: j721s2_evm_r5_defconfig: Add R5 SPL specific defconfig

2022-01-10 Thread Aswath Govindraju
From: David Huang Enable R5 SPL specific configs for J721S2. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_r5_defconfig | 171 1 file changed, 171 insertions

[PATCH v2 17/20] arm: dts: k3-j721s2: Add r5 specific dt support

2022-01-10 Thread Aswath Govindraju
Add initial support for device tree that runs on R5. Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 3 +- .../dts/k3-j721s2-r5-common-proc-board.dts| 196 ++ 2 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH v2 16/20] arm: dts: Add support for A72 specific J721S2 Common Processor Board

2022-01-10 Thread Aswath Govindraju
out in the common processor board. Link to Common Processor Board: https://www.ti.com/lit/zip/sprr439 Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 1 + .../k3-j721s2-common-proc-board-u-boot.dtsi | 149 ++ arch/arm/dts/k3-j721s2-common-proc-board.dts |

[PATCH v2 15/20] arm: dts: Add initial support for J721S2 System on Module

2022-01-10 Thread Aswath Govindraju
A System on Module (SoM) contains the SoC, PMIC, DDR and basic high speed components necessary for functionality. Therefore, add support for the components present on the SoM. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-j721s2-som-p0.dtsi | 173 + 1 file

[PATCH v2 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
Technical Reference Manual (SPRUJ28 – NOVEMBER 2021) for further details: http://www.ti.com/lit/pdf/spruj28 Introduce basic support for the J721S2 SoC. Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721s2-main.dtsi

[PATCH v2 13/20] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721S2

2022-01-10 Thread Aswath Govindraju
do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Aswath Govindraju --- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt

[PATCH v2 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES lane mux can select upto 4 different IPs. Define all the possible functions. Signed-off-by: Aswath Govindraju --- include/dt-bindings/mux/ti-serdes.h | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH v2 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-10 Thread Aswath Govindraju
From: David Huang Add board support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- board/ti/j721s2/Kconfig | 63 + board/ti/j721s2/MAINTAINERS | 7 ++ board/ti/j721s2/Makefile| 8 ++ board/ti/j721s2/evm.c | 180

[PATCH v2 10/20] soc: ti: k3-socinfo: Add entry for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC identification. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 9abed7d490a2..c8f7a5768775

[PATCH v2 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
From: David Huang Add support for DDR subsystem in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/ram/Kconfig | 12 drivers/ram/k3-ddrss/Makefile | 4 2 files changed, 16 insertions(+) diff --git a/drivers/ram/Kconfig b

[PATCH v2 08/20] power: domain: ti: Add support for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/power/domain/ti-power-domain.c | 5 + include/k3-dev.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/power/domain/ti-power-domain.c

[PATCH v2 07/20] clk: clk-k3: Add support for J721S2 SoC

2022-01-10 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/clk/ti/clk-k3.c | 5 + include/k3-clk.h| 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c index e04c57eff252

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

2022-01-10 Thread Aswath Govindraju
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 --- arch/arm/mach-k3/Kconfig | 11 +- arch/arm/mach-k3

[PATCH v2 06/20] drivers: dma: Add support for J721S2

2022-01-10 Thread Aswath Govindraju
From: David Huang Add support for DMA in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j721s2.c | 167 ++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers

[PATCH v2 04/20] ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR subsystems

2022-01-10 Thread Aswath Govindraju
for a different EMIF port, by default set to 3 Add support for configuring all the above by using a MSMC device Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 158 1 file changed, 158 insertions(+) diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b

[PATCH v2 03/20] ram: k3-ddrss: Add support for multiple instances of DDR subsystems

2022-01-10 Thread Aswath Govindraju
The current driver only supports single instance of DRR subsystem. Add support for probing multiple instances of DDR subsystem. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 138 1 file changed, 87 insertions(+), 51 deletions(-) diff

[PATCH v2 02/20] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance

2022-01-10 Thread Aswath Govindraju
Add a pointer to ddr instance int the lpddr4_privatedata_s structure for supporting mutliple instances of DDR in the drivers. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/k3-ddrss

[PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-10 Thread Aswath Govindraju
From: Nishanth Menon If there is an optional boot notification channel that an SoC uses separate from the rx path, use the same. Signed-off-by: Nishanth Menon --- .../remoteproc/k3-system-controller.txt | 3 +++ drivers/remoteproc/k3_system_controller.c | 20 ++- 2

[PATCH v2 00/20] J721S2: Add initial support

2022-01-10 Thread Aswath Govindraju
for main uart8 instance - Moved aliases to respective board files Aswath Govindraju (10): ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance ram: k3-ddrss: Add support for multiple instances of DDR subsystems ram: k3-ddrss: Add support for configuring MSMC subsystem in case

Re: [PATCH] lib: Kconfig: fix PHANDLE_CHECK_SEQ position outside of menu

2022-01-05 Thread Aswath Govindraju
uot;fdt: Use phandle to distinguish DT nodes with same name") > Signed-off-by: Eugen Hristev Thank you for fixing this :) Reviewed-by: Aswath Govindraju Thanks, Aswath > --- > lib/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/l

[PATCH 20/20] configs: j721s2_evm_a72_defconfig: Add A72 specific defconfig

2021-12-16 Thread Aswath Govindraju
From: David Huang Enable A72 specific configs for J721S2 Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_a72_defconfig | 207 +++ 1 file changed, 207 insertions

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

2021-12-16 Thread Aswath Govindraju
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 --- arch/arm/mach-k3/Kconfig | 11 +- arch/arm/mach-k3

[PATCH 19/20] configs: j721s2_evm_r5_defconfig: Add R5 SPL specific defconfig

2021-12-16 Thread Aswath Govindraju
From: David Huang Enable R5 SPL specific configs for J721S2. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Hari Nagalla --- configs/j721s2_evm_r5_defconfig | 171 1 file changed, 171 insertions

[PATCH 17/20] arm: dts: k3-j721s2: Add r5 specific dt support

2021-12-16 Thread Aswath Govindraju
Add initial support for device tree that runs on R5. Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 3 +- .../dts/k3-j721s2-r5-common-proc-board.dts| 196 ++ 2 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 arch

[PATCH 16/20] arm: dts: Add support for A72 specific J721S2 Common Processor Board

2021-12-16 Thread Aswath Govindraju
out in the common processor board. Link to Common Processor Board: https://www.ti.com/lit/zip/sprr439 Signed-off-by: Aswath Govindraju --- arch/arm/dts/Makefile | 1 + .../k3-j721s2-common-proc-board-u-boot.dtsi | 146 ++ arch/arm/dts/k3-j721s2-common-proc-board.dts |

[PATCH 14/20] arm: dts: Add initial support for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
Technical Reference Manual (SPRUJ28 – NOVEMBER 2021) for further details: http://www.ti.com/lit/pdf/spruj28 Introduce basic support for the J721S2 SoC. Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j721s2-main.dtsi

[PATCH 15/20] arm: dts: Add initial support for J721S2 System on Module

2021-12-16 Thread Aswath Govindraju
A System on Module (SoM) contains the SoC, PMIC, DDR and basic high speed components necessary for functionality. Therefore, add support for the components present on the SoM. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-j721s2-som-p0.dtsi | 174 + 1 file

[PATCH 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES lane mux can select upto 4 different IPs. Define all the possible functions. Signed-off-by: Aswath Govindraju --- include/dt-bindings/mux/ti-serdes.h | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH 13/20] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721S2

2021-12-16 Thread Aswath Govindraju
do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Aswath Govindraju --- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt

[PATCH 11/20] board: ti: j721s2: Add board support for J721S2

2021-12-16 Thread Aswath Govindraju
From: David Huang Add board support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- board/ti/j721s2/Kconfig | 63 + board/ti/j721s2/MAINTAINERS | 7 ++ board/ti/j721s2/Makefile| 8 ++ board/ti/j721s2/evm.c | 180

[PATCH 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
From: David Huang Add support for DDR subsystem in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/ram/Kconfig | 12 drivers/ram/k3-ddrss/Makefile | 4 2 files changed, 16 insertions(+) diff --git a/drivers/ram/Kconfig b

[PATCH 10/20] soc: ti: k3-socinfo: Add entry for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC identification. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/soc/soc_ti_k3.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c index 9abed7d490a2..c8f7a5768775

[PATCH 08/20] power: domain: ti: Add support for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/power/domain/ti-power-domain.c | 5 + include/k3-dev.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/power/domain/ti-power-domain.c

[PATCH 06/20] drivers: dma: Add support for J721S2

2021-12-16 Thread Aswath Govindraju
From: David Huang Add support for DMA in J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/dma/ti/Makefile | 1 + drivers/dma/ti/k3-psil-j721s2.c | 167 ++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers

[PATCH 07/20] clk: clk-k3: Add support for J721S2 SoC

2021-12-16 Thread Aswath Govindraju
From: David Huang Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju --- drivers/clk/ti/clk-k3.c | 5 + include/k3-clk.h| 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c index e04c57eff252

[PATCH 04/20] ram: k3-ddrss: Add support for configuring MSMC subsystem in case of Multiple DDR subsystems

2021-12-16 Thread Aswath Govindraju
for a different EMIF port, by default set to 3 Add support for configuring all the above by using a MSMC device Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 158 1 file changed, 158 insertions(+) diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b

[PATCH 02/20] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance

2021-12-16 Thread Aswath Govindraju
Add a pointer to ddr instance int the lpddr4_privatedata_s structure for supporting mutliple instances of DDR in the drivers. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/k3-ddrss

[PATCH 03/20] ram: k3-ddrss: Add support for multiple instances of DDR subsystems

2021-12-16 Thread Aswath Govindraju
The current driver only supports single instance of DRR subsystem. Add support for probing multiple instances of DDR subsystem. Signed-off-by: Aswath Govindraju --- drivers/ram/k3-ddrss/k3-ddrss.c | 138 1 file changed, 87 insertions(+), 51 deletions(-) diff

[PATCH 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2021-12-16 Thread Aswath Govindraju
From: Nishanth Menon If there is an optional boot notification channel that an SoC uses separate from the rx path, use the same. Signed-off-by: Nishanth Menon --- .../remoteproc/k3-system-controller.txt | 3 +++ drivers/remoteproc/k3_system_controller.c | 20 ++- 2

[PATCH 00/20] J721S2: Add initial support

2021-12-16 Thread Aswath Govindraju
and Media Wave521CL H.264/H.265 encode/decode engine See J721S2 Technical Reference Manual (SPRUJ28 – NOVEMBER 2021) for further details: http://www.ti.com/lit/pdf/spruj28 bootlog: - https://pastebin.ubuntu.com/p/cMSHZBMFXg/ Aswath Govindraju (10): ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer

[PATCH 0/2] AM64: Add support for USB

2021-10-20 Thread Aswath Govindraju
Add support for USB 3.0 TYPE A port on AM642 SK board The following series of patches are dependent on, - https://patchwork.ozlabs.org/project/uboot/list/?series=268093 - https://patchwork.ozlabs.org/project/uboot/list/?series=268092 Aswath Govindraju (1): configs: am64x_evm_*_defconfig: Add

[PATCH 2/2] configs: am64x_evm_*_defconfig: Add configs to enable serdes for USB 3.0 support

2021-10-20 Thread Aswath Govindraju
Add configs to enable serdes for USB 3.0 support. Signed-off-by: Aswath Govindraju --- configs/am64x_evm_a53_defconfig | 15 +++ configs/am64x_evm_r5_defconfig | 13 + 2 files changed, 28 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs

[PATCH 1/2] arm: dts: am642-sk: Add and Enable USB SuperSpeed Host Port in SPL

2021-10-20 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Add and Enable USB SuperSpeed Host Port in SPL. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-am642-r5-sk.dts | 40 arch/arm/dts/k3-am642-sk-u-boot.dtsi | 33 +++ 2

[PATCH] usb: cdns3: cdns3-ti: Add compatible for AM64 SoC

2021-10-20 Thread Aswath Govindraju
Add new compatible for AM64 SoC. Signed-off-by: Aswath Govindraju --- drivers/usb/cdns3/cdns3-ti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 43171678ee17..8958f0166bd5 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b

[PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched

2021-10-20 Thread Aswath Govindraju
Search for "phy" in the subnode names, to syncup with kernel. Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-torrent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/p

Re: [PATCH] spl: fit: Skip attempting to load 0 length image

2021-10-19 Thread Aswath Govindraju
do such a load. > > Signed-off-by: Nishanth Menon > --- Reviewed-by: Aswath Govindraju Thanks, Aswath > common/spl/spl_fit.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c > index f41abca0ccb5..e9540dc21

Re: [PATCH v4 1/2] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-08-29 Thread Aswath Govindraju
Hi Jaehoon, On 28/08/21 10:09 am, Jaehoon Chung wrote: > Hi Aswath, > > On 8/14/21 2:34 AM, Aswath Govindraju wrote: >> Add support for enumerating MMC card in a given mode using mmc rescan and >> mmc dev commands. The speed mode is provided as the last argument

[PATCH v2 3/3] configs: j72*_evm: Define the buffer sizes for dfu

2021-08-26 Thread Aswath Govindraju
as CONFIG_SYS_DFU_DATA_BUF_SIZE. Fix these by setting appropriate buffer sizes in their respective defconfig files and defining the max file size as 8 MB which is the default dfu buffer size. Signed-off-by: Aswath Govindraju --- configs/j7200_evm_a72_defconfig | 2 ++ configs/j7200_evm_r5_defconfig | 1

[PATCH v2 2/3] environment: ti: k3_dfu: Increase the size allocated for bootloader images in dfu_alt_info_ram

2021-08-26 Thread Aswath Govindraju
The size of u-boot.img is above 1MB and that of tispl.bin is close to 1MB, in case of j721e. Therefore, increase the sizes allocated for tispl.bin and u-boot.img to 2 MB and 4 MB respectively, in dfu_alt_info_ram environment variable. Signed-off-by: Aswath Govindraju --- include/environment/ti

[PATCH v2 1/3] arm: dts: k3-j721e-r5-*.dts: Fix clock-names property in the usb0 instance

2021-08-26 Thread Aswath Govindraju
In the cdns3 usb driver, the clock name looked for is ref. Therefore, fix the clock-names property in usb0 instance for proper initialization of cdns3 usb gadget driver. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 0/3] J7200/J721E: Fix USB DFU Boot mode

2021-08-26 Thread Aswath Govindraju
The following series of patches fix USB DFU Boot mode in J7200 and J721E SoC's. changes since v1: - synced up the size allocated for tispl.bin and u-boot.img in dfu ram env variable with that of OSPI and eMMC dfu env variables Aswath Govindraju (3): arm: dts: k3-j721e-r5-*.dts: Fix clock

[PATCH 3/3] configs: j72*_evm: Define the buffer sizes for dfu

2021-08-26 Thread Aswath Govindraju
as CONFIG_SYS_DFU_DATA_BUF_SIZE. Fix these by setting appropriate buffer sizes in their respective defconfig files and defining the max file size as 8 MB which is the default dfu buffer size. Signed-off-by: Aswath Govindraju --- configs/j7200_evm_a72_defconfig | 2 ++ configs/j7200_evm_r5_defconfig | 1

[PATCH 2/3] environment: ti: k3_dfu: Increase the size allocated for bootloader images in dfu_alt_info_ram

2021-08-26 Thread Aswath Govindraju
The size of u-boot.img is above 1MB and that of tispl.bin is close to 1MB, in case of j721e. Therefore, increase the sizes allocated for tispl.bin and u-boot.img to 1.5 MB and 2 MB respectively, in dfu_alt_info_ram environment variable. Signed-off-by: Aswath Govindraju --- include/environment

[PATCH 1/3] arm: dts: k3-j721e-r5-*.dts: Fix clock-names property in the usb0 instance

2021-08-26 Thread Aswath Govindraju
In the cdns3 usb driver, the clock name looked for is "ref". Therefore, fix the clock-names property in usb0 instance for proper initialization of cdns3 usb gadget driver. Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-j721e-r5-common-proc-board.dts | 2 +- 1 file changed, 1

[PATCH 0/3] J7200/J721E: Fix USB DFU Boot mode

2021-08-26 Thread Aswath Govindraju
The following series of patches fix USB DFU Boot mode in J7200 and J721E SoC's. Aswath Govindraju (3): arm: dts: k3-j721e-r5-*.dts: Fix clock-names property in the usb0 instance environment: ti: k3_dfu: Increase the size allocated for bootloader images in dfu_alt_info_ram configs

Re: [PATCH v3] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-08-13 Thread Aswath Govindraju
Hi all, On 04/08/21 8:08 pm, Aswath Govindraju wrote: > Add support for enumerating MMC card in a given mode using mmc rescan and > mmc dev commands. The speed mode is provided as the last argument in these > commands and is indicated using the index from enum bus_mode in > include/mm

[PATCH v4 2/2] doc: usage: mmc: Document usage of speed mode in "mmc dev" and "mmc rescan"

2021-08-13 Thread Aswath Govindraju
Add documentation on the usage of "mmc dev" and "mmc rescan" commands to set user defined speed modes. Signed-off-by: Aswath Govindraju --- doc/usage/mmc.rst | 49 +-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a

[PATCH v4 1/2] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-08-13 Thread Aswath Govindraju
in the device tree. Signed-off-by: Aswath Govindraju --- cmd/Kconfig | 10 cmd/mmc.c| 52 +--- drivers/mmc/mmc-uclass.c | 5 +++- drivers/mmc/mmc.c| 22 - include/mmc.h| 2 ++ 5 files changed, 81

[PATCH v4 0/2] mmc: Add support for enumrating MMC card in user specified mode

2021-08-13 Thread Aswath Govindraju
The following series of patches, - add support enumerating MMC card in user specified speed mode - add documentation for the usage of above feature changes since v3: - split the patch in two, seperating the documentation changes Aswath Govindraju (2): mmc: Add support for enumerating MMC card

[PATCH] arm: dts: k3-am642-evm-u-boot: Add u-boot, dm-spl tag in the pinmux node of mmc1

2021-08-09 Thread Aswath Govindraju
Add u-boot,dm-spl tag in the pinmux device tree node, required for MMCSD1 subsystem. Fixes: b6059ddc45b9 ("arm: dts: k3-am642: Add r5 specific dt support") Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v3] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-08-04 Thread Aswath Govindraju
in the device tree. Signed-off-by: Aswath Govindraju --- Changes since v2: - made init_mmc_device as wrapper function around __init_mmc_device - rebased on top of latest master - used dectoul() instead of simple_strtoul() whereever possible Changes since v1: - Removed #ifdef around the definition

Re: [PATCH v2] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-08-04 Thread Aswath Govindraju
Hi Jaehoon, On 02/08/21 3:26 am, Jaehoon Chung wrote: > Hi Aswath, > > On 7/30/21 9:26 PM, Aswath Govindraju wrote: >> Add support for enumerating MMC card in a given mode using mmc rescan and >> mmc dev commands. The speed mode is provided as the last argument

[PATCH 3/3] include: configs: am64x_evm: Add env variables for booting to kernel using USB MSC device

2021-08-04 Thread Aswath Govindraju
Add env variables for booting to kernel from USB MSC device. The second partition in the USB MSC device needs to formatted as ext4 file system with kernel and dtb images, present in the /boot folder. Signed-off-by: Aswath Govindraju --- include/configs/am64x_evm.h | 31

[PATCH 2/3] environment: ti: mmc.h: Make the finduuid generic for usage across different device types

2021-08-04 Thread Aswath Govindraju
Make finduuid generic by making it dependent on the boot variable. For example, this can now be used for finding the uuid of partitions in usb device too. Signed-off-by: Aswath Govindraju --- include/environment/ti/mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/3] board: ti: am64x: Add support for fixing dr_mode while booting from USB

2021-08-04 Thread Aswath Govindraju
Fix the dr_mode in the U-Boot device tree blob, by reading the mode field from the USB Boot Configuration fields. The dr_mode will only be fixed when booting from USB. Signed-off-by: Aswath Govindraju --- board/ti/am64x/evm.c | 32 1 file changed, 32 insertions

[PATCH 0/3] AM64: Add support for booting to kernel from USB MSC device

2021-08-04 Thread Aswath Govindraju
The following series of patches add support for booting to kernel using USB MSC device as the boot media, in AM64 Aswath Govindraju (3): board: ti: am64x: Add support for fixing dr_mode while booting from USB environment: ti: mmc.h: Make the finduuid generic for usage across different

[PATCH v2] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-30 Thread Aswath Govindraju
in the device tree. Signed-off-by: Aswath Govindraju --- Changes since v1: - Removed #ifdef around the definition of user_speed_mode field - Replaced #if with if (IS_ENABLED()) - Removed repeated MMC_CAP(MMC_LEGACY) - initialized user_speed_mode to MMC_MODES_SPEED in mmc_init_device and mmc_dp_preinit

Re: [PATCH] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-30 Thread Aswath Govindraju
Hi Jaehoon, On 30/07/21 3:02 pm, Jaehoon Chung wrote: > On 7/30/21 6:20 PM, Aswath Govindraju wrote: >> Hi Jaehoon, >> >> On 30/07/21 2:44 pm, Jaehoon Chung wrote: >>> Hi Aswath, >>> >>> On 7/30/21 2:12 PM, Aswath Govindraju wrote: >>>&

Re: [PATCH] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-30 Thread Aswath Govindraju
Hi Jaehoon, On 30/07/21 2:44 pm, Jaehoon Chung wrote: > Hi Aswath, > > On 7/30/21 2:12 PM, Aswath Govindraju wrote: >> Hi Jaehoon, >> >> On 30/07/21 4:00 am, Jaehoon Chung wrote: >>> Hi Aswath, >>> >>> On 7/29/21 11:55 PM, Aswath Govin

Re: [PATCH] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-29 Thread Aswath Govindraju
Hi Jaehoon, On 30/07/21 4:00 am, Jaehoon Chung wrote: > Hi Aswath, > > On 7/29/21 11:55 PM, Aswath Govindraju wrote: >> Add support for enumerating MMC card in a given mode using mmc rescan and >> mmc dev commands. The speed mode is provided as the last argument

Re: [PATCH] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-29 Thread Aswath Govindraju
Hi Ashok, On 30/07/21 10:17 am, Ashok Reddy Soma wrote: > Hi Aswath, > >> -Original Message----- >> From: Aswath Govindraju >> Sent: Thursday, July 29, 2021 8:25 PM >> Cc: Lokesh Vutla ; Vignesh Raghavendra >> ; Kishon Vijay Abraham I ; Aswath >>

[PATCH] mmc: Add support for enumerating MMC card in a given mode using mmc command

2021-07-29 Thread Aswath Govindraju
in the device tree. Signed-off-by: Aswath Govindraju --- cmd/Kconfig | 10 ++ cmd/mmc.c| 71 drivers/mmc/mmc-uclass.c | 3 ++ drivers/mmc/mmc.c| 18 ++ include/mmc.h| 4 +++ 5 files changed, 85

[PATCH v2 6/6] configs: am64x_evm_*_defconfig: Enable config to support gpt and FDT library overlay

2021-07-26 Thread Aswath Govindraju
Enable config to support gpt command on AM642 evm/sk and enable config for FDT library overlay support Signed-off-by: Aswath Govindraju --- configs/am64x_evm_a53_defconfig | 2 ++ configs/am64x_evm_r5_defconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/configs

[PATCH v2 5/6] configs: am64x_evm_*_defconfig: Enable configs to support eMMC boot

2021-07-26 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Enable configs to support eMMC boot. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- configs/am64x_evm_a53_defconfig | 1 + configs/am64x_evm_r5_defconfig | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configs

<    1   2   3   4   >