Reset controller updates for v7.1

* Rework the reset core to support firmware nodes, add more fine
   grained locking, and use guard() helpers.
 * Change the reset-gpio driver to use firmware nodes.
 * Add support for the Cix Sky1 SoC reset controller.
 * Add support for the RZ/G3E SoC to the reset-rzv2h-usb2phy driver and
   convert it to regmap. Prepare registering a VBUS mux controller.
 * Replace use of the deprecated register_restart_handler() function in
   the ath79, intel-gw, lpc18xx, ma35d1, npcm, and sunplus reset drivers.
 * Combine two allocations into one in the sti/reset-syscfg driver.
 * Fix the reset-rzg2l-usbphy-ctrl MODULE_AUTHOR email.
 * Fix the reset_control_rearm() kerneldoc comment.
 
 The last commit is a merge of reset-fixes-for-v7.0-2 into reset/next,
 to solve a merge conflict between commits a9b95ce36d ("reset: gpio: add a
 devlink between reset-gpio and its consumer") and fbffb8c7c7 ("reset: gpio:
 fix double free in reset_add_gpio_aux_device() error path").
 -----BEGIN PGP SIGNATURE-----
 
 iI0EABYKADUWIQRRO6F6WdpH1R0vGibVhaclGDdiwAUCac6hKxcccC56YWJlbEBw
 ZW5ndXRyb25peC5kZQAKCRDVhaclGDdiwCLgAP0UQcotyKJcre8i8wSOcqm2A3Bt
 KXA21xnTcdXMuohMLwEA65JaQYMy5/NVrU8n5Qap8w7MlgGW07TcOGD3RArY0gk=
 =SUSd
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmnO3IcACgkQmmx57+YA
 GNkD8w//Q80QGO8FPb0YWyU5bHn4XI6COVbRAM6cZWd7xEJboHBPAItjzrH1vAIY
 EXho71wdW/1cl7wdcd/xi+BlDpGqHYqLLqiM5r5kKxGi5oQcJnHWxvwvjMuNPsfS
 /jY4hbKyj0E/uvYpf5NkECzOl1fovsuew+BkR/oSge+Jfn0mWtMLXpcnoIaN0x0S
 X+5QKE3SOa/3bTzwWFCcnLCRKzOYc5OKndphHaGXo21m4jZVsYPMKBZRRJtEpnYG
 FFq1wNYFZ7M0BSNr0gRGe0e4veiZsdUr0tqk3oAhDDDfyWWnNDVJ6BdskqoMWm3I
 xeHpVpNDIf6qhTcFHjEOCjv03XDqUD4nkwDAWFaDDpFLRM0qg/jWkHpVzdhSQynO
 5XExxY+7wggeX3xhC1MaaFY2rRuJI1fTEvDIg9N/TY04cQqPKNRj5gNZb/ndWxd0
 JWSR1tmgZGcrDa8UXZkbrSypHXVQDLcJC46dauApCNEQwi1SL0MngdRb89obqUwZ
 E/ASZK6q7Fr4OeMEr+i4Y5EbpcNMkPPlgeCPBQRpDvdZqX/mIn//pZX5CRiM7Pkn
 IGk1rLJDYkiWMyDtlIfZ00VFFDU4Fy4Duu21yKsDBm8pEjRQeYTaoMYFiQy73jZP
 ChY/TvtNX+M6bZcq14v105sIS3p53wyZs6QIUgAHV8TnuvP0b+s=
 =3l2y
 -----END PGP SIGNATURE-----

Merge tag 'reset-for-v7.1' of https://git.pengutronix.de/git/pza/linux into soc/drivers

Reset controller updates for v7.1

* Rework the reset core to support firmware nodes, add more fine
  grained locking, and use guard() helpers.
* Change the reset-gpio driver to use firmware nodes.
* Add support for the Cix Sky1 SoC reset controller.
* Add support for the RZ/G3E SoC to the reset-rzv2h-usb2phy driver and
  convert it to regmap. Prepare registering a VBUS mux controller.
* Replace use of the deprecated register_restart_handler() function in
  the ath79, intel-gw, lpc18xx, ma35d1, npcm, and sunplus reset drivers.
* Combine two allocations into one in the sti/reset-syscfg driver.
* Fix the reset-rzg2l-usbphy-ctrl MODULE_AUTHOR email.
* Fix the reset_control_rearm() kerneldoc comment.

The last commit is a merge of reset-fixes-for-v7.0-2 into reset/next,
to solve a merge conflict between commits a9b95ce36d ("reset: gpio: add a
devlink between reset-gpio and its consumer") and fbffb8c7c7 ("reset: gpio:
fix double free in reset_add_gpio_aux_device() error path").

* tag 'reset-for-v7.1' of https://git.pengutronix.de/git/pza/linux: (35 commits)
  reset: rzv2h-usb2phy: Add support for VBUS mux controller registration
  reset: rzv2h-usb2phy: Convert to regmap API
  dt-bindings: reset: renesas,rzv2h-usb2phy: Document RZ/G3E USB2PHY reset
  dt-bindings: reset: renesas,rzv2h-usb2phy: Add '#mux-state-cells' property
  reset: core: Drop unnecessary double quote
  reset: rzv2h-usb2phy: Keep PHY clock enabled for entire device lifetime
  reset: spacemit: k3: Decouple composite reset lines
  reset: gpio: fix double free in reset_add_gpio_aux_device() error path
  reset: rzg2l-usbphy-ctrl: Fix malformed MODULE_AUTHOR string
  reset: sti: kzalloc + kcalloc to kzalloc
  reset: don't overwrite fwnode_reset_n_cells
  reset: core: Fix indentation
  reset: add Sky1 soc reset support
  dt-bindings: soc: cix: document the syscon on Sky1 SoC
  reset: gpio: make the driver fwnode-agnostic
  reset: convert reset core to using firmware nodes
  reset: convert the core API to using firmware nodes
  reset: convert of_reset_control_get_count() to using firmware nodes
  reset: protect struct reset_control with its own mutex
  reset: protect struct reset_controller_dev with its own mutex
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2026-04-02 23:15:26 +02:00
commit fbf57f25f0
23 changed files with 1217 additions and 402 deletions