pinctrl: mediatek: mt8512: fix the wrong start address of ranges
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 7 Aug 2020 09:32:03 +0000 (17:32 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 19 Aug 2020 21:37:37 +0000 (17:37 -0400)
The start address of dout, pullen and pullsel ragnes are wrong,
so fix up them.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
drivers/pinctrl/mediatek/pinctrl-mt8512.c

index af43754a4d3784e3b7947603220a150d9cdaca77..bf2a8dd90f06601937f0a908db2daaa77838fc45 100644 (file)
@@ -31,15 +31,15 @@ static const struct mtk_pin_field_calc mt8512_pin_di_range[] = {
 };
 
 static const struct mtk_pin_field_calc mt8512_pin_do_range[] = {
-       PIN_FIELD(0, 115, 0x860, 0x10, 0, 1),
+       PIN_FIELD(0, 115, 0x0A0, 0x10, 0, 1),
 };
 
 static const struct mtk_pin_field_calc mt8512_pin_pullen_range[] = {
-       PIN_FIELD(0, 115, 0x900, 0x10, 0, 1),
+       PIN_FIELD(0, 115, 0x860, 0x10, 0, 1),
 };
 
 static const struct mtk_pin_field_calc mt8512_pin_pullsel_range[] = {
-       PIN_FIELD(0, 115, 0x0A0, 0x10, 0, 1),
+       PIN_FIELD(0, 115, 0x900, 0x10, 0, 1),
 };
 
 static const struct mtk_pin_field_calc mt8512_pin_ies_range[] = {