* [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
@ 2017-01-20 19:25 ` Kamal Dasu
0 siblings, 0 replies; 6+ messages in thread
From: Kamal Dasu @ 2017-01-20 19:25 UTC (permalink / raw)
To: linux-spi-u79uwXL29TY76Z2rM5mHXA,
f.fainelli-Re5JQEeQqe8AvxtiuMwx3w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
Cc: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w, Kamal Dasu
Add GigaDevice GD25Q16 (16M-bit) to supported list.
Signed-off-by: Kamal Dasu <kdasu.kdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/mtd/spi-nor/spi-nor.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index da7cd69..8530d51 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
/* GigaDevice */
{
+ "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
+ {
"gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
@ 2017-01-20 19:25 ` Kamal Dasu
0 siblings, 0 replies; 6+ messages in thread
From: Kamal Dasu @ 2017-01-20 19:25 UTC (permalink / raw)
To: linux-spi, f.fainelli, linux-mtd, computersforpeace
Cc: bcm-kernel-feedback-list, Kamal Dasu
Add GigaDevice GD25Q16 (16M-bit) to supported list.
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
---
drivers/mtd/spi-nor/spi-nor.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index da7cd69..8530d51 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
/* GigaDevice */
{
+ "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
+ {
"gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
2017-01-20 19:25 ` Kamal Dasu
@ 2017-01-21 11:36 ` Marek Vasut
-1 siblings, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2017-01-21 11:36 UTC (permalink / raw)
To: Kamal Dasu, linux-spi-u79uwXL29TY76Z2rM5mHXA,
f.fainelli-Re5JQEeQqe8AvxtiuMwx3w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
Cc: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w
On 01/20/2017 08:25 PM, Kamal Dasu wrote:
> Add GigaDevice GD25Q16 (16M-bit) to supported list.
>
> Signed-off-by: Kamal Dasu <kdasu.kdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Acked-by: Marek Vasut <marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index da7cd69..8530d51 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
>
> /* GigaDevice */
> {
> + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
> + },
> + {
> "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>
--
Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
@ 2017-01-21 11:36 ` Marek Vasut
0 siblings, 0 replies; 6+ messages in thread
From: Marek Vasut @ 2017-01-21 11:36 UTC (permalink / raw)
To: Kamal Dasu, linux-spi, f.fainelli, linux-mtd, computersforpeace
Cc: bcm-kernel-feedback-list
On 01/20/2017 08:25 PM, Kamal Dasu wrote:
> Add GigaDevice GD25Q16 (16M-bit) to supported list.
>
> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
> ---
> drivers/mtd/spi-nor/spi-nor.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index da7cd69..8530d51 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
>
> /* GigaDevice */
> {
> + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
> + },
> + {
> "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>
--
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
2017-01-21 11:36 ` Marek Vasut
@ 2017-01-23 10:29 ` Cyrille Pitchen
-1 siblings, 0 replies; 6+ messages in thread
From: Cyrille Pitchen @ 2017-01-23 10:29 UTC (permalink / raw)
To: Marek Vasut, Kamal Dasu, linux-spi-u79uwXL29TY76Z2rM5mHXA,
f.fainelli-Re5JQEeQqe8AvxtiuMwx3w,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
computersforpeace-Re5JQEeQqe8AvxtiuMwx3w
Cc: bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w
Le 21/01/2017 à 12:36, Marek Vasut a écrit :
> On 01/20/2017 08:25 PM, Kamal Dasu wrote:
>> Add GigaDevice GD25Q16 (16M-bit) to supported list.
>>
>> Signed-off-by: Kamal Dasu <kdasu.kdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> Acked-by: Marek Vasut <marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
Applied to git://github.com/spi-nor/linux.git
Please note that in the subject line, I've replaced "Added support ..." by
"Add support ...". Indeed, looking at submitting-patches.rst:
Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behaviour.
This is a very small detail so I thought there would be no need to send
another version for that.
Thanks!
>> ---
>> drivers/mtd/spi-nor/spi-nor.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
>> index da7cd69..8530d51 100644
>> --- a/drivers/mtd/spi-nor/spi-nor.c
>> +++ b/drivers/mtd/spi-nor/spi-nor.c
>> @@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
>>
>> /* GigaDevice */
>> {
>> + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
>> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>> + },
>> + {
>> "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
>> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>>
>
>
Applied to
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16
@ 2017-01-23 10:29 ` Cyrille Pitchen
0 siblings, 0 replies; 6+ messages in thread
From: Cyrille Pitchen @ 2017-01-23 10:29 UTC (permalink / raw)
To: Marek Vasut, Kamal Dasu, linux-spi, f.fainelli, linux-mtd,
computersforpeace
Cc: bcm-kernel-feedback-list
Le 21/01/2017 à 12:36, Marek Vasut a écrit :
> On 01/20/2017 08:25 PM, Kamal Dasu wrote:
>> Add GigaDevice GD25Q16 (16M-bit) to supported list.
>>
>> Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
>
> Acked-by: Marek Vasut <marek.vasut@gmail.com>
>
Applied to git://github.com/spi-nor/linux.git
Please note that in the subject line, I've replaced "Added support ..." by
"Add support ...". Indeed, looking at submitting-patches.rst:
Describe your changes in imperative mood, e.g. "make xyzzy do frotz"
instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy
to do frotz", as if you are giving orders to the codebase to change
its behaviour.
This is a very small detail so I thought there would be no need to send
another version for that.
Thanks!
>> ---
>> drivers/mtd/spi-nor/spi-nor.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
>> index da7cd69..8530d51 100644
>> --- a/drivers/mtd/spi-nor/spi-nor.c
>> +++ b/drivers/mtd/spi-nor/spi-nor.c
>> @@ -833,6 +833,11 @@ static int spi_nor_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len)
>>
>> /* GigaDevice */
>> {
>> + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
>> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>> + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>> + },
>> + {
>> "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
>> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
>> SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
>>
>
>
Applied to
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-23 10:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 19:25 [PATCH, 1/1] mtd: spi-nor: Added support for gd25q16 Kamal Dasu
2017-01-20 19:25 ` Kamal Dasu
[not found] ` <1484940351-8145-1-git-send-email-kdasu.kdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-21 11:36 ` Marek Vasut
2017-01-21 11:36 ` Marek Vasut
[not found] ` <8647a273-4ad8-264b-5dcd-a48662dae40d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-23 10:29 ` Cyrille Pitchen
2017-01-23 10:29 ` Cyrille Pitchen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.