[PATCH] drivers: mtd: nand: Use Cadence-specific onfi_set_feature

2025-06-16 Thread dinesh . maniyam
From: Dinesh Maniyam Implement Cadence-specific onfi_set_features and onfi_get_features ops to support ONFI optional commands via standard NAND hooks. The Cadence controller performs 32-bit writes per transaction, different from the legacy single byte transaction for SET_FEATURES command. Hence

[PATCH] configs: socfpga: soc64: agilex5: Enable NAND boot with UBI / UBIFS

2025-06-16 Thread dinesh . maniyam
From: Dinesh Maniyam Add the required configuration in the U-Boot env to enable Linux NAND boot with UBI / UBIFS. Signed-off-by: Dinesh Maniyam --- include/configs/socfpga_soc64_common.h | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/include

[PATCH] dts: agilex5: Enabled nand boot in SPL

2025-06-16 Thread dinesh . maniyam
From: Dinesh Maniyam Enable nand as one of the bootable media in SPL. Signed-off-by: Dinesh Maniyam --- arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/socfpga_agilex5_socdk-u-boot.dtsi b/arch/arm/dts

[PATCH v5 00/12] Add Synopsys MIPI I3C Driver support

2025-05-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

[PATCH v5 06/12] drivers: i3c: Add i3c sandbox simple test.

2025-05-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 | 56 +++ test

[PATCH v5 11/12] configs: sandbox_defconfig: Enable configs for sandbox i3c

2025-05-13 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

[PATCH v5 04/12] drivers: Enabled Kconfig and Makefile for i3c support

2025-05-13 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

[PATCH v5 12/12] configs: agilex5_defconfig: Enable i3c configs for agilex5

2025-05-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..87febc9f4ce 100644 --- a

[PATCH v5 10/12] test: cmd: Add simple test for i3c

2025-05-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| 50

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

2025-05-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/Kconfig| 6 + cmd/Makefile | 1 + cmd/i3c.c | 261

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

2025-05-13 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 v5 07/12] drivers: i3c: master: Enable probe i3c without slave device

2025-05-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

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

2025-05-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 | 5 + drivers/i3c/Makefile| 1 + drivers/i3c/master/Kconfig | 11 +++ drivers/i3c/master/Makefile | 3 +++ 4 files changed, 20

[PATCH v5 03/12] drivers: i3c: Add i3c uclass driver.

2025-05-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 --- doc/api/i3c.rst | 8 + doc/api/index.rst| 1 + drivers/i3c/i3c-uclass.c | 38

[PATCH v5 01/12] drivers: i3c: Add new i3c uclass id

2025-05-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 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 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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 v3 18/19] drivers: mtd: nand: Kconfig: Add SYS_NAND_PAGE_SIZE dependency

2025-02-26 Thread dinesh . maniyam
From: Dinesh Maniyam Add SYS_NAND_PAGE_SIZE dependency for cadence NAND. This config is needed as the SPL driver will use this parameter to read uboot-proper image in NAND during booting. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

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

2025-02-26 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 v3 04/19] drivers: mtd: nand: cadence: Add support for read status command

2025-02-26 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 v3 08/19] drivers: mtd: nand: cadence: Support cmd SET_FEATURES & GET_FEATURES

2025-02-26 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 v3 19/19] drivers: mtd: nand: Kconfig: Enabled self-init for cdns-nand SPL

2025-02-26 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 v3 17/19] drivers: mtd: nand: Enabled Kconfig and Makefile for SPL_NAND_FRAMEWORK

2025-02-26 Thread dinesh . maniyam
From: Dinesh Maniyam Enable the Kconfig and Makefile for the SPL_NAND_FRAMEWORK support in agilex5 family device. This will include all the basic files needed to use the existing nand spl support. Signed-off-by: Dinesh Maniyam --- drivers/mtd/nand/raw/Kconfig | 7 +++ drivers/mtd/nand

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

2025-02-26 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 v3 14/19] drivers: mtd: nand: base: Add support for Hardware ECC for check bad block

2025-02-26 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 v3: - Remove copyright --- --- drivers/mtd/nand/raw/nand_b

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

2025-02-26 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 v3 13/19] configs: nand2_defconfig: Enable configs for nand boot

2025-02-26 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 v3: - remove CONFIG_OF_UPSTREAM to correctly locate the dts

[resend v3 12/19] drivers: nand: Enabled Kconfig and Makefile for cdns-nand

2025-02-26 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 v3 11/19] drivers: mtd: nand: cadence: Use bounce buffer

2025-02-26 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 v3 10/19] drivers: mtd: nand: cadence: Poll for desc complete status

2025-02-26 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 v3 09/19] drivers: mtd: nand: cadence: Flush & invalidate dma descriptor

2025-02-26 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 v3 07/19] drivers: mtd: nand: cadence: Add support for NAND_CMD_RESET

2025-02-26 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 v3 05/19] drivers: mtd: nand: cadence: Add support for readid command

2025-02-26 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 v3 06/19] drivers: mtd: nand: cadence: Add support for NAND_CMD_PARAM

2025-02-26 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 v3 02/19] arm: dts: agilex5: Enabled cdns-nand dts setting

2025-02-26 Thread dinesh . maniyam
From: Dinesh Maniyam Enable cdns-nand dts setting for the socfpga_agilex5 family device. Signed-off-by: Dinesh Maniyam --- v3 > v2: - Moved &nand from uboot.dtsi to socdk.dts --- --- arch/arm/dts/socfpga_agilex5.dtsi | 14 ++ .../arm/dts/socfpga_agilex5_

[resend v3 03/19] drivers: mtd: nand: Add driver for Cadence Nand

2025-02-26 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 v3 01/19] dt: nand: add cadence nand dt-bindings

2025-02-26 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 07/10] drivers: i3c: master: Enable probe i3c without slave device

2025-02-17 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

[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

[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 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 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 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 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 02/10] drivers: i3c: Add new i3c uclass id

2025-02-17 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 270088ad94..1d259b439f 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass

[PATCH 01/10] dt-bindings: i3c: Add YAML schema for Cadence I3C controller

2025-02-17 Thread dinesh . maniyam
From: Dinesh Maniyam Add a YAML device tree binding schema for the Cadence I3C controller, defining required and optional properties for proper integration and validation with dt-schema. Signed-off-by: Dinesh Maniyam --- .../i3c/cdns,i3c-master.yaml | 51 + doc/device

[PATCH 00/10] Add Synopsys MIPI I3C Driver support

2025-02-17 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

  1   2   >