netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] can: mcp251xfd: move device init into runtime_pm
@ 2024-04-29 17:10 Marc Kleine-Budde
  2024-04-29 17:10 ` [PATCH 1/3] can: mcp251xfd: properly indent labels Marc Kleine-Budde
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2024-04-29 17:10 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Thomas Kopp, Vincent Mailhol,
	Gregor Herburger
  Cc: linux-can, netdev, kernel, Marc Kleine-Budde

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>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-29 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 17:10 [PATCH 0/3] can: mcp251xfd: move device init into runtime_pm Marc Kleine-Budde
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

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).