linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Serge Semin <Sergey.Semin@baikalelectronics.ru>
To: Serge Semin <fancer.lancer@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Nandhini Srikandan <nandhini.srikandan@intel.com>
Cc: Serge Semin <Sergey.Semin@baikalelectronics.ru>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Andy Shevchenko <andy@kernel.org>, <linux-spi@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/4] spi: dw: Cleanup macros/funcs naming and add IP-core version support
Date: Fri, 12 Nov 2021 23:49:23 +0300	[thread overview]
Message-ID: <20211112204927.8830-1-Sergey.Semin@baikalelectronics.ru> (raw)

This patchset consists of the changes which I was going to introduce for a
long time, but due to lack of free time couldn't make it so far.
Nandhini's series [1] made me to proceed with this task so mate would
finally have his patchset accepted and merged into the mainline kernel.

There are three cleanup patches here and one feature patch. In framework
of the former patches we suggest to better organize the code. In
particular they concern the methods and macros naming unification (using a
unified prefixes of the code object names) and CSR fields macro
implementation using the bitfield helpers available in the kernel. The
later patch introduces the Synopsys Component Version register parsing
procedure so the corresponding data could be used for a version-specific
features implementation.  Nandhini will be mostly interested in the later
patch in the framework of his series [1].

Nandhini, could you please test the patchset out on your DWC SSI hardware?
After it's merged into the spi/for-next branch of the Mark' repository you
will be able to rebase your series on top of it and use the last patch
functionality for your benefit.

[1] https://lore.kernel.org/linux-spi/20211111065201.10249-4-nandhini.srikandan@intel.com/

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Serge Semin (4):
  spi: dw: Discard redundant DW SSI Frame Formats enumeration
  spi: dw: Put the driver entities naming in order
  spi: dw: Convert to using the Bitfield access macros
  spi: dw: Add Synopsys Component version reading and parsing

 drivers/spi/spi-dw-bt1.c  |   8 +-
 drivers/spi/spi-dw-core.c | 165 ++++++++++++++++++++++----------------
 drivers/spi/spi-dw-dma.c  |  50 ++++++------
 drivers/spi/spi-dw-mmio.c |  20 ++---
 drivers/spi/spi-dw-pci.c  |  59 +++++++-------
 drivers/spi/spi-dw.h      | 150 +++++++++++++++++-----------------
 6 files changed, 236 insertions(+), 216 deletions(-)

-- 
2.33.0


             reply	other threads:[~2021-11-12 20:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 20:49 Serge Semin [this message]
2021-11-12 20:49 ` [PATCH 1/4] spi: dw: Discard redundant DW SSI Frame Formats enumeration Serge Semin
2021-11-12 20:49 ` [PATCH 2/4] spi: dw: Put the driver entities naming in order Serge Semin
2021-11-12 21:22   ` Andy Shevchenko
2021-11-12 21:30     ` Serge Semin
2021-11-12 20:49 ` [PATCH 3/4] spi: dw: Convert to using the Bitfield access macros Serge Semin
2021-11-12 21:23   ` Andy Shevchenko
2021-11-12 21:43     ` Serge Semin
2021-11-12 20:49 ` [PATCH 4/4] spi: dw: Add Synopsys Component version reading and parsing Serge Semin
2021-11-12 21:27   ` Andy Shevchenko
2021-11-12 21:37     ` Andy Shevchenko
2021-11-12 22:05       ` Serge Semin
     [not found]         ` <CAHp75VdP6WL=cFn2eaDC8VH7C+fd11xKxp5_qrFuArubD4KgEQ@mail.gmail.com>
2021-11-13  0:19           ` Serge Semin
2021-11-13 13:15             ` Andy Shevchenko
2021-11-13 21:30               ` Serge Semin
2021-11-12 21:30 ` [PATCH 0/4] spi: dw: Cleanup macros/funcs naming and add IP-core version support Andy Shevchenko

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=20211112204927.8830-1-Sergey.Semin@baikalelectronics.ru \
    --to=sergey.semin@baikalelectronics.ru \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=andy@kernel.org \
    --cc=broonie@kernel.org \
    --cc=fancer.lancer@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=nandhini.srikandan@intel.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).