[PATCH v3 0/2] Fix J7200 kernel boot when using upstream u-boot

2023-12-07 Thread Reid Tonking
Changes since v2: - changed platdata counts in clk-data.c to use array_size instead of hardcoded value Link to v2: https://lore.kernel.org/u-boot/20231206211753.2225158-1-re...@ti.com/T/#m0a035ac752b812b67c7e83719b5e2b34edab7b26 Reid Tonking (2): arm: mach-k3: j72xx: add new 'virtual' mux

[PATCH v3 1/2] arm: mach-k3: j72xx: add new 'virtual' mux

2023-12-07 Thread Reid Tonking
Nandan Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/clk-data.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j7200/clk-data.c b/arch/arm/mach-k3/j7200/clk-data.c index 9b45786a2d4..eb8436decbd 100644 --- a/arch/arm/mach-k3/j7200/clk

[PATCH v3 2/2] arm: dts: k3-j7200-r5-common-proc-board: Set parent clock for clock ID 323

2023-12-07 Thread Reid Tonking
Previously, dynamic frequency scaling supported rates only through fixed divison. This virtual clock mux configuration enables more varied rates on A72 clock ID 202 by setting up the required register. Reviewed-by: Udit Kumar Signed-off-by: Apurva Nandan Signed-off-by: Reid Tonking --- arch

[PATCH v2 1/2] arm: mach-k3: j72xx: add new 'virtual' mux

2023-12-06 Thread Reid Tonking
Nandan Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/clk-data.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j7200/clk-data.c b/arch/arm/mach-k3/j7200/clk-data.c index 9b45786a2d4..126627fff47 100644 --- a/arch/arm/mach-k3/j7200/clk

[PATCH v2 2/2] arm: dts: k3-j7200-r5-common-proc-board: Set parent clock for clock ID 323

2023-12-06 Thread Reid Tonking
Previously, dynamic frequency scaling supported rates only through fixed divison. This virtual clock mux configuration enables more varied rates on A72 clock ID 202 by setting up the required register. Signed-off-by: Apurva Nandan Signed-off-by: Reid Tonking --- arch/arm/dts/k3-j7200-r5

[PATCH v2 0/2] Fix J7200 kernel boot when using upstream u-boot

2023-12-06 Thread Reid Tonking
Changes since v1: - changed platdata counts in clk-data.c to use array_size instead of hardcoded value - changed commit message patch 2/2 to more accurately reflect the change being made Link to v1: https://lore.kernel.org/u-boot/20231201213320.1876892-1-re...@ti.com/ Reid Tonking (2

[PATCH 1/2] arm: mach-k3: j72xx: add new 'virtual' mux

2023-12-01 Thread Reid Tonking
Nandan Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/clk-data.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j7200/clk-data.c b/arch/arm/mach-k3/j7200/clk-data.c index 9b45786a2d4..126627fff47 100644 --- a/arch/arm/mach-k3/j7200/clk

[PATCH 0/2] Fix J7200 kernel boot when using upstream u-boot

2023-12-01 Thread Reid Tonking
/159604ae43c31ec4181f3a8df70375c4 Links to patches on ti-u-boot: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next=d878fbef4d4460e87608d8d2dfe5311499de49c5 https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next=543e735fe495be233a8a75b19b3d7f8ed44251e0 Reid

[PATCH 2/2] arm: dts: k3-j7200-r5-common-proc-board: Set parent clock for clock ID 323

2023-12-01 Thread Reid Tonking
From: Apurva Nandan This virtual clock mux configuration enables the use of dynamic frequency scaling on A72 clock ID 202 by setting up the required register. Signed-off-by: Apurva Nandan Signed-off-by: Reid Tonking --- arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 3 ++- 1 file changed

[PATCH] arm: mach-k3: J721e: Add xSPI boot mode

2023-11-20 Thread Reid Tonking
From: Vignesh Raghavendra J7200 ROM supports booting from xSPI compliant flash. Detect if ROM booted from xSPI bootmode and map that to BOOT_DEVICE_SPI Signed-off-by: Vignesh Raghavendra Signed-off-by: Pratyush Yadav --- arch/arm/mach-k3/include/mach/j721e_spl.h | 3 ++-

[PATCH] arm: dts: k3-j7200: Sync with Linux 6.7-rc1

2023-11-13 Thread Reid Tonking
Sync u-boot device tree with Linux kernel 6.7-rc1 Signed-off-by: Reid Tonking --- Boot-log: https://gist.github.com/reidt1/db5426f2a778369db8c3699cf293b94f arch/arm/dts/k3-j7200-main.dtsi | 2 +- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 - 2 files changed, 9 insertions(+), 2

[PATCH v5 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread Reid Tonking
de since they're present in v6.6-rc1 Signed-off-by: Reid Tonking --- .../k3-j7200-common-proc-board-u-boot.dtsi| 208 +++ arch/arm/dts/k3-j7200-common-proc-board.dts | 186 +++--- arch/arm/dts/k3-j7200-main.dtsi | 535 +- arch/arm/dts/k3-j7200-mcu-wak

[PATCH v5 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-10-05 Thread Reid Tonking
://lore.kernel.org/u-boot/20231004165629.506664-1-re...@ti.com/ Reid Tonking (2): arm: mach-k3: j7200: Add mcu_timer0 id to the dev list arm: dts: j7200: dts sync with Linux 6.6-rc1 .../k3-j7200-common-proc-board-u-boot.dtsi| 208 +++ arch/arm/dts/k3-j7200-common-proc-board.dts | 186 +++--- arch

[PATCH v5 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-10-05 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-10-04 Thread Reid Tonking
it has been added already - Rebased off of "ec6f06bddc configs: Resync with savedefconfig" - Removed reviewed-by on patch 2 due to changes - Link to v3: https://lore.kernel.org/u-boot/20230918171813.11407-3-re...@ti.com/ Reid Tonking (2): arm: mach-k3: j7200: Add mcu_timer0 id to the dev

[PATCH v4 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-04 Thread Reid Tonking
de since they're present in v6.6-rc1 Signed-off-by: Reid Tonking --- .../k3-j7200-common-proc-board-u-boot.dtsi| 208 +++ arch/arm/dts/k3-j7200-common-proc-board.dts | 186 +++--- arch/arm/dts/k3-j7200-main.dtsi | 535 +- arch/arm/dts/k3-j7200-mcu-wak

[PATCH v4 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-10-04 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-09-18 Thread Reid Tonking
de since they're present in v6.6-rc1 Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- .../k3-j7200-common-proc-board-u-boot.dtsi| 150 ++--- arch/arm/dts/k3-j7200-common-proc-board.dts | 188 +++--- arch/arm/dts/k3-j7200-main.dtsi | 535 +- arch/ar

[PATCH v3 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-09-18 Thread Reid Tonking
h [0] - dropped the trailing white space (patch 1/2) - changed wording in commit message (patch 2/2) - added k3_sysreset node back into u-boot.dtsi (patch 2/2) - Link to v2: https://lore.kernel.org/u-boot/20230905181309.61666-1-re...@ti.com/T/#m8d254c1d912aae3b636fadb23a0c8aacdd9ea484 --- Reid Ton

[PATCH v3 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-18 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-09-11 Thread Reid Tonking
de since they're present in v6.6-rc1 Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- .../k3-j7200-common-proc-board-u-boot.dtsi| 150 ++--- arch/arm/dts/k3-j7200-common-proc-board.dts | 188 +++--- arch/arm/dts/k3-j7200-main.dtsi | 535 +- arch/ar

[PATCH v3 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-11 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-09-11 Thread Reid Tonking
h [0] - dropped the trailing white space (patch 1/2) - changed wording in commit message (patch 2/2) - added k3_sysreset node back into u-boot.dtsi (patch 2/2) - Link to v2: https://lore.kernel.org/u-boot/20230905181309.61666-1-re...@ti.com/T/#m8d254c1d912aae3b636fadb23a0c8aacdd9ea484 --- Reid Ton

[PATCH] drivers: misc: k3_avs: Add Linux compatibles to maintain sync

2023-09-07 Thread Reid Tonking
uses the config as the j721e, the data is inherited from j721e vs creating a duplicate Signed-off-by: Neha Francis Signed-off-by: Reid Tonking --- In preparation for syncing k3 socs j721e & j7200, a single patch is being submitted to avoid having dependency complications [0]. This p

[PATCH 3/3] arm: dts: j7200: dtb sync with Linux 6.5-rc1

2023-09-05 Thread Reid Tonking
node wasn't being used anyhere, so it was removed. - remove dummy_clock_200mhz main_sdhci0 & main_sdhci1 no longer need dummy clock for eMMC/SD - fix secure proxy node mcu_secproxy changed to used secure_prxy_mcu which is already defined in k3-j7200-mcu-wakeup.dtsi Signed-off-by: Reid

[PATCH 2/3] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-09-05 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/j7200/dev

[PATCH 1/3] drivers: misc: k3_avs: Add Linux compatible to enable avs in u-boot

2023-09-05 Thread Reid Tonking
as the j721e, the data is inherited from j721e vs creating a duplicate in all but name. Signed-off-by: Reid Tonking --- drivers/misc/k3_avs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c index 840148d090..f7936017ba 100644

[PATCH 0/3] J7200 device tree sync from v6.5-rc1 to u-boot

2023-09-05 Thread Reid Tonking
/73c30d9a189919169e38c2c2566b5fc6 Signed-off-by: Reid Tonking --- Changes in v2: - Separated mcu_timer0 fix into separate patch - Added j7200-vtm compatible to k3_avs driver instead of using j721e compatible - node no longer needed for buck1_reg to enable avs - dropped uneeded chosen/alias property

[PATCH] arm: dts: j7200: dtb sync with Linux 6.5-rc1

2023-08-22 Thread Reid Tonking
node wasn't being used anyhere, so it was removed. - remove dummy_clock_200mhz main_sdhci0 & main_sdhci1 no longer need dummy clock for eMMC/SD - fix secure proxy node mcu_secproxy changed to used secure_prxy_mcu which is already defined in k3-j7200-mcu-wakeup.dtsi Signed-off-by: Reid