diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-08-29 03:46:30 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-29 03:46:30 -0400 |
commit | 6ad30ce046aefbdc3848232c665a728860d7bb68 (patch) | |
tree | 34af8fc78b28281fcfe531a26401b440c078038e /drivers/pinctrl/sirf | |
parent | 0351c287952483dafa904f84496631198465fbf4 (diff) | |
parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) |
Merge tag 'v3.11-rc7' into devel
Merged in this to avoid conflicts with the big locking fixes
from upstream.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Conflicts:
drivers/pinctrl/pinctrl-sunxi.c
Diffstat (limited to 'drivers/pinctrl/sirf')
-rw-r--r-- | drivers/pinctrl/sirf/pinctrl-atlas6.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-atlas6.c b/drivers/pinctrl/sirf/pinctrl-atlas6.c index 73725f86af49..edf45a6940ca 100644 --- a/drivers/pinctrl/sirf/pinctrl-atlas6.c +++ b/drivers/pinctrl/sirf/pinctrl-atlas6.c | |||
@@ -496,7 +496,7 @@ static const unsigned sdmmc5_pins[] = { 24, 25, 26 }; | |||
496 | static const struct sirfsoc_muxmask usp0_muxmask[] = { | 496 | static const struct sirfsoc_muxmask usp0_muxmask[] = { |
497 | { | 497 | { |
498 | .group = 1, | 498 | .group = 1, |
499 | .mask = BIT(19) | BIT(20) | BIT(21) | BIT(22), | 499 | .mask = BIT(19) | BIT(20) | BIT(21) | BIT(22) | BIT(23), |
500 | }, | 500 | }, |
501 | }; | 501 | }; |
502 | 502 | ||
@@ -507,8 +507,21 @@ static const struct sirfsoc_padmux usp0_padmux = { | |||
507 | .funcval = 0, | 507 | .funcval = 0, |
508 | }; | 508 | }; |
509 | 509 | ||
510 | static const unsigned usp0_pins[] = { 51, 52, 53, 54 }; | 510 | static const unsigned usp0_pins[] = { 51, 52, 53, 54, 55 }; |
511 | 511 | ||
512 | static const struct sirfsoc_muxmask usp0_uart_nostreamctrl_muxmask[] = { | ||
513 | { | ||
514 | .group = 1, | ||
515 | .mask = BIT(20) | BIT(21), | ||
516 | }, | ||
517 | }; | ||
518 | |||
519 | static const struct sirfsoc_padmux usp0_uart_nostreamctrl_padmux = { | ||
520 | .muxmask_counts = ARRAY_SIZE(usp0_uart_nostreamctrl_muxmask), | ||
521 | .muxmask = usp0_uart_nostreamctrl_muxmask, | ||
522 | }; | ||
523 | |||
524 | static const unsigned usp0_uart_nostreamctrl_pins[] = { 52, 53 }; | ||
512 | static const struct sirfsoc_muxmask usp1_muxmask[] = { | 525 | static const struct sirfsoc_muxmask usp1_muxmask[] = { |
513 | { | 526 | { |
514 | .group = 0, | 527 | .group = 0, |
@@ -823,6 +836,8 @@ static const struct sirfsoc_pin_group sirfsoc_pin_groups[] = { | |||
823 | SIRFSOC_PIN_GROUP("uart2grp", uart2_pins), | 836 | SIRFSOC_PIN_GROUP("uart2grp", uart2_pins), |
824 | SIRFSOC_PIN_GROUP("uart2_nostreamctrlgrp", uart2_nostreamctrl_pins), | 837 | SIRFSOC_PIN_GROUP("uart2_nostreamctrlgrp", uart2_nostreamctrl_pins), |
825 | SIRFSOC_PIN_GROUP("usp0grp", usp0_pins), | 838 | SIRFSOC_PIN_GROUP("usp0grp", usp0_pins), |
839 | SIRFSOC_PIN_GROUP("usp0_uart_nostreamctrl_grp", | ||
840 | usp0_uart_nostreamctrl_pins), | ||
826 | SIRFSOC_PIN_GROUP("usp1grp", usp1_pins), | 841 | SIRFSOC_PIN_GROUP("usp1grp", usp1_pins), |
827 | SIRFSOC_PIN_GROUP("i2c0grp", i2c0_pins), | 842 | SIRFSOC_PIN_GROUP("i2c0grp", i2c0_pins), |
828 | SIRFSOC_PIN_GROUP("i2c1grp", i2c1_pins), | 843 | SIRFSOC_PIN_GROUP("i2c1grp", i2c1_pins), |
@@ -864,6 +879,8 @@ static const char * const uart0_nostreamctrlgrp[] = { "uart0_nostreamctrlgrp" }; | |||
864 | static const char * const uart1grp[] = { "uart1grp" }; | 879 | static const char * const uart1grp[] = { "uart1grp" }; |
865 | static const char * const uart2grp[] = { "uart2grp" }; | 880 | static const char * const uart2grp[] = { "uart2grp" }; |
866 | static const char * const uart2_nostreamctrlgrp[] = { "uart2_nostreamctrlgrp" }; | 881 | static const char * const uart2_nostreamctrlgrp[] = { "uart2_nostreamctrlgrp" }; |
882 | static const char * const usp0_uart_nostreamctrl_grp[] = { | ||
883 | "usp0_uart_nostreamctrl_grp" }; | ||
867 | static const char * const usp0grp[] = { "usp0grp" }; | 884 | static const char * const usp0grp[] = { "usp0grp" }; |
868 | static const char * const usp1grp[] = { "usp1grp" }; | 885 | static const char * const usp1grp[] = { "usp1grp" }; |
869 | static const char * const i2c0grp[] = { "i2c0grp" }; | 886 | static const char * const i2c0grp[] = { "i2c0grp" }; |
@@ -908,6 +925,9 @@ static const struct sirfsoc_pmx_func sirfsoc_pmx_functions[] = { | |||
908 | SIRFSOC_PMX_FUNCTION("uart2", uart2grp, uart2_padmux), | 925 | SIRFSOC_PMX_FUNCTION("uart2", uart2grp, uart2_padmux), |
909 | SIRFSOC_PMX_FUNCTION("uart2_nostreamctrl", uart2_nostreamctrlgrp, uart2_nostreamctrl_padmux), | 926 | SIRFSOC_PMX_FUNCTION("uart2_nostreamctrl", uart2_nostreamctrlgrp, uart2_nostreamctrl_padmux), |
910 | SIRFSOC_PMX_FUNCTION("usp0", usp0grp, usp0_padmux), | 927 | SIRFSOC_PMX_FUNCTION("usp0", usp0grp, usp0_padmux), |
928 | SIRFSOC_PMX_FUNCTION("usp0_uart_nostreamctrl", | ||
929 | usp0_uart_nostreamctrl_grp, | ||
930 | usp0_uart_nostreamctrl_padmux), | ||
911 | SIRFSOC_PMX_FUNCTION("usp1", usp1grp, usp1_padmux), | 931 | SIRFSOC_PMX_FUNCTION("usp1", usp1grp, usp1_padmux), |
912 | SIRFSOC_PMX_FUNCTION("i2c0", i2c0grp, i2c0_padmux), | 932 | SIRFSOC_PMX_FUNCTION("i2c0", i2c0grp, i2c0_padmux), |
913 | SIRFSOC_PMX_FUNCTION("i2c1", i2c1grp, i2c1_padmux), | 933 | SIRFSOC_PMX_FUNCTION("i2c1", i2c1grp, i2c1_padmux), |