mbox series

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

Message ID 20211018085754.1066056-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. 18, 2021, 8:57 a.m. UTC
This allows the driver to call an optional reset driver.

v5->v6:
 - fix warnings reported by 'make dtbs_check'
 - add back the name of the reset line

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           | 7 +++++++
 drivers/pinctrl/pinctrl-microchip-sgpio.c                  | 7 +++++++
 2 files changed, 14 insertions(+)

Comments

Linus Walleij Oct. 24, 2021, 9:03 p.m. UTC | #1
On Mon, Oct 18, 2021 at 10:56 AM Horatiu Vultur
<horatiu.vultur@microchip.com> wrote:

> v5->v6:
>  - fix warnings reported by 'make dtbs_check'
>  - add back the name of the reset line

Patch set v6 applied, thanks for working this out!

Yours,
Linus Walleij