From: Michael Walle <michael@walle.cc>
To: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Miquel Raynal <miquel.raynal@bootlin.com>,
Richard Weinberger <richard@nod.at>,
Vignesh Raghavendra <vigneshr@ti.com>,
Tudor Ambarus <tudor.ambarus@microchip.com>,
Jungseung Lee <js07.lee@samsung.com>
Subject: Re: [PATCH v2 0/4] mtd: spi-nor: OTP support
Date: Mon, 14 Sep 2020 13:24:30 +0200 [thread overview]
Message-ID: <fd6562b7771c2dc18292b588ae75d17d@walle.cc> (raw)
In-Reply-To: <20200911222634.31804-1-michael@walle.cc>
Am 2020-09-12 00:26, schrieb Michael Walle:
> This patchset implements the MTD OTP functions to allow access to the
> SPI
> OTP data. Specific support is added for the Adesto, Macronix and
> Winbond
> flash chips.
>
> In the past there was already an attempt by Rahul Bedarkar to add this,
> but
> there was no response. These patches are slightly based on his work.
>
> https://lore.kernel.org/linux-mtd/1489754636-21461-1-git-send-email-rahul.bedarkar@imgtec.com/
>
I've missed appending the changelog:
changes since v1:
- rebased to latest tree
- correctly check return code of otp_ops->is_locked() in
spi_nor_mtd_otp_info()
- use correct bouncebuf for spi command in spi_nor_otp_lock_sr2()
- add cleanup patch to consolidate some of the "if (spimem) {} else {}"
patterns
- add otp support for macronix and similar flashes
- moved otp code into core.c because it is used across different
vendors
- use generic naming, eg. spi_nor_otp_lock_sr2() instead of
winbond_otp_lock()
-michael
> Michael Walle (4):
> mtd: spi-nor: cleanup common code
> mtd: spi-nor: add OTP support
> mtd: spi-nor: implement OTP support for Macronix and similar flashes
> mtd: spi-nor: implement OTP support for Winbond and similar flashes
>
> drivers/mtd/chips/Kconfig | 2 +-
> drivers/mtd/spi-nor/atmel.c | 13 +-
> drivers/mtd/spi-nor/core.c | 769 ++++++++++++++++++++++++---------
> drivers/mtd/spi-nor/core.h | 61 +++
> drivers/mtd/spi-nor/macronix.c | 13 +-
> drivers/mtd/spi-nor/winbond.c | 18 +-
> include/linux/mtd/spi-nor.h | 16 +
> 7 files changed, 676 insertions(+), 216 deletions(-)
prev parent reply other threads:[~2020-09-14 11:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 22:26 [PATCH v2 0/4] mtd: spi-nor: OTP support Michael Walle
2020-09-11 22:26 ` [PATCH v2 1/4] mtd: spi-nor: cleanup common code Michael Walle
2020-09-14 9:40 ` Pratyush Yadav
2020-09-14 11:09 ` Michael Walle
2020-09-14 14:50 ` Pratyush Yadav
2020-09-11 22:26 ` [PATCH v2 2/4] mtd: spi-nor: add OTP support Michael Walle
2020-10-01 5:34 ` Heiko Thiery
2020-09-11 22:26 ` [PATCH v2 3/4] mtd: spi-nor: implement OTP support for Macronix and similar flashes Michael Walle
2020-10-01 5:35 ` Heiko Thiery
2020-09-11 22:26 ` [PATCH v2 4/4] mtd: spi-nor: implement OTP support for Winbond " Michael Walle
2020-10-01 5:35 ` Heiko Thiery
2020-09-14 11:24 ` Michael Walle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd6562b7771c2dc18292b588ae75d17d@walle.cc \
--to=michael@walle.cc \
--cc=js07.lee@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=richard@nod.at \
--cc=tudor.ambarus@microchip.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).