Skip to contentSkip to conversation

pinctrl: mediatek: mt8512: fix the wrong start address of ranges

PATCH New Chunfeng Yun 3 participants 3 messages Aug 7, 2020 – Sep 2, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges

The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.

---
 drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pinctrl/mediatek/pinctrl-mt8512.c +3 -3
index af43754..bf2a8dd9 100644
@@ -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[] = {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges

Quoted 4 lines · Chunfeng Yun

The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200820/840e4dcb/attachment.sig>
#2 lore raw

PATCH 1/1 pinctrl: mediatek: mt8512: fix the wrong start address of ranges

In reply to Chunfeng Yun
Quoted 21 lines · Chunfeng Yun

The start address of dout, pullen and pullsel ragnes are wrong, so fix up them.

---
 drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/pinctrl/mediatek/pinctrl-mt8512.c +1 -1
index af43754..bf2a8dd9 100644
@@ -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[] = {

drivers/pinctrl/mediatek/pinctrl-mt8512.c static const struct mtk_pin_field_calc mt8512_pin_di_range[] = { · line 45

Quoted 10 lines
drivers/pinctrl/mediatek/pinctrl-mt8512.c +2 -2
-	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[] = {