[PATCH] arm: socfpga: stratix10: SPI clock support

2023-12-06 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to add SPI clock support for stratix10. Get clock rate function always returning 0 because the DW-SPI driver get the rate from clock node in dts but Stratix10 does not support device tree clock node.To overcome this spi will get the clock_rate directly from spi

[PATCH] clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0)

2023-12-14 Thread dinesh . maniyam
From: Dinesh Maniyam MEMCLKMGR_EXTCNTRST_C0CNTRST register defined as BIT[0] in documentation but it is wrongly defined as BIT[7] in u-boot code. This register is used to hold associated pingpong counter in reset while PLL and 5:1 mux configuration is changed. Signed-off-by: Dinesh Maniyam

[PATCH] arm: dts: agilex: Increase reserved memory size to 32MB

2023-12-14 Thread dinesh . maniyam
From: Dinesh Maniyam The reserved space is extended to 32MB in Linux kernel because additional space is needed for authorization execution of JIC/RBF file. U-Boot required to align with Linux. Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex.dtsi | 4 ++-- 1 file changed, 2

[PATCH] fpga: intel_sdm_mb: Add checking for INTEL_SIP_SMC_STATUS_BUSY (1)

2022-05-09 Thread dinesh . maniyam
From: Dinesh Maniyam Status busy means transfer is accepted but SDM does not have more freed buffer. It is not an error. Continue process the data if receive OK and BUSY status. Signed-off-by: Ley Foon Tan Signed-off-by: Dinesh Maniyam --- drivers/fpga/intel_sdm_mb.c | 3 ++- 1 file changed

[PATCH] ddr:altera:soc64: Integer fix overflow that caused DDR size mismatched

2022-05-10 Thread dinesh . maniyam
From: Dinesh Maniyam Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Chee Hong Ang Signed-off-by: Dinesh Maniyam --- drivers/ddr/altera/sdram_soc64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] arm:socfpga:soc64: To notify SDM when U-Boot pass control to Linux

2022-05-10 Thread dinesh . maniyam
From: Dinesh Maniyam Prior U-Boot pass control to Linux, U-Boot will send a mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW transition. Signed-off-by: Chin Liang See Signed-off-by: Dinesh Maniyam --- arch/arm/mach-socfpga/misc_soc64.c | 5 +++

[PATCH] arm: socfpga: mailbox: Add mailbox command for HPS execution notifcation

2022-05-12 Thread dinesh . maniyam
From: Dinesh Maniyam Add a new mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on the stage of HPS code execution. In general, there are three main code execution stages: First Stage Boot Loader (FSBL) which is U-Boot SPL, Second Stage Boot Loader (SSBL) which

[PATCH] arm: socfpga: spl: To notify SDM when SPL pass control to U-Boot

2022-05-12 Thread dinesh . maniyam
From: Dinesh Maniyam Prior SPL pass control to U-Boot, SPL will send a mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW transition. The purpose is for debug as user can query SDM on HPS error details when HPS enters a warm reset due to error such a

[PATCH v2] ddr: altera: soc64: Integer fix overflow that caused DDR size mismatched

2022-05-13 Thread dinesh . maniyam
From: Dinesh Maniyam Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Dinesh Maniyam --- v1->v2 - Add space in title --- drivers/ddr/altera/sdram_soc64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v2] arm: socfpga: soc64: To notify SDM when U-Boot pass control to Linux

2022-05-13 Thread dinesh . maniyam
From: Dinesh Maniyam Prior U-Boot pass control to Linux, U-Boot will send a mailbox command "HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW transition. Signed-off-by: Dinesh Maniyam --- v1->v2 Add space in title --- arch/arm/mach-socfpga/misc_soc64.c | 5

[PATCH v2] fpga: intel_sdm_mb: Add checking for INTEL_SIP_SMC_STATUS_BUSY (1)

2022-05-31 Thread dinesh . maniyam
From: Dinesh Maniyam Status busy means transfer is accepted but SDM does not have more freed buffer. It is not an error. Continue process the data if receive OK or BUSY status. Signed-off-by: Ley Foon Tan Signed-off-by: Dinesh Maniyam --- v1 -> v2 - change to "OK or Busy status i

[PATCH v3] fpga: intel_sdm_mb: Add checking for INTEL_SIP_SMC_STATUS_BUSY (1)

2022-05-31 Thread dinesh . maniyam
From: Dinesh Maniyam Status busy means transfer is accepted but SDM does not have more freed buffer. It is not an error. Continue process the data if receive OK or BUSY status. Signed-off-by: Dinesh Maniyam --- v2->v3 -Copyright year updated and alignment adjusted. --- drivers/f

[PATCH] arm: dts: socfpga: agilex: Add freeze controller node

2022-05-31 Thread dinesh . maniyam
From: Dinesh Maniyam The freeze controller is required for FPGA partial reconfig. This node is disable on default. Enable this node via u-boot fdt command when needed. Signed-off-by: Yau Wai Gan Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 11

[PATCH] arm: dts: socfpga: stratix10: Add freeze controller node

2022-05-31 Thread dinesh . maniyam
From: Dinesh Maniyam The freeze controller is required for FPGA partial reconfig. This node is disable on default. Enable this node via u-boot fdt command when needed. Signed-off-by: Yau Wai Gan Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 11

[PATCH] arch: arm: socfpga: timer_s10: Override udelay for secure section

2022-06-01 Thread dinesh . maniyam
From: Dinesh Maniyam Override __udelay() as 'always inlined' function so that PSCI code run in '__secure' section can call this delay function as well. Signed-off-by: Chee Hong Ang Signed-off-by: Dinesh Maniyam --- arch/arm/mach-socfpga/timer_s10.c | 35 ++

[PATCH] drivers: cache: ncore: Disable snoop filter

2022-06-01 Thread dinesh . maniyam
From: Dinesh Maniyam There is hardware bug in NCORE CCU IP and it is causing an issue in the coherent directory tracking of outstanding cache lines. The workaround is disabling snoop filter. Signed-off-by: Dinesh Maniyam --- drivers/cache/cache-ncore.c | 6 +++--- 1 file changed, 3 insertions

[PATCH v3] ddr: altera: soc64: Integer fix overflow that caused DDR size mismatched

2022-06-01 Thread dinesh . maniyam
From: Dinesh Maniyam Convert the constant integer to 'phys_size_t' to avoid overflow when calculating the SDRAM size. Signed-off-by: Dinesh Maniyam --- v3->v2 - copyright year updated and alignment updated. v2->v1 - add space in title --- drivers/ddr/altera/sdram_soc64.c |

[PATCH 08/19] drivers: mtd: nand: cadence: Support NAND_CMD_RESET

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The patch is to support nand reset command for Cadence Nand Driver. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/mtd/nand/raw/cadence_nand.c b/drivers/mtd

[PATCH 09/19] drivers: mtd: nand: cadence: Support cmd SET_FEATURES & GET_FEATURES

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to support NAND_CMD_SET_FEATURES & NAND_CMD_GET_FEATURES. These commands is one of the basic commands of NAND. Params get from these commands will be used to set timing mode of NAND data interface. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand

[PATCH 07/19] drivers: mtd: nand: cadence: Add support for NAND_CMD_PARAM

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to add support for reading param page of NAND device. These paramaters are unique and used for identification purpose. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 30 + 1 file changed, 30 insertions

[PATCH 11/19] drivers: mtd: nand: cadence: Poll for desc complete status

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The patch is to poll for thread complete status to ensure the descriptor processing is complete. If complete then can ensure controller already update the descriptor status. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 9 + 1 file

[PATCH 10/19] drivers: mtd: nand: cadence: Flush dma descriptor

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The patch is to ensure ddr memory is updated with the data from dcache, This would help to ensure cdma always reading the latest dma descriptor in ddr memory. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 4 1 file changed, 4 insertions

[PATCH 15/19] drivers: mtd: nand: base: Add support for Hardware ECC for check bad block

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to leverage linux code to support hardware ECC interface in verify nand bad block. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/nand_base.c | 71 +--- include/linux/mtd/rawnand.h | 13 ++ 2 files changed, 60

[PATCH 16/19] drivers: mtd: nand: spl: Add support for nand SPL load image

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is add support for spl nand to load binary image from NAND to RAM. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_spl.c | 96 ++ 1 file changed, 96 insertions(+) create mode 100644 drivers/mtd/nand/raw/cadence_spl.c

[PATCH 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable configs for nand boot. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_nand2_defconfig | 169 1 file changed, 169 insertions(+) create mode 100644 configs/socfpga_agilex5_nand2_defconfig diff --git a/configs

[PATCH 12/19] drivers: mtd: nand: cadence: Use bounce buffer

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The patch is to enable nand to use bounce buffer. In bounce buffer, read/write buf will use cadence->buf which has been allocated using malloc. This will align the memory and avoid memory to be allocated in different addresses. Signed-off-by: Dinesh Maniyam --- driv

[PATCH 13/19] drivers: nand: Enabled Kconfig and Makefile for cdns-nand

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable the Kconfig and Makefile for the Cadence NAND driver for the agilex5 family device. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 9 + drivers/mtd/nand/raw/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a

[PATCH 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for Cadence-SPL

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable the Kconfig and Makefile for the Cadence-Nand SPL support in agilex5 family device. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 7 +++ drivers/mtd/nand/raw/Makefile | 1 + 2 files changed, 8 insertions(+) diff --git a

[PATCH 18/19] drivers: mtd: nand: Kconfig: Remove SYS_NAND_BLOCK_SIZE dependency

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to remove SYS_NAND_BLOCK_SIZE dependency for cadence NAND. This config is not needed as the driver will send command read parameter page to identify the NAND block size during initialization. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 2

[PATCH 19/19] drivers: mtd: nand: Kconfig: Enabled self-init for cdns-nand SPL

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable SPL_SYS_NAND_SELF_INIT for Cadence NAND SPL. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 90f8f4b688..32444c2468

[PATCH 00/19] Add Cadence NAND Driver support

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Cadence NAND driver support for Intel Agilex5 devices. The NAND driver is leveraged from the cadence-nand-controller.c from Linux. U-Boot will support read, write and erase NAND with Cadence driver. The driver further enhanced in U-Boot to support NAND

[PATCH 01/19] dt: nand: add cadence nand dt-bindings

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The Cadence NAND is a configurable mtd raw block which supports multiple options for chipsets, clocking and reset structure, and feature list. Signed-off-by: Dinesh Maniyam --- .../mtd/cadence,nand.yaml | 98 +++ 1 file changed, 98

[PATCH 02/19] arm: dts: agilex5: Enabled cdns-nand dts setting

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable cdns-nand dts setting for the socfpga_agilex5 family device. Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex5.dtsi | 14 ++ .../arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 28 +++ 2 files changed

[PATCH 04/19] drivers: mtd: nand: Add driver for Cadence Nand

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch is to enable driver for Cadence NAND for the family device agilex5. This driver is leveraged from linux. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 2210 +++ include/cadence-nand.h | 526

[PATCH 03/19] include: asm: Add support to read/write 64-bit

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam The patch is to extend support read and write 64-bits of buffer. This is required for Cadence NAND Driver to read/write ONFI parameter page. The parameter page is mapped to 64-bit. With only read/write 32 bits of buffer,there is an issue of overwriting last 4 bits of buffer

[PATCH 06/19] drivers: mtd: nand: cadence: Add support for readid command

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch will add support for readid command in Cadence NAND driver. The id is unique and used for flash identification. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 32 - 1 file changed, 31 insertions(+), 1

[PATCH 05/19] drivers: mtd: nand: cadence: Add support for read status command

2024-09-18 Thread dinesh . maniyam
From: Dinesh Maniyam This patch will add support for read status command in Cadence NAND driver. This status bit is important to check whether the flash is write-protected. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/cadence_nand.c | 46 - include

[resend v2 00/19] Add Cadence NAND Driver support

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Cadence NAND driver support for Intel Agilex5 devices. The NAND driver is leveraged from the cadence-nand-controller.c from Linux version 6.11.2. U-Boot will support read, write and erase NAND with Cadence driver. The driver further enhanced in U-Boot to

[resend v2 01/19] dt: nand: add cadence nand dt-bindings

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam The Cadence NAND is a configurable mtd raw block which supports multiple options for chipsets, clocking and reset structure, and feature list. Signed-off-by: Dinesh Maniyam --- .../mtd/cadence,nand.yaml | 98 +++ 1 file changed, 98

[resend v2 03/19] include: asm: Add support to read/write 64-bit

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Extend support read and write 64-bits of buffer. This is required for Cadence NAND Driver to read/write ONFI parameter page. The parameter page is mapped to 64-bit. With only read/write 32 bits of buffer,there is an issue of overwriting last 4 bits of buffer which failed the

[resend v2 05/19] drivers: mtd: nand: cadence: Add support for read status command

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Add support for read status command in Cadence NAND driver. This status bit is important to check whether the flash is write-protected. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/cadence_n

[resend v2 07/19] drivers: mtd: nand: cadence: Add support for NAND_CMD_PARAM

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Add support for reading param page of NAND device. These paramaters are unique and used for identification purpose. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/cadence_n

[resend v2 06/19] drivers: mtd: nand: cadence: Add support for readid command

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Add support for readid command in Cadence NAND driver. The id is unique and used for flash identification. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/cadence_n

[resend v2 15/19] drivers: mtd: nand: base: Add support for Hardware ECC for check bad block

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Leverage linux code to support hardware ECC interface to verify nand bad block. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/nand_base.c | 71 +--- include

[resend v2 12/19] drivers: mtd: nand: cadence: Use bounce buffer

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable nand to use bounce buffer. In bounce buffer, read/write buf will use cadence->buf which has been allocated using malloc. This will align the memory and avoid memory to be allocated in different addresses. Signed-off-by: Dinesh Maniyam --- v2: - remove the &q

[resend v2 11/19] drivers: mtd: nand: cadence: Poll for desc complete status

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Poll for thread complete status to ensure the descriptor processing is complete. If complete then can ensure controller already update the descriptor status. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mt

[resend v2 13/19] drivers: nand: Enabled Kconfig and Makefile for cdns-nand

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the Cadence NAND driver for the agilex5 family device. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/Kconfig | 9 + drivers/mtd/nand/raw/Makefil

[resend v2 16/19] drivers: mtd: nand: spl: Add support for nand SPL load image

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Add support for spl nand to load binary image from NAND to RAM. Leverage the existing nand_spl_load_image from nand_spl_loaders.c Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases - Leverage the existing nand_spl_load_

[resend v2 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for Cadence-SPL

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the Cadence-Nand SPL support in agilex5 family device. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/Kconfig | 7 +++ drivers/mtd/nand/raw/Makefile | 1

[resend v2 18/19] drivers: mtd: nand: Kconfig: Remove SYS_NAND_BLOCK_SIZE dependency

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Remove SYS_NAND_BLOCK_SIZE dependency for cadence NAND. This config is not needed as the driver will send command read parameter page to identify the NAND block size during initialization. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to&qu

[resend v2 19/19] drivers: mtd: nand: Kconfig: Enabled self-init for cdns-nand SPL

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable SPL_SYS_NAND_SELF_INIT for Cadence NAND SPL. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/Kconfig b/d

[resend v2 02/19] arm: dts: agilex5: Enabled cdns-nand dts setting

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable cdns-nand dts setting for the socfpga_agilex5 family device. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- arch/arm/dts/socfpga_agilex5.dtsi | 14 ++ .../arm/dts/socfpga_agilex5_socdk-u

[resend v2 09/19] drivers: mtd: nand: cadence: Support cmd SET_FEATURES & GET_FEATURES

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Support NAND_CMD_SET_FEATURES & NAND_CMD_GET_FEATURES. These commands is one of the basic commands of NAND. The parameters get from these commands will be used to set timing mode of NAND data interface. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this pa

[resend v2 04/19] drivers: mtd: nand: Add driver for Cadence Nand

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable driver for Cadence NAND for the family device agilex5. This driver is leveraged from the path /drivers/mtd/nand/raw/cadence-nand-controller.c from the stable version 6.11.2. Signed-off-by: Dinesh Maniyam --- v2: - Minor code refactor based on linux version 6.11.2

[resend v2 08/19] drivers: mtd: nand: cadence: Add support for NAND_CMD_RESET

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Support nand reset command for Cadence Nand Driver. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases --- --- drivers/mtd/nand/raw/cadence_nand.c | 26 ++ 1 file changed, 26 insertions(+) diff --git

[resend v2 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for nand boot. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases - using #include mechanism to keep track of the variant - add maintainer --- --- board/intel/agilex5-socdk/MAINTAINERS | 2 +

[resend v2 10/19] drivers: mtd: nand: cadence: Flush & invalidate dma descriptor

2024-12-05 Thread dinesh . maniyam
From: Dinesh Maniyam Ensure ddr memory is updated with the data from dcache. This would help to ensure cdma always reading the latest dma descriptor from ddr memory. Signed-off-by: Dinesh Maniyam --- v2: - remove the "this patch is to" commit phrases - add support for invali

[resend v2 08/13] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-03-15 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam

[resend v3 10/12] test: cmd: Add simple test for i3c

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add simple test to check i3c controller defined in sandbox test DT. Basically, this test case will check validity of the i3c controller by probing it and perform basic commands of cmd/i3c.c Signed-off-by: Dinesh Maniyam --- test/cmd/Makefile | 1 + test/cmd/i3c.c| 52

[resend v3 08/12] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam

[resend v3 04/12] drivers: Enabled Kconfig and Makefile for i3c support

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- MAINTAINERS | 7 +++ drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 5 files changed, 29 insertions

[resend v3 00/12] Add Synopsys MIPI I3C Driver support

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h

[resend v3 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..87febc9f4ce 100644 --- a

[resend v3 03/12] drivers: i3c: Add i3c uclass driver.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h

[resend v3 05/12] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 5 + drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 20

[resend v3 01/12] drivers: i3c: Add new i3c uclass id

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm

[resend v3 06/12] drivers: i3c: Add i3c sandbox simple test.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 + drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 56 +++ test

[resend v3 07/12] drivers: i3c: master: Enable probe i3c without slave device

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c

[resend v3 09/12] cmd: Add i3c command support.

2025-03-24 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig| 6 + cmd/Makefile | 1 + cmd/i3c.c | 193

[resend v3 11/12] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-04-05 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for sandbox i3c. Signed-off-by: Dinesh Maniyam --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 861a1f4cd90..ba98cb0ae99 100644 --- a/configs/sandbox_defconfig

[resend v2 01/13] drivers: i3c: Add new i3c uclass id

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm

[resend v2 03/13] drivers: i3c: Add i3c uclass driver.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h

[resend v2 05/13] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 3 +++ drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 18

[resend v2 00/13] Add Synopsys MIPI I3C Driver support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h

[resend v2 09/13] cmd: Add i3c command support.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/i3c.c | 193 + doc/usage/cmd/i3c.rst | 98 +++ drivers/i3c

[resend v2 10/13] cmd: Enabled Kconfig and Makefile for DWI3C cmd support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the DWI3C driver cmd support. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig | 6 ++ cmd/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 642cc1116e8..551959731f0 100644 --- a/cmd

[resend v2 06/13] drivers: i3c: Add i3c sandbox simple test.

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 58 +++ test/dm

[resend v2 11/13] test: cmd: Add simple test for i3c

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add simple test to check i3c controller defined in sandbox test DT. Basically, this test case will check validity of the i3c controller by probing it and perform basic commands of cmd/i3c.c Signed-off-by: Dinesh Maniyam --- test/cmd/Makefile | 1 + test/cmd/i3c.c| 52

[resend v2 07/13] drivers: i3c: master: Enable probe i3c without slave device

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c

[resend v2 04/13] drivers: Enabled Kconfig and Makefile for i3c support

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 4 files changed, 22 insertions(+) create mode 100755 drivers/i3c

[resend v2 12/13] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for sandbox i3c. Signed-off-by: Dinesh Maniyam --- configs/sandbox_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 861a1f4cd90..d3617da8792 100644 --- a/configs/sandbox_defconfig

[resend v2 13/13] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-03-13 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..5d380011fab 100644 --- a

[resend v4 08/12] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-04-17 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam

[resend v4 01/12] drivers: i3c: Add new i3c uclass id

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c general uclass id. Signed-off-by: Dinesh Maniyam --- include/dm/uclass-id.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index 270088ad94f..1d259b439ff 100644 --- a/include/dm/uclass-id.h +++ b/include/dm

[resend v4 04/12] drivers: Enabled Kconfig and Makefile for i3c support

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add new i3c driver to U-Boot drivers. Signed-off-by: Dinesh Maniyam --- MAINTAINERS | 7 +++ drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/i3c/Kconfig | 16 drivers/i3c/Makefile | 3 +++ 5 files changed, 29 insertions

[resend v4 06/12] drivers: i3c: Add i3c sandbox simple test.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add s simple test for the I3C uclass in sandbox. Signed-off-by: Dinesh Maniyam --- arch/sandbox/dts/test.dts | 8 ++ drivers/i3c/Kconfig | 6 + drivers/i3c/Makefile | 1 + drivers/i3c/sandbox_i3c.c | 56 +++ test

[resend v4 05/12] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 5 + drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 20

[resend v4 07/12] drivers: i3c: master: Enable probe i3c without slave device

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Picked linux i3c driver upstraming patch to fix the issue to probe for i3c controller without slave device attached. With this fix, the ret check will be on command error and will success without slave device attached. Signed-off-by: Dinesh Maniyam --- drivers/i3c

[resend v4 03/12] drivers: i3c: Add i3c uclass driver.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h | 1 + include/i3c.h

[resend v4 00/12] Add Synopsys MIPI I3C Driver support

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam This patchset add Synopsys MIPI I3C Driver support for Intel Agilex5 devices. The i3c driver is leveraged from the master/dw-i3c-master.c, i3c/device.c and i3c/master.c Linux version 6.6.37 LTS And few header files included to be part of the migration; i3c/internals.h

[resend v4 09/12] cmd: Add i3c command support.

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig| 6 + cmd/Makefile | 1 + cmd/i3c.c | 193

[resend v4 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for i3c in agilex5. Signed-off-by: Dinesh Maniyam --- configs/socfpga_agilex5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/socfpga_agilex5_defconfig b/configs/socfpga_agilex5_defconfig index 8577ac610c2..87febc9f4ce 100644 --- a

[resend v4 11/12] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-04-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable configs for sandbox i3c. Signed-off-by: Dinesh Maniyam --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 861a1f4cd90..ba98cb0ae99 100644 --- a/configs/sandbox_defconfig

[resend v4 10/12] test: cmd: Add simple test for i3c

2025-04-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add simple test to check i3c controller defined in sandbox test DT. Basically, this test case will check validity of the i3c controller by probing it and perform basic commands of cmd/i3c.c Signed-off-by: Dinesh Maniyam --- test/cmd/Makefile | 1 + test/cmd/i3c.c| 52

[PATCH 06/10] drivers: i3c: Add i3c uclass driver.

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable i3c general uclass driver. This uclass driver will have genaral read and write api to call the specific i3c driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Makefile | 1 + drivers/i3c/i3c-uclass.c | 38 include/dw-i3c.h

[PATCH 09/10] cmd: Add i3c command support.

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add i3c command file to support select, get i3c device target list, read and write operation. Signed-off-by: Dinesh Maniyam --- cmd/i3c.c | 193 + drivers/i3c/master/dw-i3c-master.c | 35 +- include/dw-i3c.h

[PATCH 04/10] drivers: Enabled Kconfig and Makefile for I3C support

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable I3C driver support. Signed-off-by: Dinesh Maniyam --- drivers/i3c/Kconfig | 21 + drivers/i3c/Makefile | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 drivers/i3c/Kconfig create mode 100644 drivers/i3c/Makefile diff --git a

[PATCH 08/10] i3c: master: dw-i3c-master: Fix OD_TIMING for spike filter

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Fix the I3C device with spike filter unable to detect issue by setting tHIGH_INIT to 200ns for first broadcast address. This is according to MIPI SPEC 1.1.1 for first broadcast address which is already part of linux upstreamed patch. Signed-off-by: Dinesh Maniyam

[PATCH 05/10] drivers: i3c: Enabled Kconfig and Makefile for DWI3C

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the MIPI DWI3C driver. Signed-off-by: Dinesh Maniyam --- drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 drivers/i3c/master/Kconfig create mode

[PATCH 10/10] cmd: Enabled Kconfig and Makefile for DWI3C cmd support

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the DWI3C driver cmd support. Signed-off-by: Dinesh Maniyam --- cmd/Kconfig | 6 ++ cmd/Makefile | 1 + 2 files changed, 7 insertions(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index a04fcaa0e0..5236e7ea76 100644 --- a/cmd/Kconfig

  1   2   >