linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] regulator: pca9450: register restart handlers
@ 2023-07-27 15:26 Benjamin Bara
  2023-07-27 15:26 ` [PATCH 1/6] kernel/reboot: distinguish between cold and warm Benjamin Bara
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Benjamin Bara @ 2023-07-27 15:26 UTC (permalink / raw)
  To: Lee Jones, Thierry Reding, Jonathan Hunter, Tony Lindgren,
	Liam Girdwood, Mark Brown, Dmitry Osipenko, Robin Gong,
	Jerome Neanne
  Cc: linux-kernel, linux-tegra, linux-omap, Benjamin Bara

Hi!

This series implements two restart handler registrations for the pca9450
(6/6). As the pca9450 supports both, cold and warm resets, and there
exist at least one other PMIC implementation which also implements a
warm and a cold reset (tps65219), 1-5/6 should simplify/clarify the
distinction process between warm/soft and cold/hard resets/restarts.
Instead of deciding in the handler, this should be done during
registration. The series is a follow-up to Dmitry's feedback, regarding
checking the reboot_mode in the handler [1].

This series is based on linux-next and 6/6 depends on [2].

Thanks & best regards,
Benjamin

[1] https://lore.kernel.org/all/7eddaf8c-ab04-7670-fc45-15f0fce5eff2@collabora.com/
[2] https://lore.kernel.org/all/20230327-tegra-pmic-reboot-v7-3-18699d5dcd76@skidata.com/

---
Benjamin Bara (6):
      kernel/reboot: distinguish between cold and warm
      mfd: rk8xx: Specify restart mode
      soc/tegra: pmc: Specify restart mode
      mfd: tps65219: Specify restart mode
      kernel/reboot: remove generic restart mode
      regulator: pca9450: register restart handlers

 drivers/mfd/rk8xx-core.c              |  3 +-
 drivers/mfd/tps65219.c                | 17 ++++++--
 drivers/regulator/pca9450-regulator.c | 59 +++++++++++++++++++++++++
 drivers/soc/tegra/pmc.c               |  2 +-
 include/linux/reboot.h                | 23 +++++++---
 include/linux/regulator/pca9450.h     |  7 +++
 kernel/reboot.c                       | 82 +++++++++++++++++++++++++++++------
 7 files changed, 167 insertions(+), 26 deletions(-)
---
base-commit: 4d2c646ac07cf4a35ef1c4a935a1a4fd6c6b1a36
change-id: 20230724-pca9450-reboot-0b32218fc7a2

Best regards,
-- 
Benjamin Bara <benjamin.bara@skidata.com>


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

end of thread, other threads:[~2023-07-28  9:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 15:26 [PATCH 0/6] regulator: pca9450: register restart handlers Benjamin Bara
2023-07-27 15:26 ` [PATCH 1/6] kernel/reboot: distinguish between cold and warm Benjamin Bara
2023-07-27 15:26 ` [PATCH 2/6] mfd: rk8xx: Specify restart mode Benjamin Bara
2023-07-28  9:59   ` Lee Jones
2023-07-27 15:26 ` [PATCH 3/6] soc/tegra: pmc: " Benjamin Bara
2023-07-27 16:53   ` Thierry Reding
2023-07-27 15:26 ` [PATCH 4/6] mfd: tps65219: " Benjamin Bara
2023-07-27 15:26 ` [PATCH 5/6] kernel/reboot: remove generic " Benjamin Bara
2023-07-27 15:26 ` [PATCH 6/6] regulator: pca9450: register restart handlers Benjamin Bara
2023-07-27 15:30   ` Mark Brown

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