mbox series

[v5,0/2] pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver

Message ID 20211015144259.219909-1-horatiu.vultur@microchip.com (mailing list archive)
Headers show
Series pinctrl: pinctrl-microchip-sgpio: Extend to call reset driver | expand

Message

Horatiu Vultur Oct. 15, 2021, 2:42 p.m. UTC
This allows the driver to call an optional reset driver.

v4->v5:
 - check the return value of devm_reset_control_get_optional_shared

v3->v4:
 - use devm_reset_control_get_optional_shared
 - remove the expected name of the reset line

v2->v3:
 - fix warnings reported by 'make dtbs_check'

v1->v2:
 - add dt-bindings changes

Horatiu Vultur (2):
  dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add reset binding
  pinctrl: microchip sgpio: use reset driver

 .../bindings/pinctrl/microchip,sparx5-sgpio.yaml           | 3 +++
 drivers/pinctrl/pinctrl-microchip-sgpio.c                  | 7 +++++++
 2 files changed, 10 insertions(+)