[PATCH] dts: beagleboneai64: Add boothph in chipid node

2024-09-17 Thread Udit Kumar
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.

[PATCH] arch: arm: dts: k3-j7200-r5-evm: Enable AVS feature

2024-09-11 Thread Udit Kumar
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

[PATCH] ram: k3-ddrss: Handle error properly in lpddr4_start

2024-08-29 Thread Udit Kumar
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

[PATCH] configs: j784s4_evm : Increase Dynamic memory allocation size

2024-07-15 Thread Udit Kumar
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

[PATCH 4/4] mach-k3: common.c: add a flag for booting authenticated rproc binaries

2024-05-21 Thread Udit Kumar
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

[PATCH 3/4] include: env: ti: Add support for secure firmwares

2024-05-21 Thread Udit Kumar
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

[PATCH 2/4] drivers: remoteproc: ti_k3 : enable secure booting with firmware images

2024-05-21 Thread Udit Kumar
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

[PATCH 1/4] include: mach-k3: move k3 security functions to security.h

2024-05-21 Thread Udit Kumar
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

[PATCH 0/4] Adding support to load secure firmware for HS devices

2024-05-21 Thread Udit Kumar
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

[PATCH] power: pmic: tps65941: Update compatible to aling with kernel DT

2024-04-18 Thread Udit Kumar
-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

[PATCH] board: ti: j721e: Add support for both esm probe

2024-04-16 Thread Udit Kumar
]: 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

[PATCH v2] dma: ti: k3-udma: Fix ring_idx to pair k3 nav rings

2024-02-21 Thread Udit Kumar
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

[PATCH] dma: ti: k3-udma: Fix ring_idx to pair k3 nav rings"

2024-02-20 Thread Udit Kumar
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

[PATCH v2] remoteproc: k3-dsp: Avoid reloading of firmware

2023-11-25 Thread Udit Kumar
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

[PATCH] remoteproc: k3-dsp: Avoid reloading of firmware

2023-11-23 Thread Udit Kumar
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

[PATCH v3] driver: misc: k3_avs: Add support for thermal shutdown

2023-10-19 Thread Udit Kumar
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

[PATCH v2 2/2] test: lmb: Add test for coalescing and overlap range

2023-09-26 Thread Udit Kumar
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

[PATCH v2 1/2] lmb: remove overlapping region with next range

2023-09-26 Thread Udit Kumar
, 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

[PATCH v2 0/2] lmb: remove overlapping region with next range

2023-09-26 Thread Udit Kumar
/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

[PATCH] lmb: remove overlapping region with next range

2023-09-24 Thread Udit Kumar
, 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

[PATCH] clk: ti: clk-sci: Notify AVS driver based upon clock rate

2023-09-21 Thread Udit Kumar
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.

[PATCH v4] clk: ti: clk-k3: Notify AVS driver upon setting clock rate

2023-09-21 Thread Udit Kumar
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

[PATCH v3] clk: ti: Notify AVS driver upon setting clock rate

2023-09-20 Thread Udit Kumar
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

[PATCH v2] clk: ti: Notify AVS driver upon setting clock rate

2023-09-19 Thread Udit Kumar
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

[PATCH] clk: ti: Notify AVS driver upon setting clock rate

2023-09-18 Thread Udit Kumar
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

[PATCH v3 3/3] config: j7200: remove not needed power config

2023-09-12 Thread Udit Kumar
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

[PATCH v3 2/3] clk: ti: Add support to enable configs conditionally

2023-09-12 Thread Udit Kumar
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

[PATCH v3 1/3] power: domain: ti: Enable single config for power domain

2023-09-12 Thread Udit Kumar
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

[PATCH v3 0/3] enable power and clock Kconfig conditionally

2023-09-12 Thread Udit Kumar
://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

[PATCH v2 3/3] config: j7200: remove not needed power config

2023-09-12 Thread Udit Kumar
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

[PATCH v2 2/3] clk: ti: Add support to enable configs conditionally

2023-09-12 Thread Udit Kumar
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

[PATCH v2 0/3] enable power and clock Kconfig conditionally

2023-09-12 Thread Udit Kumar
. 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

[PATCH v2 1/3] power: domain: ti: Enable single config for power domain

2023-09-12 Thread Udit Kumar
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 v2] spi: cadence_qspi: Select flash subnode at runtime

2023-09-12 Thread Udit Kumar
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

[PATCH] config: j7200: removed not needed power config

2023-09-11 Thread Udit Kumar
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

[RFC PATCH v2 3/3] arm: dts: k3: update device tree for vtm node

2023-09-08 Thread Udit Kumar
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

[RFC PATCH v2 2/3] arm: mach-k3: update board file to use thermal device

2023-09-08 Thread Udit Kumar
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

[RFC PATCH v2 1/3] thermal: k3: Add support for thermal in vtm

2023-09-08 Thread Udit Kumar
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

[RFC PATCH v2 0/3] thermal: Integrate VTM and AVS driver

2023-09-08 Thread Udit Kumar
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

[RESEND PATCH] spi: cadence_qspi: Select flash subnode at runtime

2023-09-07 Thread Udit Kumar
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

[PATCH 1/2] thermal: k3-j72xx-bandgap: Add support for vtm

2023-08-31 Thread Udit Kumar
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

[PATCH 2/2] DONOTMERGE: j7200: device tree and defconfig update

2023-08-31 Thread Udit Kumar
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

[PATCH 0/2] thermal: Add VTM driver support for J72xx SOCs

2023-08-31 Thread Udit Kumar
/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] spi: cadence_qspi: Select flash subnode at runtime

2023-08-28 Thread Udit Kumar
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

[PATCH v2 3/3] arch: arm: mach-k3: j721e: add support for UDA FS

2023-05-11 Thread Udit Kumar
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

[PATCH v2 2/3] configs: j7200: correct mmc offset

2023-05-11 Thread Udit Kumar
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

[PATCH v2 1/3] doc: board: ti: add documenation for j7200

2023-05-11 Thread Udit Kumar
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

[PATCH v2 0/3] arch: arm: mach-k3: j7200 document and emmc update

2023-05-11 Thread Udit Kumar
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

[PATCH 1/1] arm64: dts: ti: k3-j721s2: Add reserved status in msmc

2023-05-03 Thread Udit Kumar
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

[RFC PATCH 0/1] arm64: dts: ti: k3-j721s2: handling subnode of msmc node

2023-05-03 Thread Udit Kumar
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

[PATCH] configs: j7200: correct mmc offset

2023-05-02 Thread Udit Kumar
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

[PATCH 14/14] arch: arm: dts: k3-j7200: Add MCSPI nodes

2023-05-02 Thread Udit Kumar
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

[PATCH 13/14] arch: arm: dts: k3-j7200 rearrange bootph property in various node

2023-05-02 Thread Udit Kumar
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

[PATCH 12/14] arch: arm: dts: k3-j7200: cleanup hmbc node

2023-05-02 Thread Udit Kumar
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

[PATCH 11/14] arch: arm: dts: k3-j7200: removed unused clock node

2023-05-02 Thread Udit Kumar
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

[PATCH 10/14] arch: arm: dts: k3-7200: cleanup r5 i2c node

2023-05-02 Thread Udit Kumar
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

[PATCH 09/14] arch: arm: dts: k3-j7200: remove duplicate usb nodes

2023-05-02 Thread Udit Kumar
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

[PATCH 08/14] arch: arm: dts: k3-j7200 cleanup r5 and uboot dts

2023-05-02 Thread Udit Kumar
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

[PATCH 07/14] arch: arm: dts: k3-j7200 move wkup_pmx to common file

2023-05-02 Thread Udit Kumar
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

[PATCH 06/14] arch: arm: dts: k3-j7200 move main_pmx to common file

2023-05-02 Thread Udit Kumar
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

[PATCH 05/14] arch: arm: dts: k3-j7200: Configure pinctrl for timer IO pad

2023-05-02 Thread Udit Kumar
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

[PATCH 04/14] arch: arm: dts: k3-j7200: Add general purpose timers

2023-05-02 Thread Udit Kumar
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

[PATCH 03/14] arch: arm: dts: k3-j7200-som: Enable I2C

2023-05-02 Thread 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

[PATCH 02/14] arch: arm: dts: k3-j7200: Fix physical address of pin

2023-05-02 Thread Udit Kumar
-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

[PATCH 01/14] arm: dts: k3-j7200: Update devicetree to sync with v6.3-rc6

2023-05-02 Thread Udit Kumar
From: Nishanth Menon Sync with Kernel.org v6.3-rc6 tag. Signed-off-by: Nishanth Menon --- arch/arm/dts/k3-j7200-common-proc-board.dts | 63 +++--- arch/arm/dts/k3-j7200-main.dtsi | 72 +++-- arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 59 ++

[PATCH 00/14] arm: dts: k3-j7200: Sync with kernel.org

2023-05-02 Thread Udit Kumar
/20230426103219.1565266-1-u-kum...@ti.com/ Keerthy (1): arch: arm: dts: k3-j7200: Fix physical address of pin Nishanth Menon (1): arm: dts: k3-j7200: Update devicetree to sync with v6.3-rc6 Udit Kumar (11): arch: arm: dts: k3-j7200-som: Enable I2C arch: arm: dts: k3-j7200: Add general purpose

[PATCH v2] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-20 Thread Udit Kumar
address above msms_size, and should be deleted before passing control to OS. Documentation https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html?highlight=msmc#tisci-msg-query-msmc Signed-off-by: Udit Kumar --- Changes since v1: https://lore.kernel.org/all/20230419061352.3156023

[PATCH] arch: arm: mach-k3: Delete tifs node in DT fixup

2023-04-19 Thread Udit Kumar
address above msms_size, and should be deleted before passing control to OS. Documentation https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html?highlight=msmc#tisci-msg-query-msmc Signed-off-by: Udit Kumar --- arch/arm/mach-k3/common.c | 4 +++- 1 file changed, 3 insertions

Re: [U-Boot] [PATCH] arm: arm64 32bit address relocation

2019-02-28 Thread Udit Kumar
Hi Ibai > -Original Message- > From: Ibai Erkiaga > Sent: Wednesday, February 27, 2019 8:18 PM > To: u-boot@lists.denx.de > Cc: Ibai Erkiaga ; Udit Kumar > ; Tom Rini ; Albert Aribaud > ; Meenakshi Aggarwal > ; Stefan Roese ; Prabhakar > Kushwaha > Subje

Re: [U-Boot] UEFI on u-boot

2018-01-21 Thread Udit Kumar
Thanks Alex and Heinrich I guess function efi_add_memory_map will do, what I was looking for Regards Udit > -Original Message- > From: Udit Kumar > Sent: Sunday, January 21, 2018 4:13 PM > To: 'Alexander Graf' ; Heinrich Schuchardt > > Cc: u-boot@lists.denx

Re: [U-Boot] UEFI on u-boot

2018-01-21 Thread Udit Kumar
Hi Alex > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, January 16, 2018 7:52 PM > To: Udit Kumar ; Heinrich Schuchardt > > Cc: u-boot@lists.denx.de > Subject: Re: UEFI on u-boot > > > > On

Re: [U-Boot] UEFI on u-boot

2018-01-16 Thread Udit Kumar
> -Original Message- > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Tuesday, January 16, 2018 12:39 PM > To: Udit Kumar ; Alexander Graf > Cc: u-boot@lists.denx.de > Subject: Re: UEFI on u-boot > > On 01/16/2018 06:28 AM, Udit

Re: [U-Boot] UEFI on u-boot

2018-01-16 Thread Udit Kumar
Thanks Heinrich > -Original Message- > From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Tuesday, January 16, 2018 2:55 AM > To: Udit Kumar ; Alexander Graf > Cc: u-boot@lists.denx.de > Subject: Re: UEFI on u-boot > > > > On 01/15/2018 10:3

Re: [U-Boot] UEFI on u-boot

2018-01-16 Thread Udit Kumar
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, January 15, 2018 5:02 PM > To: Udit Kumar > Cc: u-boot@lists.denx.de; Heinrich Schuchardt > Subject: Re: UEFI on u-boot > > > > On 15.01.18 10:32,

Re: [U-Boot] UEFI on u-boot

2018-01-15 Thread Udit Kumar
Hi Alex > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Monday, January 15, 2018 2:45 PM > To: Udit Kumar > > Hi Udit, > > On 15.01.18 10:09, Udit Kumar wrote: > > Hi Alex, > > Hope you are doing great, > > > >

[U-Boot] UEFI on u-boot

2018-01-15 Thread Udit Kumar
Hi Alex, Hope you are doing great, Could you help on UEFI over the u-boot. 1- I couldn't locate EFI_DXE_SERVICES in u-boot, do you have plan to add those 2- If I load a driver (with bootefi) which install few protocols, is this ok to do with u-boot 3- if you say, 2 is ok then I hope these pr