Skip to contentSkip to conversation

drivers: spi: macronix: Add MX66L51235L data

PATCH New Sourav Poddar 2 participants 5 messages Aug 27, 2013 – Oct 7, 2013 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: spi: macronix: Add MX66L51235L data

Add support for macronix "MX66L51235L" flash device.

---
 drivers/mtd/spi/macronix.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/macronix.c +5 -0
index 70435eb..5a528c3 100644
@@ -61,6 +61,11 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
 		.nr_blocks = 256,
 		.name = "MX25L12855E",
 	},
+	{
+		.idcode = 0x201a,
+		.nr_blocks = 512,
+		.name = "MX66L51235L",
+	},
 };
 
 struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode)
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 drivers: spi: macronix: Add MX66L51235L data

Hi

Quoted 12 lines · Sourav Poddar

Add support for macronix "MX66L51235L" flash device.

---
 drivers/mtd/spi/macronix.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/macronix.c +0 -0
index 70435eb..5a528c3 100644

drivers/mtd/spi/macronix.c static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { · line 70

Quoted 10 lines
drivers/mtd/spi/macronix.c +5 -0
@@ -61,6 +61,11 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
                .nr_blocks = 256,
                .name = "MX25L12855E",
        },
+       {
+               .idcode = 0x201a,
+               .nr_blocks = 512,
+               .name = "MX66L51235L",
+       },
 };
 

Can you check the similar patch
http://patchwork.ozlabs.org/patch/262928/

Please confirm about nr_blocks?
Also have u tested with latest spi_flash code, since ur part is 64MB must require a BAR to access entire memory.?
http://patchwork.ozlabs.org/patch/262929/

Let me know for any concerns.

--
Thanks,
Jagan.

#2 lore raw

PATCH 1/1 drivers: spi: macronix: Add MX66L51235L data

Hi Sourav,

Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch.
Please let me know about any issues/concerns.

Quoted 39 lines · Jagan Teki

Hi

Quoted 12 lines · Sourav Poddar

Add support for macronix "MX66L51235L" flash device.

---
 drivers/mtd/spi/macronix.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/macronix.c +0 -0
index 70435eb..5a528c3 100644

drivers/mtd/spi/macronix.c static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { · line 70

Quoted 10 lines
drivers/mtd/spi/macronix.c +5 -0
@@ -61,6 +61,11 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
                .nr_blocks = 256,
                .name = "MX25L12855E",
        },
+       {
+               .idcode = 0x201a,
+               .nr_blocks = 512,
+               .name = "MX66L51235L",
+       },
 };
 

Can you check the similar patch
http://patchwork.ozlabs.org/patch/262928/

Please confirm about nr_blocks?
Also have u tested with latest spi_flash code, since ur part is 64MB must require a BAR to access entire memory.?
http://patchwork.ozlabs.org/patch/262929/

Let me know for any concerns.

--
Thanks,
Jagan.

Signature · 8 lines
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki
#3 lore raw

PATCH 1/1 drivers: spi: macronix: Add MX66L51235L data

Quoted 6 lines · Jagan Teki

Hi Sourav,

Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch.
Please let me know about any issues/concerns.

Regarding the number of blocks, it should be 1024 only.

I will do other testing asap and let you know. This particular flash is on another SOC so I will send that SOC specific qspi data after testing it
with the subject patch.

Quoted 41 lines · Jagan Teki
Quoted 38 lines

Hi

Quoted 12 lines · Sourav Poddar

Add support for macronix "MX66L51235L" flash device.

---
  drivers/mtd/spi/macronix.c |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/macronix.c +0 -0
index 70435eb..5a528c3 100644

drivers/mtd/spi/macronix.c static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { · line 70

Quoted 10 lines
drivers/mtd/spi/macronix.c +5 -0
@@ -61,6 +61,11 @@ static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
                 .nr_blocks = 256,
                 .name = "MX25L12855E",
         },
+       {
+               .idcode = 0x201a,
+               .nr_blocks = 512,
+               .name = "MX66L51235L",
+       },
  };
 

Can you check the similar patch
http://patchwork.ozlabs.org/patch/262928/

Please confirm about nr_blocks?
Also have u tested with latest spi_flash code, since ur part is 64MB must require a BAR to access entire memory.?
http://patchwork.ozlabs.org/patch/262929/

Let me know for any concerns.

--
Thanks,
Jagan.

#4 lore raw

PATCH 1/1 drivers: spi: macronix: Add MX66L51235L data

Quoted 8 lines · Sourav Poddar
Quoted 7 lines · Jagan Teki

Hi Sourav,

Can you test this macronix part w.r.t latest code base on u-boot-spi.git with master-probe branch.
Please let me know about any issues/concerns.

Quoted 6 lines

Regarding the number of blocks, it should be 1024 only.

I will do other testing asap and let you know. This particular flash is on another SOC so I will send that SOC specific qspi data after testing it
with the subject patch.

OK, thanks.
Please use u-boot-spi.git master branch.

Quoted 49 lines
Quoted 48 lines
Quoted 42 lines · Jagan Teki

Hi

Quoted 14 lines · Sourav Poddar

Add support for macronix "MX66L51235L" flash device.

---
  drivers/mtd/spi/macronix.c |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/macronix.c +0 -0
index 70435eb..5a528c3 100644
@@ -61,6 +61,11 @@ static const struct macronix_spi_flash_params
 macronix_spi_flash_table[] = {

drivers/mtd/spi/macronix.c static const struct macronix_spi_flash_params · line 71

Quoted 10 lines
drivers/mtd/spi/macronix.c +5 -0
                 .nr_blocks = 256,
                 .name = "MX25L12855E",
         },
+       {
+               .idcode = 0x201a,
+               .nr_blocks = 512,
+               .name = "MX66L51235L",
+       },
  };
 

Can you check the similar patch
http://patchwork.ozlabs.org/patch/262928/

Please confirm about nr_blocks?
Also have u tested with latest spi_flash code, since ur part is 64MB must require a BAR to access entire memory.?
http://patchwork.ozlabs.org/patch/262929/

Let me know for any concerns.

--
Thanks,
Jagan.

Signature · 8 lines
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki