projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45b85fc
)
pinctrl: ocelot: fix gpio4 twi function
author
Alexandre Belloni
<
[email protected]
>
Wed, 11 Jul 2018 13:01:26 +0000
(15:01 +0200)
committer
Linus Walleij
<
[email protected]
>
Mon, 16 Jul 2018 12:46:11 +0000
(14:46 +0200)
the TWI function on GPIO4 is actually a multiplexed SCL, not an original
TWI SDA or SCL. Fix it.
Signed-off-by: Alexandre Belloni <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
drivers/pinctrl/pinctrl-ocelot.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-ocelot.c
b/drivers/pinctrl/pinctrl-ocelot.c
index 15bb1cb8729b936eb73f519286f7d5a88f0e0a3f..e93669f4d1c8076b2b3ee74257a2c16fba8c1de8 100644
(file)
--- a/
drivers/pinctrl/pinctrl-ocelot.c
+++ b/
drivers/pinctrl/pinctrl-ocelot.c
@@
-132,7
+132,7
@@
OCELOT_P(0, SG0, NONE, NONE);
OCELOT_P(1, SG0, NONE, NONE);
OCELOT_P(2, SG0, NONE, NONE);
OCELOT_P(3, SG0, NONE, NONE);
-OCELOT_P(4, IRQ0_IN, IRQ0_OUT, TWI);
+OCELOT_P(4, IRQ0_IN, IRQ0_OUT, TWI
_SCL_M
);
OCELOT_P(5, IRQ1_IN, IRQ1_OUT, PCI_WAKE);
OCELOT_P(6, UART, TWI_SCL_M, NONE);
OCELOT_P(7, UART, TWI_SCL_M, NONE);