]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: microchip sgpio: use reset driver
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 18 Oct 2021 08:57:54 +0000 (10:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 24 Oct 2021 21:03:26 +0000 (23:03 +0200)
commitd38ac22cbb199855091034db641da85b9818eb81
tree17518f98456a9f205ac7dfe9c9d524899c4fa915
parent185babcd8b27ed291398bae68d8eb0c6ac658d9d
pinctrl: microchip sgpio: use reset driver

On lan966x platform when the switch gets reseted then also the sgpio
gets reseted. The fix for this is to extend also the sgpio driver to
call the reset driver which will be reseted only once by the first
driver that is probed.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Steen Hegelund <steen.hegelund@microchip.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20211018085754.1066056-3-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-microchip-sgpio.c