Thread (4 messages) 4 messages, 3 authors, 2023-08-21

Re: [PATCH 1/2] pinctrl: mediatek: fix pull_type data for MT7981

From: Sam Shih (史碩三) <hidden>
Date: 2023-08-21 14:19:23
Also in: linux-gpio, linux-mediatek, lkml

On Mon, 2023-08-21 at 12:40 +0200, Linus Walleij wrote:
 	 
External email : Please do not click links or open attachments until
you have verified the sender or the content.
 On Fri, Aug 18, 2023 at 5:02 AM Daniel Golle [off-list ref]
wrote:
quoted
MediaTek has released pull_type data for MT7981 in their SDK.
Use it and set functions to configure pin bias.

Fixes: 6c83b2d94fcc ("pinctrl: add mt7981 pinctrl driver")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This looks pretty urgent but I applied it for v6.6 (non-urgent)
for now so we get some testing in linux-next.
The MediaTek MT7981 SoC only has pin0 to pin56 which defined in
'mt7981_pins', This patch removes the non-existent pin57 to pin100 and
fixes the pull type for pins 40 through 56.

The driver can still work due to the pin numbers of MT7981 is defined
by ARRAY_SIZE(mt7981_pins), and the default hardware configuration for
pins 40 through 56 can work correctly without advanced adjustments,
However, without this patch, attempts to use pinconf to configure pins
40 through 56 result in a "-EINVAL" error.


Acked-by: Sam Shih <redacted>


Best Regards,
Sam
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help