pinctrl: mediatek: Fix the drive register definition of some Pins
authorGuodong Liu <Guodong.Liu@mediatek.com>
Wed, 18 Jan 2023 06:21:16 +0000 (14:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:18:01 +0000 (19:18 +0100)
commit99450163bcf68c09eaadcd974bb3793f975ff891
tree217e2e6474667e2ce31b500cdaf7d1d6dff49d61
parent9f0d2c268488edaab80971db5c6321f088890678
pinctrl: mediatek: Fix the drive register definition of some Pins

[ Upstream commit 5754a1c98b18009cb3030dc391aa37b77428a0bd ]

The drive adjustment register definition of gpio13 and gpio81 is wrong:
"the start address for the range" of gpio18 is corrected to 0x000,
"the start bit for the first register within the range" of gpio81 is
corrected to 24.

Fixes: 6cf5e9ef362a ("pinctrl: add pinctrl driver on mt8195")
Signed-off-by: Guodong Liu <Guodong.Liu@mediatek.com>
Link: https://lore.kernel.org/r/20230118062116.26315-1-Guodong.Liu@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mediatek/pinctrl-mt8195.c