linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
	 Thomas Kopp <thomas.kopp@microchip.com>,
	 Vincent Mailhol <mailhol.vincent@wanadoo.fr>,
	 Gregor Herburger <gregor.herburger@ew.tq-group.com>
Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org,
	 kernel@pengutronix.de, Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [PATCH 0/3] can: mcp251xfd: move device init into runtime_pm
Date: Mon, 29 Apr 2024 19:10:56 +0200	[thread overview]
Message-ID: <20240429-mcp251xfd-runtime_pm-v1-0-c26a93a66544@pengutronix.de> (raw)

In order to support GPIO support, the soft reset and basic
configuration must be moved into runtime_pm.

This series first cleans up some code style and then moves the
starting and stopping of the timestamp worker to ensure that the chip
remains powered down. The last patch moves the soft reset and the
basic configuration to runtime_pm.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
Marc Kleine-Budde (3):
      can: mcp251xfd: properly indent labels
      can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop()
      can: mcp251xfd: move chip sleep mode into runtime pm

 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c     | 137 ++++++++++++---------
 drivers/net/can/spi/mcp251xfd/mcp251xfd-dump.c     |   2 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c   |   2 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c      |   2 +-
 .../net/can/spi/mcp251xfd/mcp251xfd-timestamp.c    |   7 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd-tx.c       |   2 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h          |   1 +
 7 files changed, 91 insertions(+), 62 deletions(-)
---
base-commit: d63394abc923093423c141d4049b72aa403fff07
change-id: 20240429-mcp251xfd-runtime_pm-91b393f8103f

Best regards,
-- 
Marc Kleine-Budde <mkl@pengutronix.de>



             reply	other threads:[~2024-04-29 17:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 17:10 Marc Kleine-Budde [this message]
2024-04-29 17:10 ` [PATCH 1/3] can: mcp251xfd: properly indent labels Marc Kleine-Budde
2024-04-29 17:10 ` [PATCH 2/3] can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop() Marc Kleine-Budde
2024-04-29 17:10 ` [PATCH 3/3] can: mcp251xfd: move chip sleep mode into runtime pm 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=20240429-mcp251xfd-runtime_pm-v1-0-c26a93a66544@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=gregor.herburger@ew.tq-group.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-can@vger.kernel.org \
    --cc=mailhol.vincent@wanadoo.fr \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=netdev@vger.kernel.org \
    --cc=thomas.kopp@microchip.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).