Increase max resasg_entries to accommodate max size of
largest device J784S4[0].
[0]:
https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j784s4/resasg_types.html
Reported-by: Jared McArthur
Signed-off-by: Udit Kumar
---
arch/arm/mach-k3/schema.yaml | 4 ++--
1 file changed, 2 insertions
Many boards of K3 overwrites default malloc size, instead
of doing at almost each board level,
Add default size at Kconfig.
Signed-off-by: Udit Kumar
---
Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Kconfig b/Kconfig
index 51358633762..05b7f410fa5 100644
--- a
Use default value of malloc size coming from Kconfig, instead of
board specific override.
Signed-off-by: Udit Kumar
---
configs/am62x_a53_usbdfu.config| 1 -
configs/am64x_evm_a53_defconfig| 1 -
configs/am64x_evm_r5_defconfig | 1 -
configs
Many boards based upon K3 ARCH overrides default malloc size to 32MB,
as part of cleanup, add default size of 32MB for K3 ARCH.
Udit Kumar (2):
Kconfig: Add default malloc size of K3 ARCH
configs: j7*/*am62*: Remove malloc size overwrite at config level.
Kconfig
le in u-boot for J722S EVM,
So enable PMIC in defconfig as well.
Signed-off-by: Udit Kumar
---
Bootlogs
https://gist.github.com/uditkumarti/0d4c5577ecbe2f61bfe8690792f3fe57
configs/j722s_evm_r5_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/j722s_evm_r5_defconfig b/
this, move init of list before usages in both functions.
Fixes: 5d5a699855a7("firmware: ti_sci: Add support for Resoure Management at R5
SPL stage")
Reviewed-by: Neha Malcom Francis
Signed-off-by: Udit Kumar
---
Changes in v2:
1) moved init of list before adding node
2) collected R/B of
: 5d5a699855a7("firmware: ti_sci: Add support for Resoure Management at R5
SPL stage")
Signed-off-by: Udit Kumar
---
drivers/firmware/ti_sci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c
index 54d6689ce78..a599de9e013 100644
---
From: Neha Malcom Francis
Add the PMIC ESM node which is responsible for triggering the PMIC
reset.
Signed-off-by: Neha Malcom Francis
Signed-off-by: Andrew Halaney
---
arch/arm/dts/k3-j784s4-r5-evm.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/k3-j784s4-r5-evm.d
From: Andrew Halaney
Add the PMIC ESM node which is responsible for triggering the PMIC
reset.
Suggested-by: Udit Kumar
Signed-off-by: Andrew Halaney
---
arch/arm/dts/k3-am69-r5-sk.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/k3-am69-r5-sk.dts b/arch/arm/dts/k3
From: Andrew Halaney
Like other TI platforms, let's enable the ESM. This allows the ESM to be
programmed during boot, and the PMIC associated with the ESM output,
enabling blocks like the RTI watchdogs to actually cause the system to
reset.
Signed-off-by: Andrew Halaney
Signed-off-by:
From: Keerthy
Initialize the ESM & PMIC ESM. This allows things like
the watchdog to reset the board when tripped.
Signed-off-by: Keerthy
Signed-off-by: Neha Malcom Francis
Signed-off-by: Andrew Halaney
---
board/ti/j784s4/evm.c | 24
1 file changed, 24 insertions(+)
This series enables the ESMs and the associated PMIC. Programming these bits is
a requirement to make the watchdog actually reset the board.
Series supports WDT reset on all TI platforms based upon J784S4 SOC
including cut down (J742S2).
Bootlogs for reset
AM69:
https://gist.github.com/uditkum
From: Bhavya Kapoor
Add clk and dev data for wakeup uart to enable wakeup
UART as console.
Reported-by: KEERTHY
Signed-off-by: Bhavya Kapoor
---
arch/arm/mach-k3/r5/j7200/clk-data.c | 16
arch/arm/mach-k3/r5/j7200/dev-data.c | 1 +
2 files changed, 17 insertions(+)
diff --g
J722S has hw rng, which can be used by OPTEE.
So remove option to use SW TRNG by OPTEE.
Signed-off-by: Udit Kumar
---
reference discussion
https://lore.kernel.org/all/20250313144155.2382316-1-mwa...@kernel.org/
Bootlogs with optee trng
https://gist.github.com/uditkumarti
Enable AVS config
Signed-off-by: Udit Kumar
---
Change log
changes in v2
Removed extra test code, which was added below tearline
link to v1:
https://lore.kernel.org/all/20250314123824.2886341-1-u-kum...@ti.com/
configs/am68_sk_r5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a
Enable AVS config
Signed-off-by: Udit Kumar
---
Test logs
https://gist.github.com/uditkumarti/9b30461e66aa27e4a813a65f1c552e51#file-gistfile1-txt-L298
Following print was added to see AVS voltage setting at
diff --git a/drivers/misc/k3_avs.c b/drivers/misc/k3_avs.c
index 0774e0a4c9e
From: Gowtham Tammana
On J7200 processor board MCU_SAFETY_ERROR signal is routed to PMIC for
ESM error handling. The PMIC resets the board on receipt of the signal.
Enable the support for the board by adding ESM PMIC node.
Signed-off-by: Gowtham Tammana
---
arch/arm/dts/k3-j7200-r5-common-proc
From: Neha Malcom Francis
Add CONFIG_ESM_K3 and CONFIG_ESM_PMIC to enable ESM initialization
in J7200.
Signed-off-by: Neha Malcom Francis
Signed-off-by: Aniket Limaye
---
configs/j7200_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j7200_evm_r5_defconfig b/conf
This enables the ESMs and the associated PMIC.
Programming these bits is a requirement to make the watchdog actually reset the
board.
After DT sync nodes bucka1 and main_esm has bootph property added in
pmic nodes.
RFC was sent
https://lore.kernel.org/all/20241126063543.2678052-1-u-kum...@ti.com
J784S4 EVM board has UFS flash, So enable UFS configs
Cc: Neha Francis
Signed-off-by: Udit Kumar
---
Changelog:
Changes in v2:
- Rebased with next sha id: 986ab810fa2
- link to v1
https://lore.kernel.org/all/20250217081712.1866257-1-u-kum...@ti.com/
Bootlogs
https://gist.github.com
be avoided.
Signed-off-by: Udit Kumar
---
drivers/power/regulator/regulator-uclass.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/power/regulator/regulator-uclass.c
b/drivers/power/regulator/regulator-uclass.c
index 09567eb9dbb..2ab3f46685e 100644
--- a/drivers/power/regulator
J784S4 EVM board has UFS flash, So enable UFS configs
Cc: Neha Francis
Signed-off-by: Udit Kumar
---
Bootlogs
https://gist.github.com/uditkumarti/828f4a7731d952f92b627f7ac46da5dd
configs/am69_sk_a72_defconfig| 5 +
configs/j784s4_evm_a72_defconfig | 4
2 files changed, 9
calculation.
So fix those calculation.
[0]: https://www.ti.com/lit/ds/symlink/tps6594-q1.pdf
Fixes: 5d7dbd22cf7d ("power: regulator: tps65941: use function callbacks for
conversion ops")
Signed-off-by: Udit Kumar
---
Bootlogs
https://gist.github.com/uditkumarti/298bd277da11eb82146d7af
should hold address above
msmc_size, and should be deleted before passing control to OS.
[0]
https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html?highlight=msmc#tisci-msg-query-msmc
Reviewed-by: Neha Malcom Francis
Signed-off-by: Udit Kumar
---
RFC was sent to k.org with
https
Fix compatiable name for TPS65224 PMIC as defined in
dts/upstream/Bindings/mfd/ti,tps6594.yaml bindings.
Fixes: 1468fbba6d55("power: pmic: tps65941: Add TI TPS65224 PMIC")
Signed-off-by: Udit Kumar
---
drivers/power/pmic/tps65941.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
Move to using OF_UPSTREAM config and thus using the devicetree
subtree and remove unused device tree files.
Signed-off-by: Udit Kumar
---
Bootlog
https://gist.github.com/uditkumarti/2f56822bab854cb9dcc06c69a8d1003a
arch/arm/dts/Makefile | 1 -
.../dts/k3-j721e
-* properties).
While we wait for above committed to get synched with u-boot.
Meanwhile add bootph in these nodes.
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
b
From: Gowtham Tammana
On J7200 processor board MCU_SAFETY_ERROR signal is routed to PMIC for
ESM error handling. The PMIC resets the board on receipt of the signal.
Enable the support for the board by adding ESM PMIC node.
Signed-off-by: Gowtham Tammana
---
arch/arm/dts/k3-j7200-r5-common-proc
From: Neha Malcom Francis
Add CONFIG_ESM_K3 and CONFIG_ESM_PMIC to enable ESM initialization
in J7200.
Signed-off-by: Neha Malcom Francis
Signed-off-by: Aniket Limaye
---
configs/j7200_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j7200_evm_r5_defconfig b/conf
/5dca3fcb2ebe2535f9c9c719ee625513
For reset
https://gist.github.com/uditkumarti/5dca3fcb2ebe2535f9c9c719ee625513#file-gistfile1-txt-L2475
Gowtham Tammana (1):
arm: dts: k3-j7200: Add ESM PMIC support for tps659413
Neha Malcom Francis (1):
configs: j7200_evm_r5: Add ESM related configs for J7200
Udit Kumar
From: Manorit Chawdhry
Add esm node for j721s2.
Signed-off-by: Manorit Chawdhry
---
arch/arm/dts/k3-j721s2-r5-common-proc-board.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts
b/arch/arm/dts/k3-j721s2-r5-common-proc-board.dts
index 5
From: Manorit Chawdhry
Enables ESM configs for j721s2 and disables them for AM68 as AM68
includes J721s2 configs by default.
Signed-off-by: Manorit Chawdhry
---
configs/am68_sk_r5_defconfig| 2 ++
configs/j721s2_evm_r5_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/config
From: Keerthy
Initialize the 3 instances of SOC ESM & PMIC ESM.
This is needed for watchdog functionality.
Signed-off-by: Keerthy
Signed-off-by: Udit Kumar
---
board/ti/j721s2/evm.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/board/ti/j721s2/evm.c b/boar
This enables the ESMs and the associated PMIC. Programming these bits is
a requirement to make the watchdog actually reset the board.
Logs
WDT reset J721S2
https://gist.github.com/uditkumarti/93cfe863d1f3fe3abb82b1821105f274#file-j721s2-L2708
AM68 boot (this does not support WDT)
https://gist.git
Enable OSPI node to allow OSPI boot on AM68
Signed-off-by: Udit Kumar
---
Bootlogs : https://gist.github.com/uditkumarti/bd3fc0690d6daec037a9fd18adc7266d
arch/arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/k3-am68-sk-base-board-u
OSPI boot is broken due to missing bootph property
in pin mux of OSPI.
So add bootph to fix OSPI boot.
Signed-off-by: Udit Kumar
---
This fix is already merged into kernel with[0] series.
Sending this patch to allow OSPI boot,
till above fix is getting merged to u-boot.
Bootlog : https
beagleboneai64 boot was broken after OF_UPSTREAM support for
J721E SOC.
So add bootph in chipid node similar to other boards of
this SOC.
Fixes: 46bb1405b461 ("arm: dts: k3-j721e: Move to OF_UPSTREAM")
Reported-by: Robert Nelson
Signed-off-by: Udit Kumar
---
Boot logs
https://gist.
During DT sync with kernel 6.6, AVS feature was removed by mistake.
So adding back AVS feature.
Fixes: df73e791ce09("arm: dts: j7200: dts sync with Linux 6.6-rc1")
Signed-off-by: Udit Kumar
---
Test logs with this patch
Added print in avs driver to see, voltage being set.
U-Boot S
In lpddr4_start function error returned by lpddr4_enablepiinitiator
may go undetected due to overwrite of return code.
Add support to handle error in above case.
Reported-by: Andreas Dannenberg
Signed-off-by: Udit Kumar
---
drivers/ram/k3-ddrss/lpddr4.c | 5 +++--
1 file changed, 3 insertions
Increase malloc size to 32 MB to align with other J7
family devices.
Signed-off-by: Udit Kumar
---
configs/j784s4_evm_a72_defconfig | 1 +
configs/j784s4_evm_r5_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/j784s4_evm_a72_defconfig b/configs/j784s4_evm_a72_defconfig
From: Manorit Chawdhry
The flag will be used for booting authenticated remote procs from hs-se
devices which can optionally be used in hs-fs devices also.
Signed-off-by: Manorit Chawdhry
Signed-off-by: Udit Kumar
---
arch/arm/mach-k3/common.c | 4 +++-
1 file changed, 3 insertions(+), 1
Secure firmwares must be loaded if SOC is secure,
currently rproc framework chooses non-secure firmware always.
So adding support to load secure firmware, when SOC is secure
Signed-off-by: Manorit Chawdhry
Signed-off-by: Udit Kumar
---
include/env/ti/k3_rproc.env | 6 +-
include/env/ti
From: Manorit Chawdhry
Remoteproc firmware images aren't authenticated in the current boot flow.
Authenticates remoteproc firmware images to complete the root of trust
in secure booting.
Signed-off-by: Manorit Chawdhry
---
drivers/remoteproc/ti_k3_dsp_rproc.c | 4
drivers/remoteproc/ti_k3
Chawdhry
Signed-off-by: Udit Kumar
---
arch/arm/mach-k3/common.h| 4 ++--
arch/arm/mach-k3/include/mach/security.h | 11 +++
2 files changed, 13 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/mach-k3/include/mach/security.h
diff --git a/arch/arm/mach-k3/common.h b
ach-k3: common.c: add a flag for booting authenticated rproc binaries
Udit Kumar (1):
include: env: ti: Add support for secure firmwares
arch/arm/mach-k3/common.c| 4 +++-
arch/arm/mach-k3/common.h| 4 ++--
arch/arm/mach-k3/include/mach/security.h | 11 +++
d
-off-by: Udit Kumar
---
drivers/power/pmic/tps65941.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/power/pmic/tps65941.c b/drivers/power/pmic/tps65941.c
index 727b42747a..bf762deb29 100644
--- a/drivers/power/pmic/tps65941.c
+++ b/drivers/power/pmic/tps65941.c
@@ -75,6 +75,9
]: https://www.ti.com/lit/zip/spruil1
spruil1c.pdf from zip
Figure 12-1244. ESM Modules Overview
Signed-off-by: Udit Kumar
---
board/ti/j721e/evm.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index 9dc3ed6dff..539eaf4718
ring_idx was not correctly assigned in case of tflow_id is zero.
Which leads to wrong pairing of DMA for drivers like OSPI.
Fixes: 4312a1dfca26 ("dma: ti: k3-udma: Use ring_idx to pair k3 nav rings")
Reviewed-by: Jai Luthra
Signed-off-by: Udit Kumar
---
Changelog
Changes in v2
ring_idx was not correctly assigned in case of tflow_id is zero.
Which leads to wrong pairing of DMA for drivers like OSPI.
Fixes: 4312a1dfca26 ("dma: ti: k3-udma: Use ring_idx to pair k3 nav rings")
Signed-off-by: Udit Kumar
---
drivers/dma/ti/k3-udma.c | 4 ++--
1 file changed, 2
DSP core is going into abnormal state when load callback is called
after starting of DSP core.
Reload of firmware needs core to be stopped first, followed by
load.
So avoid loading of firmware, when core is started.
Signed-off-by: Udit Kumar
---
Change log:
Changes in v2:
- Added details for
DSP core is going into abnormal state when load callback is called
after starting of DSP core.
Reload of firmware needs core to be stopped first, followed by
load.
So avoid loading of firmware, when core is started.
Signed-off-by: Udit Kumar
---
drivers/remoteproc/ti_k3_dsp_rproc.c | 10
To avoid thermal burn out, program thermal shutdown
value in VTM (Voltage and Thermal Manager) IP.
Part of Linux kernel driver (drivers/thermal/k3_j72xx_bandgap.c)
is ported from kernel 6.6-rc1, which sets thermal shutdown values.
Signed-off-by: Udit Kumar
Signed-off-by: Neha Francis
Add test case for an address range which is coalescing with one of
range and overlapping with next range
Cc: Simon Glass
Signed-off-by: Udit Kumar
---
test/lib/lmb.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/test/lib/lmb.c b/test/lib/lmb.c
index
,
check for overlap should be done.
In case overlap is found, adjust and merge these two lmb
region into one.
Reported-by: Suman Anna
Signed-off-by: Udit Kumar
---
lib/lmb.c | 37 +
1 file changed, 33 insertions(+), 4 deletions(-)
diff --git a/lib/lmb.c b/lib
/7be37a662fabfcfefb74d1a67ccde2bd
Changes in v2:
Patch 1/2: Corrected typo
Patch 2/2 : Added test case as suggested by Simon
Link to v1:
https://lore.kernel.org/all/20230924111832.3741245-1-u-kum...@ti.com/#t
Udit Kumar (2):
lmb: remove overlapping region with next range
test: lmb: Added test
,
check for overlap should be done.
In case overlap is found, adjust and merge these two lmb
region into one.
Reported-by: Suman Anna
Signed-off-by: Udit Kumar
---
logs
https://gist.github.com/uditkumarti/5d08c34442235ad270cfa863792ebcdc
seqeunce : line 1 to 13
without fix : line 96-100
with fix
AVS driver needs to be notified before or after clock change,
depending upon new rate is greater or less than current clock rate.
Fixes: 1e0aa873bc7cd ("clk: clk-ti-sci: Notify AVS driver upon setting clock
rate")
Cc: Keerthy
Signed-off-by: Udit Kumar
---
Boot logs
https://gist.
AVS is enabled at R5 SPL stage, on few platforms like J721E
and J7200 clk-k3 is used instead if clk-sci driver.
Add support in clk-k3 driver as well to notify AVS driver
on setting clock rate so that voltage is changed accordingly.
Cc: Keerthy
Signed-off-by: Udit Kumar
---
Boot logs with v4
or after clock setting based upon current rate and new clock
rate.
Cc: Keerthy
Signed-off-by: Udit Kumar
---
Boot logs with v3:
https://gist.github.com/uditkumarti/12a753a822c0aec9ca3028648c29dfa8
Change log:
Change in v3:
- Updated AVS notification before/after clock setting based upon
new and
AVS is enabled at R5 SPL stage, on few platforms like J721E
and J7200 clk-k3 is used instead if clk-sci driver.
Add support in clk-k3 driver as well to notify AVS driver
upon setting clock rate so that voltage is changed accordingly.
Cc: Keerthy
Signed-off-by: Udit Kumar
---
Change log
AVS is enabled at R5 SPL stage, where clk-k3 is used
instead if clk-sci driver.
clk-k3 driver to notify AVS driver upon setting clock rate
so that voltage is changed accordingly.
Fixes: e0aa873bc7cd ("clk: clk-ti-sci: Notify AVS driver upon setting clock
rate")
Cc: Keerthy
Signed-of
For J7200, R5/SPL TI_SCI_POWER_DOMAIN should be
disabled as DM is a separate binary like other
SOC of J7* family.
Fixes: 02dff65efe70 ("configs: j7200_evm_r5: Add initial support")
Signed-off-by: Udit Kumar
---
configs/j7200_evm_r5_defconfig | 1 -
1 file changed, 1 deletion(-)
di
TI SOC has two clock domains CLK_TI_SCI and
CLK_K3. These are mutually exclusive.
Adding conditional check for CLK_TI_SCI
and CLK_K3 along with other associated configs options.
Suggested-by: Nishanth Menon
Signed-off-by: Udit Kumar
Reviewed-by: Nishanth Menon
---
drivers/clk/ti/Kconfig | 8
TI SOC has two power domain TI_SCI_POWER_DOMAIN and
TI_POWER_DOMAIN. These are mutually exclusive.
So adding rule to select one, in case defconfig enabled both.
Suggested-by: Nishanth Menon
Signed-off-by: Udit Kumar
Reviewed-by: Nishanth Menon
---
drivers/power/domain/Kconfig | 2 +-
1 file
://lore.kernel.org/all/2023091946.749270-1-u-kum...@ti.com/
Udit Kumar (3):
power: domain: ti: Enable single config for power domain
clk: ti: Add support to enable configs conditionally
config: j7200: remove not needed power config
configs/j7200_evm_r5_defconfig | 1 -
drivers/clk/ti
For J7200, R5/SPL TI_SCI_POWER_DOMAIN should be
disabled as DM is a separate binary like other
SOC of J7* family.
Fixes: 02dff65efe7 (configs: j7200_evm_r5: Add initial support)
Signed-off-by: Udit Kumar
---
configs/j7200_evm_r5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a
TI SOC has two clock domains CLK_TI_SCI and
CLK_K3. These are mutually exclusive.
Adding conditional check for CLK_TI_SCI
and CLK_K3 along with other associated configs options.
Suggested-by: Nishanth Menon
Signed-off-by: Udit Kumar
---
drivers/clk/ti/Kconfig | 8
1 file changed, 4
.
Change log
Changes in v2:
- Patch 1 and 2) Added conditional support to enable Kconfig
- Patch 3 No change
link to v1:
https://lore.kernel.org/all/2023091946.749270-1-u-kum...@ti.com/
Udit Kumar (3):
power: domain: ti: Enable single config for power domain
clk: ti: Add support to enable
TI SOC has two power domain TI_SCI_POWER_DOMAIN and
TI_POWER_DOMAIN. These are mutually exclusive.
So adding rule to select one, in case defconfig enabled both.
Suggested-by: Nishanth Menon
Signed-off-by: Udit Kumar
---
drivers/power/domain/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1
patch allows to select flash node at runtime.
Boards those are supporting multiple flashes
needs to implement cadence_qspi_get_subnode function and return correct
flash node.
Cc: Apurva Nandan
Signed-off-by: Udit Kumar
Reviewed-by: Neha Malcom Francis
---
One of such platform is J721S2 EVM
link
For J7200, R5/SPL TI_SCI_POWER_DOMAIN should be
disabled as DM is a separate binary like other
SOC of J7* family.
Fixes: 02dff65efe7 (configs: j7200_evm_r5: Add initial support)
Signed-off-by: Udit Kumar
---
Boot logs
https://gist.github.com/uditkumarti/04f053efa73eae8be53666d9a31033c2
Update device tree for vtm node and update driver compatible too
Signed-off-by: Udit Kumar
---
Kernel DT sync is happening in other series. So this patch is added
just for testing and make sure functions are working ok
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 +
arch/arm/dts
Update am65 and J721e board files to use thermal device
instead of MISC device
Signed-off-by: Udit Kumar
---
arch/arm/mach-k3/am654_init.c | 2 +-
arch/arm/mach-k3/j721e_init.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-k3/am654_init.c b/arch/arm/mach
TI K3's SOC supports AVS class 0 and thermal functions
by one IP called VTM (voltage and Thermal Manager).
This patch adds support for thermal management into
available AVS driver.
Along with updating needed configs for boot
Signed-off-by: Udit Kumar
---
configs/am65x_evm_r5_defc
non needed code for SPL/R5 to reduce code size.
Change log
Changes in v2:
v1 : https://lore.kernel.org/all/20230901061500.2342452-1-u-kum...@ti.com/
- Trying to merge AVS and kernel driver into 1
- Mark as RFC
Udit Kumar (3):
thermal: k3: Add support for thermal in vtm
arm: mach-k3: update
patch allows to select flash node at runtime.
Boards those are supporting multiple flashes
needs to implement cadence_qspi_get_subnode function and return correct
flash node.
Cc: Apurva Nandan
Signed-off-by: Udit Kumar
---
One of such platform is J721S2 EVM
link https://www.ti.com/lit/pdf/spruj67
Add support for VTM (Voltage and Thermal Manager), which
is part of TI's K3 series SOC.
Signed-off-by: Udit Kumar
---
drivers/thermal/Kconfig| 6 +
drivers/thermal/Makefile | 1 +
drivers/thermal/k3_j72xx_bandgap.c | 539 +
3 files ch
Enable VTM node in device tree and update defconfig for vtm.
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 +
configs/j7200_evm_a72_defconfig | 3 +++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
b/arch/arm/dts/k3
/uditkumarti/fca15b10abe4c756b7889a8dc45bad57
line 67, u-boot temperature and line 778 temperature reported by OS
Udit Kumar (2):
thermal: k3-j72xx-bandgap: Add support for vtm
DONOTMERGE: j7200: device tree and defconfig
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 +
configs
patch allows to select flash node at runtime.
Boards those are supporting multiple flashes
needs to implement cadence_qspi_get_subnode function and return correct
flash node.
Cc: Apurva Nandan
Signed-off-by: Udit Kumar
---
One of such platform is J721S2 EVM
link https://www.ti.com/lit/pdf/spruj67
When selecting UDA partition for booting. MMC read
mode was selected as RAW.
Due to growing/changing size of u-boot and tispl
images.
It will be better change to FS in case of UDA FS instead of
adjusting offsets with new change.
Signed-off-by: Udit Kumar
---
arch/arm/mach-k3/j721e_init.c | 2
atload mmc 1 ${loadaddr} tispl.bin
=> mmc write ${loadaddr} 0x800 0x1000
=> fatload mmc 1 ${loadaddr} u-boot.img
=> mmc write ${loadaddr} 0x1800 0x2000
=> mmc partconf 0 1 (1 or 2) 1
=> mmc bootbus 0 2 0 0
Cc: Bhavya Kapoor
Cc: Diwakar Dhyani
Cc: KEERTHY
Signed-off-by
This patch adds documentation for j7200.
TRM link
https://www.ti.com/lit/pdf/spruiu1
Signed-off-by: Udit Kumar
---
doc/board/ti/j7200_evm.rst | 332 +
doc/board/ti/k3.rst| 1 +
2 files changed, 333 insertions(+)
create mode 100644 doc/board/ti
per review comments
2) No change in emmc offset, only version and commit message updated
3) Added support for UDA FS booting
Udit Kumar (3):
doc: board: ti: add documenation for j7200
configs: j7200: correct mmc offset
arch: arm: mach-k3: j721e: add support for UDA FS booting
arch/arm/mach
mark atf, l3-cache and tifs node as reserved.
Signed-off-by: Udit Kumar
---
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
index 2dd7865f7654..791993060f44
suggested to discuss in k.org group
https://lore.kernel.org/all/20230502230022.5pjywy6h7oqrkmwh@elusive/
So sending this patch for suggestion for selection right option.
Also other options are welcome.
Udit Kumar (1):
arm64: dts: ti: k3-j721s2: Add reserved status in msmc node.
arch/arm64/boot
Diwakar Dhyani
Cc: KEERTHY
Signed-off-by: Udit Kumar
---
configs/j7200_evm_a72_defconfig| 2 +-
configs/j7200_evm_r5_defconfig | 2 +-
configs/j7200_hs_evm_a72_defconfig | 2 +-
configs/j7200_hs_evm_r5_defconfig | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/config
From: Vaishnav Achath
Upstream Linux commit id 8f6c475f4ca7a
J7200 has 8 MCSPI instances in the main domain and 3 instances
in the MCU domain. Add the DT nodes for all the 11 instances and
keep them disabled. MAIN_MCSPI4 is connected as a slave to MCU_MCSPI2
by default at power-up, MAIN_MCSPI4 a
To align with kernel and remove duplication rearrange boothm node.
Signed-off-by: Udit Kumar
---
.../k3-j7200-common-proc-board-u-boot.dtsi| 45 ---
arch/arm/dts/k3-j7200-common-proc-board.dts | 3 ++
arch/arm/dts/k3-j7200-main.dtsi | 3 ++
arch/arm/dts/k3
move bootph to common file and remove duplicated
properties of node.
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 7 ---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 8 ++--
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a
remove non used 19Mhz clock node
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index c247ad1b2e..30fb359489
This patch cleans up duplicated main_i2c node from r5 file.
Since this node needs bootph property, So add in common file.
Signed-off-by: Udit Kumar
---
.../k3-j7200-common-proc-board-u-boot.dtsi| 16 ---
arch/arm/dts/k3-j7200-common-proc-board.dts | 2 ++
.../arm/dts/k3-j7200
This patch remove duplicated USB node from r5 board dts
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 8
arch/arm/dts/k3-j7200-common-proc-board.dts | 1 +
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 12
3 files
remove Alias and chosen properties
Signed-off-by: Udit Kumar
---
.../dts/k3-j7200-common-proc-board-u-boot.dtsi| 15 ---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts| 6 --
2 files changed, 21 deletions(-)
diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u
This patch move wkup_pmx into common file, along
with cleanup of duplicated pin mux under wkup_pmx.
Also remove double define for mcu_uart.
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 24 +++-
.../arm/dts/k3-j7200-r5-common-proc-board.dts | 55
This patch moves pin mux from r5 dts to common dts file.
Along with removing duplicated defines.
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 16 --
.../arm/dts/k3-j7200-r5-common-proc-board.dts | 51 +--
arch/arm/dts/k3-j7200-som-p0.dtsi
mework.
Cc: Nishanth Menon
Cc: Vignesh Raghavendra
Cc: Tony Lindgren
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-main.dtsi | 18 ++
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 18 ++
2 files changed, 36 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-mai
There are 20 general purpose timers on j7200 that can be used for things
like PWM using pwm-omap-dmtimer driver. There are also additional ten
timers in the MCU domain.
MCU timer 0 is used by R5 uboot as always on. So change properties
in u-boot specific files
Signed-off-by: Udit Kumar
://www.ti.com/lit/ds/symlink/dra821u.pdf
J7200 User Guide (Section 4.3, Table 4-2) :
https://www.ti.com/lit/ug/spruiw7a/spruiw7a.pdf
Signed-off-by: Udit Kumar
---
.../arm/dts/k3-j7200-r5-common-proc-board.dts | 7 ---
arch/arm/dts/k3-j7200-som-p0.dtsi | 21 +++
2
-by: Keerthy
Signed-off-by: Udit Kumar
---
arch/arm/dts/k3-j7200-common-proc-board.dts | 28 ++---
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/arch/arm/dts/k3-j7200-common-proc-board.dts
b/arch/arm/dts/k3-j7200-common-proc-board.dts
index 0d39d6b8cc..63633
1 - 100 of 112 matches
Mail list logo