diff options
author | Patrice Chotard <patrice.chotard@stericsson.com> | 2012-11-14 05:26:27 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-15 05:21:47 -0500 |
commit | 896a95ba13879ad6a595822893a8993254757c0a (patch) | |
tree | 529f9d04f80e1acbb6cfe1613c53541218f3f646 /drivers/pinctrl/pinctrl-nomadik-db8540.c | |
parent | edbdfa8df038a2ac83a919041327a900e2e12a25 (diff) |
pinctrl/nomadik: db8540: split clkout group
The clkout group is split into groups clkout1 and clkout2
which allows pins cklkout1 and clkout2 to be muxed
separately.
Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik-db8540.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-nomadik-db8540.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik-db8540.c b/drivers/pinctrl/pinctrl-nomadik-db8540.c index bce0583738ef..bb6a4016322a 100644 --- a/drivers/pinctrl/pinctrl-nomadik-db8540.c +++ b/drivers/pinctrl/pinctrl-nomadik-db8540.c | |||
@@ -460,8 +460,10 @@ static const unsigned hsit_a_1_pins[] = { DB8540_PIN_B11, DB8540_PIN_B10, | |||
460 | DB8540_PIN_E10, DB8540_PIN_B12, DB8540_PIN_D10 }; | 460 | DB8540_PIN_E10, DB8540_PIN_B12, DB8540_PIN_D10 }; |
461 | static const unsigned hsit_a_2_pins[] = { DB8540_PIN_B11, DB8540_PIN_B10, | 461 | static const unsigned hsit_a_2_pins[] = { DB8540_PIN_B11, DB8540_PIN_B10, |
462 | DB8540_PIN_E10, DB8540_PIN_B12 }; | 462 | DB8540_PIN_E10, DB8540_PIN_B12 }; |
463 | static const unsigned clkout_a_1_pins[] = { DB8540_PIN_D11, DB8540_PIN_AJ6 }; | 463 | static const unsigned clkout1_a_1_pins[] = { DB8540_PIN_D11 }; |
464 | static const unsigned clkout_a_2_pins[] = { DB8540_PIN_B13, DB8540_PIN_C12 }; | 464 | static const unsigned clkout1_a_2_pins[] = { DB8540_PIN_B13 }; |
465 | static const unsigned clkout2_a_1_pins[] = { DB8540_PIN_AJ6 }; | ||
466 | static const unsigned clkout2_a_2_pins[] = { DB8540_PIN_C12 }; | ||
465 | static const unsigned msp4_a_1_pins[] = { DB8540_PIN_B14, DB8540_PIN_E11 }; | 467 | static const unsigned msp4_a_1_pins[] = { DB8540_PIN_B14, DB8540_PIN_E11 }; |
466 | static const unsigned usb_a_1_pins[] = { DB8540_PIN_D12, DB8540_PIN_D15, | 468 | static const unsigned usb_a_1_pins[] = { DB8540_PIN_D12, DB8540_PIN_D15, |
467 | DB8540_PIN_C13, DB8540_PIN_C14, DB8540_PIN_C18, DB8540_PIN_C16, | 469 | DB8540_PIN_C13, DB8540_PIN_C14, DB8540_PIN_C18, DB8540_PIN_C16, |
@@ -698,8 +700,10 @@ static const struct nmk_pingroup nmk_db8540_groups[] = { | |||
698 | DB8540_PIN_GROUP(hsir_a_1, NMK_GPIO_ALT_A), | 700 | DB8540_PIN_GROUP(hsir_a_1, NMK_GPIO_ALT_A), |
699 | DB8540_PIN_GROUP(hsit_a_1, NMK_GPIO_ALT_A), | 701 | DB8540_PIN_GROUP(hsit_a_1, NMK_GPIO_ALT_A), |
700 | DB8540_PIN_GROUP(hsit_a_2, NMK_GPIO_ALT_A), | 702 | DB8540_PIN_GROUP(hsit_a_2, NMK_GPIO_ALT_A), |
701 | DB8540_PIN_GROUP(clkout_a_1, NMK_GPIO_ALT_A), | 703 | DB8540_PIN_GROUP(clkout1_a_1, NMK_GPIO_ALT_A), |
702 | DB8540_PIN_GROUP(clkout_a_2, NMK_GPIO_ALT_A), | 704 | DB8540_PIN_GROUP(clkout1_a_2, NMK_GPIO_ALT_A), |
705 | DB8540_PIN_GROUP(clkout2_a_1, NMK_GPIO_ALT_A), | ||
706 | DB8540_PIN_GROUP(clkout2_a_2, NMK_GPIO_ALT_A), | ||
703 | DB8540_PIN_GROUP(msp4_a_1, NMK_GPIO_ALT_A), | 707 | DB8540_PIN_GROUP(msp4_a_1, NMK_GPIO_ALT_A), |
704 | DB8540_PIN_GROUP(usb_a_1, NMK_GPIO_ALT_A), | 708 | DB8540_PIN_GROUP(usb_a_1, NMK_GPIO_ALT_A), |
705 | /* Altfunction B column */ | 709 | /* Altfunction B column */ |
@@ -831,7 +835,8 @@ static const struct nmk_pingroup nmk_db8540_groups[] = { | |||
831 | static const char * const a##_groups[] = { b }; | 835 | static const char * const a##_groups[] = { b }; |
832 | 836 | ||
833 | DB8540_FUNC_GROUPS(apetrig, "apetrig_b_1"); | 837 | DB8540_FUNC_GROUPS(apetrig, "apetrig_b_1"); |
834 | DB8540_FUNC_GROUPS(clkout, "clkoutreq_a_1", "clkout_a_1", "clkout_a_2"); | 838 | DB8540_FUNC_GROUPS(clkout, "clkoutreq_a_1", "clkout1_a_1", "clkout1_a_2", |
839 | "clkout2_a_1", "clkout2_a_2"); | ||
835 | DB8540_FUNC_GROUPS(ddrtrig, "ddrtrig_b_1"); | 840 | DB8540_FUNC_GROUPS(ddrtrig, "ddrtrig_b_1"); |
836 | DB8540_FUNC_GROUPS(hsi, "hsir_a_1", "hsit_a_1", "hsit_a_2"); | 841 | DB8540_FUNC_GROUPS(hsi, "hsir_a_1", "hsit_a_1", "hsit_a_2"); |
837 | DB8540_FUNC_GROUPS(hwobs, "hwobs_oc4_1"); | 842 | DB8540_FUNC_GROUPS(hwobs, "hwobs_oc4_1"); |