public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip
@ 2021-12-14 10:16 Shaik Sajida Bhanu
  2021-12-14 11:16 ` Tudor.Ambarus
  0 siblings, 1 reply; 5+ messages in thread
From: Shaik Sajida Bhanu @ 2021-12-14 10:16 UTC (permalink / raw)
  To: dianders, tudor.ambarus, michael, p.yadav, miquel.raynal, richard,
	vigneshr, linux-mtd, linux-kernel
  Cc: stummala, vbadigan, quic_rampraka, quic_pragalla, sartgarg,
	Shaik Sajida Bhanu

Add support for winbond W25Q512NW-IM chip.

Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
---
Changes since V1:
	Added space before name of the flash part as suggested by Doug.

Changes since V2:
	Updated chip name as w25q512nwm as suggested by Doug.
---
 drivers/mtd/spi-nor/winbond.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index 96573f6..42d5800 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -100,6 +100,9 @@ static const struct flash_info winbond_parts[] = {
 			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
 			    SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
+	{ "w25q512nwm", INFO(0xef8020, 0, 64 * 1024, 1024,
+			   SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+			   SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },
 	{ "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024,
 			     SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 };
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip
  2021-12-14 10:16 [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip Shaik Sajida Bhanu
@ 2021-12-14 11:16 ` Tudor.Ambarus
  2022-01-19  5:34   ` Sajida Bhanu (Temp)
  0 siblings, 1 reply; 5+ messages in thread
From: Tudor.Ambarus @ 2021-12-14 11:16 UTC (permalink / raw)
  To: quic_c_sbhanu, dianders, michael, p.yadav, miquel.raynal, richard,
	vigneshr, linux-mtd, linux-kernel
  Cc: stummala, vbadigan, quic_rampraka, quic_pragalla, sartgarg

On 12/14/21 12:16 PM, Shaik Sajida Bhanu wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add support for winbond W25Q512NW-IM chip.
> 
> Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
> Reviewed-by: Doug Anderson <dianders@chromium.org>
> ---
> Changes since V1:
>         Added space before name of the flash part as suggested by Doug.
> 
> Changes since V2:
>         Updated chip name as w25q512nwm as suggested by Doug.
> ---
>  drivers/mtd/spi-nor/winbond.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
> index 96573f6..42d5800 100644
> --- a/drivers/mtd/spi-nor/winbond.c
> +++ b/drivers/mtd/spi-nor/winbond.c
> @@ -100,6 +100,9 @@ static const struct flash_info winbond_parts[] = {
>                              SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>         { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
>                             SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },

This does not apply on current spi-nor/next. We've changed how the
flash_info flags are handled. We also require to dump the SPI NOR
sysfs entries under the comment section ---. I'll update the
documentation to add some guidelines on how new flash additions or
flash updates should be proposed. Sometime this week, or maybe
next.

Cheers,
ta
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip
  2021-12-14 11:16 ` Tudor.Ambarus
@ 2022-01-19  5:34   ` Sajida Bhanu (Temp)
  2022-01-19 15:51     ` Michael Walle
  0 siblings, 1 reply; 5+ messages in thread
From: Sajida Bhanu (Temp) @ 2022-01-19  5:34 UTC (permalink / raw)
  To: Tudor.Ambarus@microchip.com, Sajida Bhanu (Temp) (QUIC),
	dianders@chromium.org, michael@walle.cc, p.yadav@ti.com,
	miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
  Cc: stummala@codeaurora.org, vbadigan@codeaurora.org,
	Ram Prakash Gupta (QUIC), Pradeep Pragallapati (QUIC),
	sartgarg@codeaurora.org

Hi,

Gentle Reminder.

Thanks,
Sajida
-----Original Message-----
From: Tudor.Ambarus@microchip.com <Tudor.Ambarus@microchip.com> 
Sent: Tuesday, December 14, 2021 4:46 PM
To: Sajida Bhanu (Temp) (QUIC) <quic_c_sbhanu@quicinc.com>; dianders@chromium.org; michael@walle.cc; p.yadav@ti.com; miquel.raynal@bootlin.com; richard@nod.at; vigneshr@ti.com; linux-mtd@lists.infradead.org; linux-kernel@vger.kernel.org
Cc: stummala@codeaurora.org; vbadigan@codeaurora.org; Ram Prakash Gupta (QUIC) <quic_rampraka@quicinc.com>; Pradeep Pragallapati (QUIC) <quic_pragalla@quicinc.com>; sartgarg@codeaurora.org
Subject: Re: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

On 12/14/21 12:16 PM, Shaik Sajida Bhanu wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know 
> the content is safe
>
> Add support for winbond W25Q512NW-IM chip.
>
> Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com>
> Reviewed-by: Doug Anderson <dianders@chromium.org>
> ---
> Changes since V1:
>         Added space before name of the flash part as suggested by Doug.
>
> Changes since V2:
>         Updated chip name as w25q512nwm as suggested by Doug.
> ---
>  drivers/mtd/spi-nor/winbond.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/winbond.c 
> b/drivers/mtd/spi-nor/winbond.c index 96573f6..42d5800 100644
> --- a/drivers/mtd/spi-nor/winbond.c
> +++ b/drivers/mtd/spi-nor/winbond.c
> @@ -100,6 +100,9 @@ static const struct flash_info winbond_parts[] = {
>                              SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>         { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
>                             SECT_4K | SPI_NOR_QUAD_READ | 
> SPI_NOR_DUAL_READ) },

This does not apply on current spi-nor/next. We've changed how the flash_info flags are handled. We also require to dump the SPI NOR sysfs entries under the comment section ---. I'll update the documentation to add some guidelines on how new flash additions or flash updates should be proposed. Sometime this week, or maybe next.

Cheers,
ta
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip
  2022-01-19  5:34   ` Sajida Bhanu (Temp)
@ 2022-01-19 15:51     ` Michael Walle
  2022-01-20  6:45       ` Sajida Bhanu (Temp) (QUIC)
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Walle @ 2022-01-19 15:51 UTC (permalink / raw)
  To: Sajida Bhanu (Temp)
  Cc: Tudor.Ambarus, Sajida Bhanu (Temp) (QUIC), dianders, p.yadav,
	miquel.raynal, richard, vigneshr, linux-mtd, linux-kernel,
	stummala, vbadigan, Ram Prakash Gupta (QUIC),
	Pradeep Pragallapati (QUIC), sartgarg

Hi,

Am 2022-01-19 06:34, schrieb Sajida Bhanu (Temp):
> Gentle Reminder.

As Tudor mentioned, you'd need to rebase your patch to the
latest next.

Thanks,
-michael

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip
  2022-01-19 15:51     ` Michael Walle
@ 2022-01-20  6:45       ` Sajida Bhanu (Temp) (QUIC)
  0 siblings, 0 replies; 5+ messages in thread
From: Sajida Bhanu (Temp) (QUIC) @ 2022-01-20  6:45 UTC (permalink / raw)
  To: Michael Walle
  Cc: Tudor.Ambarus@microchip.com, Sajida Bhanu (Temp) (QUIC),
	dianders@chromium.org, p.yadav@ti.com, miquel.raynal@bootlin.com,
	richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org,
	linux-kernel@vger.kernel.org, stummala@codeaurora.org,
	vbadigan@codeaurora.org, Ram Prakash Gupta (QUIC),
	Pradeep Pragallapati (QUIC), sartgarg@codeaurora.org

Sure thanks , will rebase on latest and post next  patch series.

Thanks,
Sajida
-----Original Message-----
From: Michael Walle <michael@walle.cc> 
Sent: Wednesday, January 19, 2022 9:22 PM
To: Sajida Bhanu (Temp) <c_sbhanu@qti.qualcomm.com>
Cc: Tudor.Ambarus@microchip.com; Sajida Bhanu (Temp) (QUIC) <quic_c_sbhanu@quicinc.com>; dianders@chromium.org; p.yadav@ti.com; miquel.raynal@bootlin.com; richard@nod.at; vigneshr@ti.com; linux-mtd@lists.infradead.org; linux-kernel@vger.kernel.org; stummala@codeaurora.org; vbadigan@codeaurora.org; Ram Prakash Gupta (QUIC) <quic_rampraka@quicinc.com>; Pradeep Pragallapati (QUIC) <quic_pragalla@quicinc.com>; sartgarg@codeaurora.org
Subject: Re: [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip

Hi,

Am 2022-01-19 06:34, schrieb Sajida Bhanu (Temp):
> Gentle Reminder.

As Tudor mentioned, you'd need to rebase your patch to the latest next.

Thanks,
-michael

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-20  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-14 10:16 [PATCH V3] mtd: spi-nor: winbond: Add support for winbond chip Shaik Sajida Bhanu
2021-12-14 11:16 ` Tudor.Ambarus
2022-01-19  5:34   ` Sajida Bhanu (Temp)
2022-01-19 15:51     ` Michael Walle
2022-01-20  6:45       ` Sajida Bhanu (Temp) (QUIC)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox