pinctrl: ocelot: Fix for lan966x alt mode
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 13 Apr 2022 19:29:18 +0000 (21:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 May 2022 07:59:05 +0000 (09:59 +0200)
commitdf0dda786d1058eea5e7dc01a89c746a89ef94d3
tree88efc7fa1e7f42aa143eac1a3a56fe43465f0974
parentf81af67a03b964d04358cac763ee9baf3991c779
pinctrl: ocelot: Fix for lan966x alt mode

[ Upstream commit d3683eeb9d2b4aa5256f830721655ef2ee97e324 ]

For lan966x, the GPIO 35 has the wrong function for alternate mode 2.
The mode is not none but is PTP sync.

Fixes: 531d6ab36571c2 ("pinctrl: ocelot: Extend support for lan966x")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
Link: https://lore.kernel.org/r/20220413192918.3777234-1-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-ocelot.c