linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jimmy Assarsson <extja@kvaser.com>
To: linux-can@vger.kernel.org
Cc: Jimmy Assarsson <jimmyassarsson@gmail.com>,
	Jimmy Assarsson <extja@kvaser.com>
Subject: [PATCH v2 0/2] can: kvaser_pciefd: Add support for new Kvaser PCI Express devices
Date: Thu, 22 Jun 2023 17:11:51 +0200	[thread overview]
Message-ID: <20230622151153.294844-1-extja@kvaser.com> (raw)

This patch series adds support for a range of new Kvaser PCI Express
devices based on the SmartFusion2 SoC, to the kvaser_pciefd driver.

In the first patch, the hardware specific constants and functions are
moved into a driver_data struct.

In the second patch, we add the new devices and their hardware specific
constants and functions.


Jimmy Assarsson (2):
  can: kvaser_pciefd: Move hardware specific constants and functions
    into a driver_data struct
  can: kvaser_pciefd: Add support for new Kvaser pciefd devices

 drivers/net/can/Kconfig         |   5 +
 drivers/net/can/kvaser_pciefd.c | 307 ++++++++++++++++++++++++--------
 2 files changed, 235 insertions(+), 77 deletions(-)

-- 
Changes in v2:
 - Rebased on
   can: kvaser_pciefd: Fixes and improvements [1]
 - Dropped
   can: kvaser_pciefd: Wrap register read and writes with macros [2]
   since the driver became a lot cleaner when using FIELD_{GET,PREP} and GENMASK.
   Moved some parts of the patch into
   can: kvaser_pciefd: Move hardware specific constants and functions into a driver_data struct
   Removed macros reading/writing registers.

[1] https://lore.kernel.org/all/20230529134248.752036-1-extja@kvaser.com
[2] https://lore.kernel.org/linux-can/20230523094354.83792-17-extja@kvaser.com

2.40.0


             reply	other threads:[~2023-06-22 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22 15:11 Jimmy Assarsson [this message]
2023-06-22 15:11 ` [PATCH v2 1/2] can: kvaser_pciefd: Move hardware specific constants and functions into a driver_data struct Jimmy Assarsson
2023-06-22 15:11 ` [PATCH v2 2/2] can: kvaser_pciefd: Add support for new Kvaser pciefd devices Jimmy Assarsson
2023-07-17 15:09 ` [PATCH v2 0/2] can: kvaser_pciefd: Add support for new Kvaser PCI Express devices Marc Kleine-Budde

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=20230622151153.294844-1-extja@kvaser.com \
    --to=extja@kvaser.com \
    --cc=jimmyassarsson@gmail.com \
    --cc=linux-can@vger.kernel.org \
    /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).