[PATCH 7/7] spi: zynq_qspi: Add parallel memories support in QSPI driver

2023-08-17 Thread Ashok Reddy Soma
are exclueded by using zynqmp_qspi_update_stripe(). Also update copyright info for this file. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/spi/zynq_qspi.c | 139 include/spi.h | 3 + 2 files changed

[PATCH 6/7] spi: zynqmp_gqspi: Add parallel memories support in GQSPI driver

2023-08-17 Thread Ashok Reddy Soma
commands are exclueded by using zynqmp_qspi_update_stripe(). Also update copyright info for this file. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/spi/zynqmp_gqspi.c | 146 - include/spi.h | 12 +++ 2 files

[PATCH 5/7] spi: spi-uclass: Read chipselect and restrict capabilities

2023-08-17 Thread Ashok Reddy Soma
g it. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/spi/spi-uclass.c | 21 - drivers/spi/xilinx_spi.c | 4 ++-- drivers/spi/zynq_qspi.c | 6 +++--- drivers/spi/zynq_spi.c | 6 +++--- include/spi.h| 2 +- 5 file

[PATCH 3/7] mtd: spi-nor: Add parallel memories support for read_sr and read_fsr

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories flash configuration in read status register and read flag status register functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 50 -- 1 file changed, 36

[PATCH 4/7] mtd: spi-nor: Add parallel and stacked memories support in read_bar and write_bar

2023-08-17 Thread Ashok Reddy Soma
Add support for parallel memories and stacked memories configuration in read_bar and write_bar functions. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/mtd/spi/spi-nor-core.c | 55 +- 1 file changed, 47 insertions(+), 8

[PATCH 2/7] mtd: spi-nor: Add parallel and stacked memories support

2023-08-17 Thread Ashok Reddy Soma
tion is performed at addr/2 flash offset, where addr is the address specified by the user. Similarly for read and erase operations it will read from both flashes, so size and offset are divided by 2 and send to flash. Signed-off-by: Ashok Reddy Soma Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/

[PATCH 1/7] dm: core: support reading a single indexed u64 value

2023-08-17 Thread Ashok Reddy Soma
Add helper function to allow reading a single indexed u64 value from a device-tree property containing multiple u64 values, that is an array of u64's. Signed-off-by: Ashok Reddy Soma --- drivers/core/of_access.c | 22 ++ drivers/core/ofnode.c

[PATCH 0/7] spi-nor: Add parallel and stacked memories support

2023-08-17 Thread Ashok Reddy Soma
writing both the flashes. For doubling the address space each operation is performed at addr/2 flash offset, where addr is the address specified by the user. Similarly for read and erase operations it will read from both flashes, so size and offset are divided by 2 and send to flash. Ashok Reddy

[PATCH] dm: core: support reading a single indexed u64 value

2023-08-10 Thread Ashok Reddy Soma
Add helper function to allow reading a single indexed u64 value from a device-tree property containing multiple u64 values, that is an array of u64's. Signed-off-by: Ashok Reddy Soma --- drivers/core/of_access.c | 22 ++ drivers/core/ofnode.c

[PATCH 3/3] pinctrl: zynqmp: Add support for output-enable and bias-high-impedance

2023-08-10 Thread Ashok Reddy Soma
Add support to handle 'output-enable' and 'bias-high-impedance' configurations in pinctrl driver. Signed-off-by: Ashok Reddy Soma --- drivers/pinctrl/pinctrl-zynqmp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/pinctrl-zynqmp.c b/dri

[PATCH 1/3] firmware: zynqmp: Add support to check feature

2023-08-10 Thread Ashok Reddy Soma
Add firmware API to check if given feature is supported. Signed-off-by: Ashok Reddy Soma --- drivers/firmware/firmware-zynqmp.c | 13 + include/zynqmp_firmware.h | 3 +++ 2 files changed, 16 insertions(+) diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers

[PATCH 2/3] pinctrl: zynqmp: Add version check for TRISTATE configuration

2023-08-10 Thread Ashok Reddy Soma
Support for configuring TRISTATE parameter is added in ZYNQMP PMUFW(Xilinx ZynqMP Platform Management Firmware) Configuration Param Set version 2.0. If the requested configuration is TRISTATE then check the version before requesting Xilinx firmware to set the configuration. Signed-off-by: Ashok

[PATCH 0/3] pinctrl: zynqmp: Add tri-state configuration support

2023-08-10 Thread Ashok Reddy Soma
Add support for pinctrl driver to handle 'output-enable' and 'bias-high-impedance' configurations. This support has been added in Xilinx ZynqMP Platform Management Firmware recently, hence add a version check to avoid backward compatibility issues. Ashok Reddy Soma (3): f

[PATCH] clk: zynqmp: Add gem rx and tsu clocks to return register

2023-07-20 Thread Ashok Reddy Soma
Add gem_tsu and gem0_rx till gem3_rx to return proper register from zynqmp_clk_get_register. Otherwise firmware won't be able to set clock for these due to incorrect register address. Signed-off-by: Ashok Reddy Soma --- drivers/clk/clk_zynqmp.c | 5 + 1 file changed, 5 insertions(+)

[PATCH] clk: zynqmp: Add set_rate support for gem rx and tsu clks

2023-07-19 Thread Ashok Reddy Soma
gem0_rx till gem3_rx and gem_tsu are missing from set rate function. Add them, so that they can be set from pmu firmware via clock framework. Signed-off-by: Ashok Reddy Soma --- drivers/clk/clk_zynqmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/clk_zynqmp.c b/drivers

[PATCH] clk: Dont return error when assigned-clocks is empty or missing

2023-07-11 Thread Ashok Reddy Soma
There is a chance that assigned-clock-rates is given and assigned-clocks could be empty. Dont return error in that case, because the probe of the corresponding driver will not be called at all if this fails. Better to continue to look for it and return 0. Signed-off-by: Ashok Reddy Soma

RE: [PATCH 1/2] cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD

2023-07-09 Thread Soma, Ashok Reddy
Hi Heinrich, > -Original Message- > From: Heinrich Schuchardt > Sent: Sunday, July 9, 2023 7:09 PM > To: Soma, Ashok Reddy ; u- > b...@lists.denx.de > Cc: s...@chromium.org; ilias.apalodi...@linaro.org; rfried@gmail.com; > seanedm...@microsoft.com; tob...@waldekr

[PATCH 1/2] cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD

2023-07-09 Thread Ashok Reddy Soma
cipe for target 'u-boot' failed make: *** [u-boot] Error 139 make: *** Deleting file 'u-boot' Add dependency of CMD_USB for CONFIG_CMD_THOR_DOWNLOAD to fix the errors. Signed-off-by: Ashok Reddy Soma --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconf

[PATCH 2/2] zynqmp: config: Add proper dependencies for USB

2023-07-09 Thread Ashok Reddy Soma
ed jobs Add CONFIG_USB_STORAGE as dependency for USB related macro's such as BOOT_TARGET_DEVICES_USB() and DFU_DEFAULT_POLL_TIMEOUT and CONFIG_THOR_RESET_OFF. Remove CONFIG_ZYNQMP_USB from Kconfig and also from defconfig since it is not used anywhere else. Signed-off-by: Ashok Reddy Soma

[PATCH 0/2] Fix dependencies of USB Kconfig options

2023-07-09 Thread Ashok Reddy Soma
When USB device driver CONFIG_USB and CONFIG_CMD_USB are disabled, some compilation issues are seen. Also CMD_THOR_DOWNLOAD should depend on CONFIG_CMD_USB. Add dependencies to resolve those issues and compile properly. Also remove unused config CONFIG_ZYNQMP_USB. Ashok Reddy Soma (2): cmd

[PATCH v2] dfu: Add proper dependency for CONFIG_DFU_MMC

2023-07-07 Thread Ashok Reddy Soma
ment "$@" Makefile:1760: recipe for target 'u-boot' failed make: *** [u-boot] Error 139 make: *** Deleting file 'u-boot' Add dependency of CONFIG_MMC for CONFIG_DFU_MMC config to fix the errors. Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Changed patch su

[PATCH] zynqmp: config: Add proper dependency for CONFIG_DFU_MMC

2023-07-07 Thread Ashok Reddy Soma
ment "$@" Makefile:1760: recipe for target 'u-boot' failed make: *** [u-boot] Error 139 make: *** Deleting file 'u-boot' Add dependency of CONFIG_MMC for CONFIG_DFU_MMC config to fix the errors. Signed-off-by: Ashok Reddy Soma --- drivers/dfu/Kconfig | 1 + 1 f

[PATCH] env: Fix default environment saving issue

2023-07-03 Thread Ashok Reddy Soma
both the environments are not present. Signed-off-by: Ashok Reddy Soma --- env/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/env/common.c b/env/common.c index 8beb8e6aa4..0ecdb248a0 100644 --- a/env/common.c +++ b/env/common.c @@ -353,6 +353,7 @@ int env_check_redund(const char

[PATCH 3/3] xilinx: versal-net: Add mini eMMC 5.1 configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini eMMC 5.1 configuration. Add device tree and defconfig. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 + arch/arm/dts/versal-net-mini-emmc.dts | 64 +++ configs/xilinx_versal_net_mini_emmc_defconfig

[PATCH 2/3] xilinx: versal-net: Add mini ospi configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini Octal SPI flash configuration. This runs from onchip memory, so it has to be compact. Hence only Octal SPI related settings are enabled. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 + arch/arm/dts/versal-net-mini-ospi

[PATCH 1/3] xilinx: versal-net: Add mini qspi configuration

2023-06-14 Thread Ashok Reddy Soma
Add support for Versal NET mini Quad SPI flash configuration. This runs from onchip memory, so it has to be compact. Hence only Quad SPI related settings are enabled. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/Makefile | 1 + arch/arm/dts/versal-net-mini-qspi

[PATCH 0/3] Add Versal NET mini U-Boot configurations

2023-06-14 Thread Ashok Reddy Soma
In this patch series add support for Versal NET mini U-Boot configurations for qspi, ospi and emmc flashes. Ashok Reddy Soma (3): xilinx: versal-net: Add mini qspi configuration xilinx: versal-net: Add mini ospi configuration xilinx: versal-net: Add mini eMMC 5.1 configuration arch/arm

[PATCH] cadence_qspi: Enable flash reset for Versal NET platform

2023-06-14 Thread Ashok Reddy Soma
read_delay initialization for Versal NET also. Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-versal-net/include/mach/hardware.h | 11 +++ drivers/spi/cadence_ospi_versal.c| 3 +-- drivers/spi/cadence_qspi.c | 13 + 3 files changed, 17

[PATCH] arm64: versal-net: spi: Update boot sequence dynamically

2023-06-14 Thread Ashok Reddy Soma
source ${scriptaddr}; echo XSPI: SCRIPT FAILED: continuing...; Signed-off-by: Ashok Reddy Soma --- board/xilinx/versal-net/board.c | 24 +--- include/configs/xilinx_versal_net.h | 19 --- 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/board/x

[PATCH v2 4/6] mtd: nand: zynq_nand: Change datatype of status and ecc_status to int

2023-06-14 Thread Ashok Reddy Soma
Signed-off-by: Algapally Santosh Sagar Reviewed-by: Michael Trimarchi Signed-off-by: Ashok Reddy Soma --- (no changes since v1) drivers/mtd/nand/raw/zynq_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq

[PATCH v2 6/6] xilinx: zynq: Add the missing function prototypes

2023-06-14 Thread Ashok Reddy Soma
ed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) board/xilinx/zynq/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 9a59445b44..3b6581e304 100644 --- a/board/xilinx/zynq/board.

[PATCH v2 5/6] arm: zynq: Pass the missing argument type in function definition

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Pass missing argument type in the function definition to fix the sparse warning, warning: old-style function definition [-Wold-style-definition] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Added argument void in

[PATCH v2 3/6] spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) drivers/spi/zynq_

[PATCH v2 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the below sparse warning warning: no previous prototype for 'xilinx_qspi_mem_exec_op' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) drivers/spi/xi

[PATCH v2 2/6] xilinx: zynq: Add missing prototype for zynqmp_mmio_write

2023-06-14 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Move prototype declar

[PATCH v2 0/6] Fix sparse warnings in zynq platform

2023-06-14 Thread Ashok Reddy Soma
Fix below sparse warnings - Add missing prototype for zynqmp_mmio_write - Add missing prototype for zynq_qspi_mem_exec_op - Change datatype of status and ecc_status from u32 to int - Pass the missing argument type in function definition - Add the missing function prototypes - Add missing prot

[PATCH 6/6] xilinx: zynq: Add the missing function prototypes

2023-06-09 Thread Ashok Reddy Soma
ed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/zynq/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 9a59445b44..3b6581e304 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/

[PATCH 5/6] arm: zynq: Pass the missing argument type in function definition

2023-06-09 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Pass missing argument type in the function definition to fix the sparse warning, warning: old-style function definition [-Wold-style-definition] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/zynq/zynq-zc706

[PATCH 4/6] mtd: nand: zynq_nand: Change datatype of status and ecc_status to int

2023-06-09 Thread Ashok Reddy Soma
Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/mtd/nand/raw/zynq_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c index 9e3ee7412d..545fdd7b69 100644 --- a/drivers

[PATCH 3/6] spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op

2023-06-09 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynq_qspi.c | 4 ++-- 1 file

[PATCH 2/6] xilinx: zynq: Add missing prototype for zynqmp_mmio_write

2023-06-09 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-zynq/include/mach/sys_proto.h | 1

[PATCH 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op

2023-06-09 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the below sparse warning warning: no previous prototype for 'xilinx_qspi_mem_exec_op' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/spi/xilinx_spi.c | 4 ++

[PATCH 0/6] Fix sparse warnings in zynq platform

2023-06-09 Thread Ashok Reddy Soma
Fix below sparse warnings - Add missing prototype for zynqmp_mmio_write - Add missing prototype for zynq_qspi_mem_exec_op - Change datatype of status and ecc_status from u32 to int - Pass the missing argument type in function definition - Add the missing function prototypes - Add missing prot

[PATCH 2/2] arm64: versal: Add missing prototypes

2023-06-09 Thread Ashok Reddy Soma
evious prototype for 'release_r5_reset' [-Wmissing-prototypes] 4.warning: no previous prototype for 'enable_clock_r5' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-versal/mp.c | 8 1 file changed, 4 insertions(+

[PATCH 1/2] arm64: versal: Add missing prototype for initialize_tcm

2023-06-09 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add the missing prototype pointed by below sparse warning warning: no previous prototype for 'initialize_tcm' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-versal/include/mach/sys_p

[PATCH 0/2] Fix sparse warnings

2023-06-09 Thread Ashok Reddy Soma
In this patch series, fix sparse warnings in below files - arch/arm/mach-versal/mp.c - arch/arm/mach-versal/include/mach/sys_proto.h Algapally Santosh Sagar (2): arm64: versal: Add missing prototype for initialize_tcm arm64: versal: Add missing prototypes arch/arm/mach-versal/include/mac

RE: [RFC PATCH] mmc: zynq_sdhci: Dependable card detect

2023-06-06 Thread Soma, Ashok Reddy
Hi Stefan, > -Original Message- > From: Stefan Herbrechtsmeier o...@weidmueller.com> > Sent: Monday, May 22, 2023 1:26 PM > To: Soma, Ashok Reddy ; u- > b...@lists.denx.de > Cc: Stefan Herbrechtsmeier ; > Jaehoon Chung ; Simek, Michal > ; Peng Fan ; Potthur

[PATCH] board: xilinx: Add missing prototypes

2023-05-22 Thread Ashok Reddy Soma
evious prototype for 'board_name_decode' [-Wmissing-prototypes] 4. warning: no previous prototype for 'board_detection' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/common/board.h | 7 +++ 1 file changed, 7 insertions(+)

RE: [RFC PATCH] mmc: zynq_sdhci: Dependable card detect

2023-05-17 Thread Soma, Ashok Reddy
present" Are you seeing stability issue when card is not present ? can you please elaborate more about the issue. 4. It is not convincing to me that you are trying to select eMMC for some time and then switching back to SD. Thanks, Ashok > -Original Message- > Fr

[PATCH v2] arm64: versal-net: Detect and display bootmode

2023-05-16 Thread Ashok Reddy Soma
Read boodmode register using versal_net_get_bootmode() in board_late_init and prepare corresponding distro boot command sequence based on it. versal_net_get_bootmode() will be changed to use smc calls later, but for now directly reads the register. Signed-off-by: Ashok Reddy Soma --- Changes

[PATCH v3] cmd: sf/nand: Print and return failure when 0 length is passed

2023-05-16 Thread Ashok Reddy Soma
ame thing applies for nand commands also. Example: ZynqMP> sf erase 0 0 ERROR: Invalid size 0 ZynqMP> sf write 1 0 0 ERROR: Invalid size 0 ZynqMP> sf read 1 0 0 ERROR: Invalid size 0 ZynqMP> sf update 1000 10000 0 ERROR: Invalid size 0 ZynqMP> Signed-off-by: Ashok Reddy Soma ---

[PATCH] arm64: versal-net: Detect and display bootmode

2023-05-09 Thread Ashok Reddy Soma
Read boodmode register using versal_net_get_bootmode() in board_late_init and prepare corresponding distro boot command sequence based on it. versal_net_get_bootmode() will be changed to use smc calls later, but for now directly reads the register. Signed-off-by: Ashok Reddy Soma --- .../mach

RE: [PATCH] Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

2023-04-26 Thread Soma, Ashok Reddy
Acked-by: Ashok Reddy Soma Hi Stefan, > -Original Message- > From: Stefan Herbrechtsmeier o...@weidmueller.com> > Sent: Tuesday, April 18, 2023 3:58 PM > To: Soma, Ashok Reddy ; Simek, Michal > ; u-boot@lists.denx.de > Cc: Stefan Herbrechtsmeier ; > Jagan Tek

[PATCH v2 2/2] .mailmap: Map all Xilinx users mail ids to AMD

2023-04-25 Thread Ashok Reddy Soma
: Ashok Reddy Soma --- Changes in v2: - Updated the missing mailids - Removed the space after mail id - Added closing brace for Vikhyat Goyal email id .mailmap | 55 --- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/.mailmap b

[PATCH v2 1/2] .mailmap: Sort the mailmap ids in dictionary order

2023-04-25 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar The mailmap ids are not arranged in the dictionary order. So, sort the mailmap ids in the dictionary order. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) .mailmap | 28 ++-- 1 file

[PATCH v2 0/2] Update mailmap ids

2023-04-25 Thread Ashok Reddy Soma
In this patch series - Sort mailmap ids according to dictionary order - Update all Xilinx users mail ids to AMD Changes in v2: - Updated the missing mailids - Removed the space after mail id - Added closing brace for Vikhyat Goyal email id Algapally Santosh Sagar (2): .mailmap: Sort the

[PATCH 2/2] .mailmap: Map all Xilinx users mail ids to AMD

2023-04-23 Thread Ashok Reddy Soma
: Ashok Reddy Soma --- .mailmap | 54 +++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/.mailmap b/.mailmap index 80076f7206..46a8619d78 100644 --- a/.mailmap +++ b/.mailmap @@ -17,27 +17,46 @@ Alexander Graf Allen Martin

[PATCH 1/2] .mailmap: Sort the mailmap ids in dictionary order

2023-04-23 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar The mailmap ids are not arranged in the dictionary order. So, sort the mailmap ids in the dictionary order. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- .mailmap | 28 ++-- 1 file changed, 14 insertions

[PATCH 0/2] Update mailmap ids

2023-04-23 Thread Ashok Reddy Soma
In this patch series - Sort mailmap ids according to dictionary order - Update all Xilinx users mail ids to AMD Algapally Santosh Sagar (2): .mailmap: Sort the mailmap ids in dictionary order .mailmap: Map all Xilinx users mail ids to AMD .mailmap | 80 ++

Re: Support for NXP S32K3 Family

2023-04-20 Thread Ashok Kumar
Hey Simon, Thanks for the suggestions. Sure, I will try to get some more information to build u-boot for S32K family. I will contact you back If I need more information from your side. Cheers, Ashok On 19/04/2023 23:40, Simon Glass wrote: > Hi Ashok, > > On Wed, 19 Apr 2023 at 21:

[PATCH 2/2] arm64: versal: Enable ADIN ethernet phy

2023-04-20 Thread Ashok Reddy Soma
Versal VEK280 board has Analog Devices ethernet phy. So, enable CONFIG_PHY_ADIN config in Versal defconfig. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_versal_virt_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/xilinx_versal_virt_defconfig b

[PATCH 1/2] arm64: zynqmp: Enable ADIN ethernet phy

2023-04-20 Thread Ashok Reddy Soma
Some of the Kria SOM and ZynqMP boards are using Analog Devices ethernet phy. So, enable CONFIG_PHY_ADIN for all ZynqMP platforms. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_zynqmp_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_virt_defconfig

[PATCH 0/2] Enable ADIN phy for ZynqMP and Versal platforms

2023-04-20 Thread Ashok Reddy Soma
In this patch series enable support for Analog Devices ethernet phy for ZynqMP and Versal platforms. Ashok Reddy Soma (2): arm64: zynqmp: Enable ADIN ethernet phy arm64: versal: Enable ADIN ethernet phy configs/xilinx_versal_virt_defconfig | 3 ++- configs/xilinx_zynqmp_virt_defconfig | 1

Re: Support for NXP S32K3 Family

2023-04-19 Thread Ashok Kumar
Hi Simon, Thanks for the reply. NXP people said we don't support this feature for S32K family. I am just wondering whether I can get any help from the u-boot sources? Regards Ashok On 19/04/2023 02:45, Simon Glass wrote: > Hi Ashok, > > On Fri, 14 Apr 2023 at 08:55, Ashok

RE: [PATCH] Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

2023-04-18 Thread Soma, Ashok Reddy
Hi Stefan, > -Original Message- > From: Simek, Michal > Sent: Monday, April 17, 2023 3:47 PM > To: Stefan Herbrechtsmeier ; > u-boot@lists.denx.de; Soma, Ashok Reddy > Cc: Stefan Herbrechtsmeier ; > Jagan Teki > Subject: Re: [PATCH] Revert "spi: zynq_qspi

Support for NXP S32K3 Family

2023-04-14 Thread Ashok Kumar
Hi Folks, I am trying to build a u-boot boot-loader for my S32K344 board. Can you guys please help me, which defconf/config file is suitable for my S32K344 board for building a u-boot binaries? Regards Ashok

[PATCH v2] cmd: sf/nand: Print and return failure when 0 length is passed

2023-04-12 Thread Ashok Reddy Soma
ame thing applies for nand commands also. Example: ZynqMP> sf erase 0 0 ERROR: Invalid size 0 ZynqMP> sf write 1 0 0 ERROR: Invalid size 0 ZynqMP> sf read 1 0 0 ERROR: Invalid size 0 ZynqMP> sf update 1000 10000 0 ERROR: Invalid size 0 ZynqMP> Signed-off-by: Ashok Reddy Soma -

[PATCH] cmd: sf/nand: Print and return failure when 0 length is passed

2023-04-12 Thread Ashok Reddy Soma
or nand commands also. Example: ZynqMP> sf erase 0 0 'size is 0' ZynqMP> sf write 1 0 0 'size is 0' ZynqMP> sf read 1 0 0 'size is 0' ZynqMP> sf update 1000 1 0 'size is 0' ZynqMP> Signed-off-by: Ashok Reddy Soma --- cmd/legacy-m

[PATCH v3 2/2] spl: Add missing prototype for board_boot_order

2023-03-01 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'board_boot_order' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v3: - Replaced xilinx: zynqmp wit

[PATCH v3 1/2] xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write

2023-03-01 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) arch/arm/mach-versal-n

[PATCH v3 0/2] Fix sparse warnings

2023-03-01 Thread Ashok Reddy Soma
Run and fix sparse warnings in below files -arch/arm/mach-zynqmp/include/mach/sys_proto.h -common/spl/spl.c -arch/arm/mach-versal-net/include/mach/sys_proto.h -arch/arm/mach-versal/include/mach/sys_proto.h -drivers/mmc/zynq_sdhci.c -drivers/spi/zynqmp_gqspi.c Changes in v3: - Replaced xili

[PATCH 4/4] arm64: dts: zynqmp: Enable nand-on-flash-bbt in DT by default

2023-02-23 Thread Ashok Reddy Soma
By default enable nand-on-flash-bbt DT flag, so that driver always refers to the bad block table(bbt) present on the flash device. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 2 ++ arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 2 ++ 2 files changed, 4 insertions

[PATCH 3/4] arm64: dts: zynqmp: Fix nand dt node

2023-02-23 Thread Ashok Reddy Soma
DC3 nand node is not correct, it is showing all partitions under controller node directly. Create two sub nand nodes with partitions for each. Signed-off-by: Ashok Reddy Soma --- arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 117 ++- 1 file changed, 70 insertions(+), 47

[PATCH 2/4] mtd: nand: arasan: Set ofnode value

2023-02-23 Thread Ashok Reddy Soma
Ofnode value is not set, so all the DT properties are not being read and due to this default values are being used. Find nand node and set chip->flash_node value. Signed-off-by: Ashok Reddy Soma --- drivers/mtd/nand/raw/arasan_nfc.c | 4 1 file changed, 4 insertions(+) diff --gi

[PATCH 1/4] mtd: nand: arasan: Remove hardcoded bbt option

2023-02-23 Thread Ashok Reddy Soma
Bad block table option is hardcoded to read from flash with NAND_BBT_USE_FLASH option. This decision should be done based on DT property. Remove this hardcoding, to be able to use DT property. Signed-off-by: Ashok Reddy Soma --- drivers/mtd/nand/raw/arasan_nfc.c | 1 - 1 file changed, 1

[PATCH 0/4] Fix arasan nand driver issues

2023-02-23 Thread Ashok Reddy Soma
In this patch series - Remove hardcoding of NAND_BBT_USE_FLASH in nand->bbt_options - Find and update nand ofnode. - Fix nand node in zynqmp-zc1751-xm017-dc3.dts file - Enable nand-on-flash-bbt flag in zynqmp DT's by default Ashok Reddy Soma (4): mtd: nand: arasan: Remove hardc

[PATCH v2 1/2] xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write

2023-02-23 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) arch/arm/mach-versal-n

[PATCH v2 0/2] Fix sparse warnings

2023-02-23 Thread Ashok Reddy Soma
Run and fix sparse warnings in below files -arch/arm/mach-zynqmp/include/mach/sys_proto.h -common/spl/spl.c -arch/arm/mach-versal-net/include/mach/sys_proto.h -arch/arm/mach-versal/include/mach/sys_proto.h -drivers/mmc/zynq_sdhci.c -drivers/spi/zynqmp_gqspi.c Changes in v2: - Moved functio

[PATCH v2 2/2] xilinx: zynqmp: Add missing prototype for board_boot_order

2023-02-23 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'board_boot_order' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Moved function prototype from s

[PATCH 2/2] xilinx: zynqmp: Add missing prototype for board_boot_order

2023-02-20 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'board_boot_order' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-zynqmp/include/mach/sys_proto.h | 1

[PATCH 1/2] xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write

2023-02-20 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- arch/arm/mach-versal-net/include/mach/sys_p

[PATCH 0/2] Fix sparse warnings

2023-02-20 Thread Ashok Reddy Soma
Run and fix sparse warnings in below files -arch/arm/mach-zynqmp/include/mach/sys_proto.h -common/spl/spl.c -arch/arm/mach-versal-net/include/mach/sys_proto.h -arch/arm/mach-versal/include/mach/sys_proto.h -drivers/mmc/zynq_sdhci.c -drivers/spi/zynqmp_gqspi.c Algapally Santosh Sagar (2):

RE: [PATCH v1 1/1] fpga: zynqmppl: fix fpga loads command for unencrypted use case

2023-02-14 Thread Soma, Ashok Reddy
Acked-by: Ashok Reddy Soma Thanks, Ashok > -Original Message- > From: Neal Frager > Sent: Tuesday, February 14, 2023 6:50 PM > To: u-boot@lists.denx.de; git-dev (AMD-Xilinx) > Cc: Simek, Michal ; Soma, Ashok Reddy > ; Manne, Nava kishore > ; Erkiaga Elorza,

RE: [PATCH v2 1/1] lmb: Treat a region which is a subset as equal

2023-02-13 Thread Soma, Ashok Reddy
dt memory region failed (addr=500 size=2 flags=4) Loading Device Tree to 74564000, end 74574603 ... OK Working FDT set to 74564000 Starting kernel ... Thanks, Ashok > -Original Message- > From: Sjoerd Simons > Sent: Sunday, February 12, 2023 8:37

[PATCH] arm64: zynqmp: Add missing ZYNQMP_FIRMWARE dependencies

2023-02-01 Thread Ashok Reddy Soma
d and also sdhci and gem drivers didn't protect the code properly. So, add the missing ZYNQMP_FIRMWARE dependencies. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/zynqmp/Kconfig | 1 + drivers/clk/Kconfig | 4 ++-- drivers/fpga/Kco

[PATCH v2 4/4] drivers: mmc: Change datatype of tuning_loop_counter to int

2023-01-19 Thread Ashok Reddy Soma
-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Updated description drivers/mmc/zynq_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 7dcf6ad842..be4075c97a 100644 --- a

[PATCH v2 3/4] xilinx: versal: Add missing header

2023-01-19 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'do_go_exec' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Changed subject from missing pr

[PATCH v2 2/4] gpio: zynqmp: Handle error from get_gpio_modepin

2023-01-19 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar There is a unused variable ret, due to which we are getting sparse warning as below. warning: variable 'ret' set but not used [-Wunused-but-set-variable]. Return ret incase of error. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok

[PATCH v2 1/4] xilinx: common: Include header file to fix warning

2023-01-19 Thread Ashok Reddy Soma
tosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v2: - Included header file instead of declaring prototype - Modified description to reflect the same board/xilinx/common/board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/xilinx/common/board.c b/board/xilinx/common/boa

[PATCH v2 0/4] Fix sparse warnings

2023-01-19 Thread Ashok Reddy Soma
Run and fix sparse warnings in below files -drivers/mmc/zynq_sdhci.c -board/xilinx/common/board.h -drivers/gpio/zynqmp_gpio_modepin.c -board/xilinx/versal/board.c Changes in v2: - Included header file instead of declaring prototype - Modified description to reflect the same - Instead of rem

[4/4] mmc: zynq_sdhci: Add support and quirk for HS400

2023-01-10 Thread Ashok Reddy Soma
Add support for HS400 in mode2timing array. Add a quirk for Versal NET platform to indicate that HS400 is supported through bit63 of capability register. Signed-off-by: Ashok Reddy Soma --- drivers/mmc/zynq_sdhci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc

[3/4] mmc: sdhci: Enable HS400 support if available in caps

2023-01-10 Thread Ashok Reddy Soma
HS400 is indicated in bit63 of capability register in few IP's. Add a quirk to check this and add HS400 to host capabilities. Signed-off-by: Ashok Reddy Soma --- drivers/mmc/sdhci.c | 4 include/sdhci.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/drivers/mmc/sdhc

[2/4] mmc: sdhci: Check and call config_dll callback functions

2023-01-10 Thread Ashok Reddy Soma
Check if the low level driver supports config_dll callback function and call it if it does. Call with dll disable before calling set_clock and with dll enable after it. Signed-off-by: Ashok Reddy Soma --- drivers/mmc/sdhci.c | 16 include/sdhci.h | 2 ++ 2 files changed

[1/4] mmc: zynq_sdhci: Add support for eMMC5.1 for Versal NET platform

2023-01-10 Thread Ashok Reddy Soma
-off-by: Ashok Reddy Soma --- drivers/mmc/zynq_sdhci.c | 287 ++- 1 file changed, 284 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 7dcf6ad842..8415da3373 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers

[0/4] Add eMMC 5.1 support for Versal NET

2023-01-10 Thread Ashok Reddy Soma
Ashok Reddy Soma (4): mmc: zynq_sdhci: Add support for eMMC5.1 for Versal NET platform mmc: sdhci: Check and call config_dll callback functions mmc: sdhci: Enable HS400 support if available in caps mmc: zynq_sdhci: Add support and quirk for HS400 drivers/mmc/sdhci.c | 20 +++ drivers

[PATCH 4/4] drivers: mmc: Change datatype to fix a warning

2023-01-06 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar tuning_loop_counter is of char type. Change to int to fix below warning. warning: comparison is always false due to limited range of data type. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/mmc/zynq_sdhci.c | 2 +- 1 file

[PATCH 3/4] xilinx: versal: Add missing prototype

2023-01-06 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'do_go_exec' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/versal/board.c | 1 + 1 file changed, 1

[PATCH 2/4] gpio: zynqmp: Remove unused variable ret

2023-01-06 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar There is a unused variable ret, due to which we are getting sparse warning as below. warning: variable 'ret' set but not used [-Wunused-but-set-variable]. Remove variable ret. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma ---

[PATCH 1/4] xilinx: common: Add missing prototype for board_get_usable_ram_top

2023-01-06 Thread Ashok Reddy Soma
From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'board_get_usable_ram_top' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/common/board.h | 4 ++

[PATCH 0/4] Fix sparse warnings

2023-01-06 Thread Ashok Reddy Soma
Run and fix sparse warnings in below files -drivers/mmc/zynq_sdhci.c -board/xilinx/common/board.h -drivers/gpio/zynqmp_gpio_modepin.c -board/xilinx/versal/board.c Algapally Santosh Sagar (4): xilinx: common: Add missing prototype for board_get_usable_ram_top gpio: zynqmp: Remove unused va

  1   2   3   4   >