diff options
| author | Andy Gross <agross@codeaurora.org> | 2014-05-12 18:16:08 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-29 04:42:59 -0400 |
| commit | 697787a16cae17f96a38e4ec82d9301457ada215 (patch) | |
| tree | 19bb699572a852f1e41c173e89052d2ad56c58bc | |
| parent | 888bb3f9bcb41af9d380771c9e4b9e16bcdaeda8 (diff) | |
pinctrl: msm: Add more MSM8X74 pin definitions
This patch adds pin definitiones for the MSM8x74 TLMM.
New definitions include:
BLSP devices (I2C, UART, SPI, and UIM), mi2s, gp clk,
pdm, gcc clk, cci_timer, cci_i2c, cam_clk, hsic, tsif,
sdc3, sdc4, and other assorted pins.
Signed-off-by: Andy Gross <agross@codeaurora.org>
Acked-By: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
| -rw-r--r-- | Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt | 22 | ||||
| -rw-r--r-- | drivers/pinctrl/pinctrl-msm8x74.c | 677 |
2 files changed, 559 insertions, 140 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt index 9fb89e3f61ea..73262b575dfc 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,msm8974-pinctrl.txt | |||
| @@ -50,7 +50,27 @@ Valid values for pins are: | |||
| 50 | Supports bias and drive-strength | 50 | Supports bias and drive-strength |
| 51 | 51 | ||
| 52 | Valid values for function are: | 52 | Valid values for function are: |
| 53 | blsp_i2c2, blsp_i2c6, blsp_i2c11, blsp_spi1, blsp_uart2, blsp_uart8, slimbus | 53 | cci_i2c0, cci_i2c1, uim1, uim2, uim_batt_alarm, |
| 54 | blsp_uim1, blsp_uart1, blsp_i2c1, blsp_spi1, | ||
| 55 | blsp_uim2, blsp_uart2, blsp_i2c2, blsp_spi2, | ||
| 56 | blsp_uim3, blsp_uart3, blsp_i2c3, blsp_spi3, | ||
| 57 | blsp_uim4, blsp_uart4, blsp_i2c4, blsp_spi4, | ||
| 58 | blsp_uim5, blsp_uart5, blsp_i2c5, blsp_spi5, | ||
| 59 | blsp_uim6, blsp_uart6, blsp_i2c6, blsp_spi6, | ||
| 60 | blsp_uim7, blsp_uart7, blsp_i2c7, blsp_spi7, | ||
| 61 | blsp_uim8, blsp_uart8, blsp_i2c8, blsp_spi8, | ||
| 62 | blsp_uim9, blsp_uart9, blsp_i2c9, blsp_spi9, | ||
| 63 | blsp_uim10, blsp_uart10, blsp_i2c10, blsp_spi10, | ||
| 64 | blsp_uim11, blsp_uart11, blsp_i2c11, blsp_spi11, | ||
| 65 | blsp_uim12, blsp_uart12, blsp_i2c12, blsp_spi12, | ||
| 66 | blsp_spi1_cs1, blsp_spi2_cs2, blsp_spi_cs3, blsp_spi2_cs1, blsp_spi2_cs2 | ||
| 67 | blsp_spi2_cs3, blsp_spi10_cs1, blsp_spi10_cs2, blsp_spi10_cs3, | ||
| 68 | sdc3, sdc4, gcc_gp_clk1, gcc_gp_clk2, gcc_gp_clk3, cci_timer0, cci_timer1, | ||
| 69 | cci_timer2, cci_timer3, cci_async_in0, cci_async_in1, cci_async_in2, | ||
| 70 | cam_mckl0, cam_mclk1, cam_mclk2, cam_mclk3, mdp_vsync, hdmi_cec, hdmi_ddc, | ||
| 71 | hdmi_hpd, edp_hpd, gp_pdm0, gp_pdm1, gp_pdm2, gp_pdm3, gp0_clk, gp1_clk, | ||
| 72 | gp_mn, tsif1, tsif2, hsic, grfc, audio_ref_clk, qua_mi2s, pri_mi2s, spkr_mi2s, | ||
| 73 | ter_mi2s, sec_mi2s, bt, fm, wlan, slimbus | ||
| 54 | 74 | ||
| 55 | (Note that this is not yet the complete list of functions) | 75 | (Note that this is not yet the complete list of functions) |
| 56 | 76 | ||
diff --git a/drivers/pinctrl/pinctrl-msm8x74.c b/drivers/pinctrl/pinctrl-msm8x74.c index 57766d56e257..418306911a6f 100644 --- a/drivers/pinctrl/pinctrl-msm8x74.c +++ b/drivers/pinctrl/pinctrl-msm8x74.c | |||
| @@ -402,169 +402,568 @@ static const unsigned int sdc2_data_pins[] = { 151 }; | |||
| 402 | * the pingroup table below. | 402 | * the pingroup table below. |
| 403 | */ | 403 | */ |
| 404 | enum msm8x74_functions { | 404 | enum msm8x74_functions { |
| 405 | MSM_MUX_cci_i2c0, | ||
| 406 | MSM_MUX_cci_i2c1, | ||
| 407 | MSM_MUX_blsp_i2c1, | ||
| 405 | MSM_MUX_blsp_i2c2, | 408 | MSM_MUX_blsp_i2c2, |
| 409 | MSM_MUX_blsp_i2c3, | ||
| 410 | MSM_MUX_blsp_i2c4, | ||
| 411 | MSM_MUX_blsp_i2c5, | ||
| 406 | MSM_MUX_blsp_i2c6, | 412 | MSM_MUX_blsp_i2c6, |
| 413 | MSM_MUX_blsp_i2c7, | ||
| 414 | MSM_MUX_blsp_i2c8, | ||
| 415 | MSM_MUX_blsp_i2c9, | ||
| 416 | MSM_MUX_blsp_i2c10, | ||
| 407 | MSM_MUX_blsp_i2c11, | 417 | MSM_MUX_blsp_i2c11, |
| 418 | MSM_MUX_blsp_i2c12, | ||
| 408 | MSM_MUX_blsp_spi1, | 419 | MSM_MUX_blsp_spi1, |
| 420 | MSM_MUX_blsp_spi1_cs1, | ||
| 421 | MSM_MUX_blsp_spi1_cs2, | ||
| 422 | MSM_MUX_blsp_spi1_cs3, | ||
| 423 | MSM_MUX_blsp_spi2, | ||
| 424 | MSM_MUX_blsp_spi2_cs1, | ||
| 425 | MSM_MUX_blsp_spi2_cs2, | ||
| 426 | MSM_MUX_blsp_spi2_cs3, | ||
| 427 | MSM_MUX_blsp_spi3, | ||
| 428 | MSM_MUX_blsp_spi4, | ||
| 429 | MSM_MUX_blsp_spi5, | ||
| 430 | MSM_MUX_blsp_spi6, | ||
| 431 | MSM_MUX_blsp_spi7, | ||
| 409 | MSM_MUX_blsp_spi8, | 432 | MSM_MUX_blsp_spi8, |
| 433 | MSM_MUX_blsp_spi9, | ||
| 434 | MSM_MUX_blsp_spi10, | ||
| 435 | MSM_MUX_blsp_spi10_cs1, | ||
| 436 | MSM_MUX_blsp_spi10_cs2, | ||
| 437 | MSM_MUX_blsp_spi10_cs3, | ||
| 438 | MSM_MUX_blsp_spi11, | ||
| 439 | MSM_MUX_blsp_spi12, | ||
| 440 | MSM_MUX_blsp_uart1, | ||
| 410 | MSM_MUX_blsp_uart2, | 441 | MSM_MUX_blsp_uart2, |
| 442 | MSM_MUX_blsp_uart3, | ||
| 443 | MSM_MUX_blsp_uart4, | ||
| 444 | MSM_MUX_blsp_uart5, | ||
| 445 | MSM_MUX_blsp_uart6, | ||
| 446 | MSM_MUX_blsp_uart7, | ||
| 411 | MSM_MUX_blsp_uart8, | 447 | MSM_MUX_blsp_uart8, |
| 448 | MSM_MUX_blsp_uart9, | ||
| 449 | MSM_MUX_blsp_uart10, | ||
| 450 | MSM_MUX_blsp_uart11, | ||
| 451 | MSM_MUX_blsp_uart12, | ||
| 452 | MSM_MUX_blsp_uim1, | ||
| 453 | MSM_MUX_blsp_uim2, | ||
| 454 | MSM_MUX_blsp_uim3, | ||
| 455 | MSM_MUX_blsp_uim4, | ||
| 456 | MSM_MUX_blsp_uim5, | ||
| 457 | MSM_MUX_blsp_uim6, | ||
| 458 | MSM_MUX_blsp_uim7, | ||
| 459 | MSM_MUX_blsp_uim8, | ||
| 460 | MSM_MUX_blsp_uim9, | ||
| 461 | MSM_MUX_blsp_uim10, | ||
| 462 | MSM_MUX_blsp_uim11, | ||
| 463 | MSM_MUX_blsp_uim12, | ||
| 464 | MSM_MUX_uim1, | ||
| 465 | MSM_MUX_uim2, | ||
| 466 | MSM_MUX_uim_batt_alarm, | ||
| 467 | MSM_MUX_sdc3, | ||
| 468 | MSM_MUX_sdc4, | ||
| 469 | MSM_MUX_gcc_gp_clk1, | ||
| 470 | MSM_MUX_gcc_gp_clk2, | ||
| 471 | MSM_MUX_gcc_gp_clk3, | ||
| 472 | MSM_MUX_qua_mi2s, | ||
| 473 | MSM_MUX_pri_mi2s, | ||
| 474 | MSM_MUX_spkr_mi2s, | ||
| 475 | MSM_MUX_ter_mi2s, | ||
| 476 | MSM_MUX_sec_mi2s, | ||
| 477 | MSM_MUX_hdmi_cec, | ||
| 478 | MSM_MUX_hdmi_ddc, | ||
| 479 | MSM_MUX_hdmi_hpd, | ||
| 480 | MSM_MUX_edp_hpd, | ||
| 481 | MSM_MUX_mdp_vsync, | ||
| 482 | MSM_MUX_cam_mclk0, | ||
| 483 | MSM_MUX_cam_mclk1, | ||
| 484 | MSM_MUX_cam_mclk2, | ||
| 485 | MSM_MUX_cam_mclk3, | ||
| 486 | MSM_MUX_cci_timer0, | ||
| 487 | MSM_MUX_cci_timer1, | ||
| 488 | MSM_MUX_cci_timer2, | ||
| 489 | MSM_MUX_cci_timer3, | ||
| 490 | MSM_MUX_cci_timer4, | ||
| 491 | MSM_MUX_cci_async_in0, | ||
| 492 | MSM_MUX_cci_async_in1, | ||
| 493 | MSM_MUX_cci_async_in2, | ||
| 494 | MSM_MUX_gp_pdm0, | ||
| 495 | MSM_MUX_gp_pdm1, | ||
| 496 | MSM_MUX_gp_pdm2, | ||
| 497 | MSM_MUX_gp0_clk, | ||
| 498 | MSM_MUX_gp1_clk, | ||
| 499 | MSM_MUX_gp_mn, | ||
| 500 | MSM_MUX_tsif1, | ||
| 501 | MSM_MUX_tsif2, | ||
| 502 | MSM_MUX_hsic, | ||
| 503 | MSM_MUX_grfc, | ||
| 504 | MSM_MUX_audio_ref_clk, | ||
| 505 | MSM_MUX_bt, | ||
| 506 | MSM_MUX_fm, | ||
| 507 | MSM_MUX_wlan, | ||
| 412 | MSM_MUX_slimbus, | 508 | MSM_MUX_slimbus, |
| 413 | MSM_MUX_NA, | 509 | MSM_MUX_NA, |
| 414 | }; | 510 | }; |
| 415 | 511 | ||
| 512 | static const char * const blsp_uart1_groups[] = { | ||
| 513 | "gpio0", "gpio1", "gpio2", "gpio3" | ||
| 514 | }; | ||
| 515 | static const char * const blsp_uim1_groups[] = { "gpio0", "gpio1" }; | ||
| 516 | static const char * const blsp_i2c1_groups[] = { "gpio2", "gpio3" }; | ||
| 517 | static const char * const blsp_spi1_groups[] = { | ||
| 518 | "gpio0", "gpio1", "gpio2", "gpio3" | ||
| 519 | }; | ||
| 520 | static const char * const blsp_spi1_cs1_groups[] = { "gpio8" }; | ||
| 521 | static const char * const blsp_spi1_cs2_groups[] = { "gpio9", "gpio11" }; | ||
| 522 | static const char * const blsp_spi1_cs3_groups[] = { "gpio10" }; | ||
| 523 | |||
| 524 | static const char * const blsp_uart2_groups[] = { | ||
| 525 | "gpio4", "gpio5", "gpio6", "gpio7" | ||
| 526 | }; | ||
| 527 | static const char * const blsp_uim2_groups[] = { "gpio4", "gpio5" }; | ||
| 416 | static const char * const blsp_i2c2_groups[] = { "gpio6", "gpio7" }; | 528 | static const char * const blsp_i2c2_groups[] = { "gpio6", "gpio7" }; |
| 529 | static const char * const blsp_spi2_groups[] = { | ||
| 530 | "gpio4", "gpio5", "gpio6", "gpio7" | ||
| 531 | }; | ||
| 532 | static const char * const blsp_spi2_cs1_groups[] = { "gpio53", "gpio62" }; | ||
| 533 | static const char * const blsp_spi2_cs2_groups[] = { "gpio54", "gpio63" }; | ||
| 534 | static const char * const blsp_spi2_cs3_groups[] = { "gpio66" }; | ||
| 535 | |||
| 536 | static const char * const blsp_uart3_groups[] = { | ||
| 537 | "gpio8", "gpio9", "gpio10", "gpio11" | ||
| 538 | }; | ||
| 539 | static const char * const blsp_uim3_groups[] = { "gpio8", "gpio9" }; | ||
| 540 | static const char * const blsp_i2c3_groups[] = { "gpio10", "gpio11" }; | ||
| 541 | static const char * const blsp_spi3_groups[] = { | ||
| 542 | "gpio8", "gpio9", "gpio10", "gpio11" | ||
| 543 | }; | ||
| 544 | |||
| 545 | static const char * const cci_i2c0_groups[] = { "gpio19", "gpio20" }; | ||
| 546 | static const char * const cci_i2c1_groups[] = { "gpio21", "gpio22" }; | ||
| 547 | |||
| 548 | static const char * const blsp_uart4_groups[] = { | ||
| 549 | "gpio19", "gpio20", "gpio21", "gpio22" | ||
| 550 | }; | ||
| 551 | static const char * const blsp_uim4_groups[] = { "gpio19", "gpio20" }; | ||
| 552 | static const char * const blsp_i2c4_groups[] = { "gpio21", "gpio22" }; | ||
| 553 | static const char * const blsp_spi4_groups[] = { | ||
| 554 | "gpio19", "gpio20", "gpio21", "gpio22" | ||
| 555 | }; | ||
| 556 | |||
| 557 | static const char * const blsp_uart5_groups[] = { | ||
| 558 | "gpio23", "gpio24", "gpio25", "gpio26" | ||
| 559 | }; | ||
| 560 | static const char * const blsp_uim5_groups[] = { "gpio23", "gpio24" }; | ||
| 561 | static const char * const blsp_i2c5_groups[] = { "gpio25", "gpio26" }; | ||
| 562 | static const char * const blsp_spi5_groups[] = { | ||
| 563 | "gpio23", "gpio24", "gpio25", "gpio26" | ||
| 564 | }; | ||
| 565 | |||
| 566 | static const char * const blsp_uart6_groups[] = { | ||
| 567 | "gpio27", "gpio28", "gpio29", "gpio30" | ||
| 568 | }; | ||
| 569 | static const char * const blsp_uim6_groups[] = { "gpio27", "gpio28" }; | ||
| 417 | static const char * const blsp_i2c6_groups[] = { "gpio29", "gpio30" }; | 570 | static const char * const blsp_i2c6_groups[] = { "gpio29", "gpio30" }; |
| 418 | static const char * const blsp_i2c11_groups[] = { "gpio83", "gpio84" }; | 571 | static const char * const blsp_spi6_groups[] = { |
| 419 | static const char * const blsp_spi1_groups[] = { "gpio0", "gpio1", "gpio2", "gpio3" }; | 572 | "gpio27", "gpio28", "gpio29", "gpio30" |
| 573 | }; | ||
| 574 | |||
| 575 | static const char * const blsp_uart7_groups[] = { | ||
| 576 | "gpio41", "gpio42", "gpio43", "gpio44" | ||
| 577 | }; | ||
| 578 | static const char * const blsp_uim7_groups[] = { "gpio41", "gpio42" }; | ||
| 579 | static const char * const blsp_i2c7_groups[] = { "gpio43", "gpio44" }; | ||
| 580 | static const char * const blsp_spi7_groups[] = { | ||
| 581 | "gpio41", "gpio42", "gpio43", "gpio44" | ||
| 582 | }; | ||
| 583 | |||
| 584 | static const char * const blsp_uart8_groups[] = { | ||
| 585 | "gpio45", "gpio46", "gpio47", "gpio48" | ||
| 586 | }; | ||
| 587 | static const char * const blsp_uim8_groups[] = { "gpio45", "gpio46" }; | ||
| 588 | static const char * const blsp_i2c8_groups[] = { "gpio47", "gpio48" }; | ||
| 420 | static const char * const blsp_spi8_groups[] = { | 589 | static const char * const blsp_spi8_groups[] = { |
| 421 | "gpio45", "gpio46", "gpio47", "gpio48" | 590 | "gpio45", "gpio46", "gpio47", "gpio48" |
| 422 | }; | 591 | }; |
| 423 | static const char * const blsp_uart2_groups[] = { "gpio4", "gpio5" }; | 592 | |
| 424 | static const char * const blsp_uart8_groups[] = { "gpio45", "gpio46" }; | 593 | static const char * const blsp_uart9_groups[] = { |
| 594 | "gpio49", "gpio50", "gpio51", "gpio52" | ||
| 595 | }; | ||
| 596 | static const char * const blsp_uim9_groups[] = { "gpio49", "gpio50" }; | ||
| 597 | static const char * const blsp_i2c9_groups[] = { "gpio51", "gpio52" }; | ||
| 598 | static const char * const blsp_spi9_groups[] = { | ||
| 599 | "gpio49", "gpio50", "gpio51", "gpio52" | ||
| 600 | }; | ||
| 601 | |||
| 602 | static const char * const blsp_uart10_groups[] = { | ||
| 603 | "gpio53", "gpio54", "gpio55", "gpio56" | ||
| 604 | }; | ||
| 605 | static const char * const blsp_uim10_groups[] = { "gpio53", "gpio54" }; | ||
| 606 | static const char * const blsp_i2c10_groups[] = { "gpio55", "gpio56" }; | ||
| 607 | static const char * const blsp_spi10_groups[] = { | ||
| 608 | "gpio53", "gpio54", "gpio55", "gpio56" | ||
| 609 | }; | ||
| 610 | static const char * const blsp_spi10_cs1_groups[] = { "gpio47", "gpio67" }; | ||
| 611 | static const char * const blsp_spi10_cs2_groups[] = { "gpio48", "gpio68" }; | ||
| 612 | static const char * const blsp_spi10_cs3_groups[] = { "gpio90" }; | ||
| 613 | |||
| 614 | static const char * const blsp_uart11_groups[] = { | ||
| 615 | "gpio81", "gpio82", "gpio83", "gpio84" | ||
| 616 | }; | ||
| 617 | static const char * const blsp_uim11_groups[] = { "gpio81", "gpio82" }; | ||
| 618 | static const char * const blsp_i2c11_groups[] = { "gpio83", "gpio84" }; | ||
| 619 | static const char * const blsp_spi11_groups[] = { | ||
| 620 | "gpio81", "gpio82", "gpio83", "gpio84" | ||
| 621 | }; | ||
| 622 | |||
| 623 | static const char * const blsp_uart12_groups[] = { | ||
| 624 | "gpio85", "gpio86", "gpio87", "gpio88" | ||
| 625 | }; | ||
| 626 | static const char * const blsp_uim12_groups[] = { "gpio85", "gpio86" }; | ||
| 627 | static const char * const blsp_i2c12_groups[] = { "gpio87", "gpio88" }; | ||
| 628 | static const char * const blsp_spi12_groups[] = { | ||
| 629 | "gpio85", "gpio86", "gpio87", "gpio88" | ||
| 630 | }; | ||
| 631 | |||
| 632 | static const char * const uim1_groups[] = { | ||
| 633 | "gpio97", "gpio98", "gpio99", "gpio100" | ||
| 634 | }; | ||
| 635 | |||
| 636 | static const char * const uim2_groups[] = { | ||
| 637 | "gpio49", "gpio50", "gpio51", "gpio52" | ||
| 638 | }; | ||
| 639 | |||
| 640 | static const char * const uim_batt_alarm_groups[] = { "gpio101" }; | ||
| 641 | |||
| 642 | static const char * const sdc3_groups[] = { | ||
| 643 | "gpio35", "gpio36", "gpio37", "gpio38", "gpio39", "gpio40" | ||
| 644 | }; | ||
| 645 | |||
| 646 | static const char * const sdc4_groups[] = { | ||
| 647 | "gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio96" | ||
| 648 | }; | ||
| 649 | |||
| 650 | static const char * const gp0_clk_groups[] = { "gpio26" }; | ||
| 651 | static const char * const gp1_clk_groups[] = { "gpio27", "gpio57", "gpio78" }; | ||
| 652 | static const char * const gp_mn_groups[] = { "gpio29" }; | ||
| 653 | static const char * const gcc_gp_clk1_groups[] = { "gpio57", "gpio78" }; | ||
| 654 | static const char * const gcc_gp_clk2_groups[] = { "gpio58", "gpio81" }; | ||
| 655 | static const char * const gcc_gp_clk3_groups[] = { "gpio59", "gpio82" }; | ||
| 656 | |||
| 657 | static const char * const qua_mi2s_groups[] = { | ||
| 658 | "gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63", | ||
| 659 | }; | ||
| 660 | |||
| 661 | static const char * const pri_mi2s_groups[] = { | ||
| 662 | "gpio64", "gpio65", "gpio66", "gpio67", "gpio68" | ||
| 663 | }; | ||
| 664 | |||
| 665 | static const char * const spkr_mi2s_groups[] = { | ||
| 666 | "gpio69", "gpio70", "gpio71", "gpio72" | ||
| 667 | }; | ||
| 668 | |||
| 669 | static const char * const ter_mi2s_groups[] = { | ||
| 670 | "gpio73", "gpio74", "gpio75", "gpio76", "gpio77" | ||
| 671 | }; | ||
| 672 | |||
| 673 | static const char * const sec_mi2s_groups[] = { | ||
| 674 | "gpio78", "gpio79", "gpio80", "gpio81", "gpio82" | ||
| 675 | }; | ||
| 676 | |||
| 677 | static const char * const hdmi_cec_groups[] = { "gpio31" }; | ||
| 678 | static const char * const hdmi_ddc_groups[] = { "gpio32", "gpio33" }; | ||
| 679 | static const char * const hdmi_hpd_groups[] = { "gpio34" }; | ||
| 680 | static const char * const edp_hpd_groups[] = { "gpio102" }; | ||
| 681 | |||
| 682 | static const char * const mdp_vsync_groups[] = { "gpio12", "gpio13", "gpio14" }; | ||
| 683 | static const char * const cam_mclk0_groups[] = { "gpio15" }; | ||
| 684 | static const char * const cam_mclk1_groups[] = { "gpio16" }; | ||
| 685 | static const char * const cam_mclk2_groups[] = { "gpio17" }; | ||
| 686 | static const char * const cam_mclk3_groups[] = { "gpio18" }; | ||
| 687 | |||
| 688 | static const char * const cci_timer0_groups[] = { "gpio23" }; | ||
| 689 | static const char * const cci_timer1_groups[] = { "gpio24" }; | ||
| 690 | static const char * const cci_timer2_groups[] = { "gpio25" }; | ||
| 691 | static const char * const cci_timer3_groups[] = { "gpio26" }; | ||
| 692 | static const char * const cci_timer4_groups[] = { "gpio27" }; | ||
| 693 | static const char * const cci_async_in0_groups[] = { "gpio28" }; | ||
| 694 | static const char * const cci_async_in1_groups[] = { "gpio26" }; | ||
| 695 | static const char * const cci_async_in2_groups[] = { "gpio27" }; | ||
| 696 | |||
| 697 | static const char * const gp_pdm0_groups[] = { "gpio54", "gpio68" }; | ||
| 698 | static const char * const gp_pdm1_groups[] = { "gpio74", "gpio86" }; | ||
| 699 | static const char * const gp_pdm2_groups[] = { "gpio63", "gpio79" }; | ||
| 700 | |||
| 701 | static const char * const tsif1_groups[] = { | ||
| 702 | "gpio89", "gpio90", "gpio91", "gpio92" | ||
| 703 | }; | ||
| 704 | |||
| 705 | static const char * const tsif2_groups[] = { | ||
| 706 | "gpio93", "gpio94", "gpio95", "gpio96" | ||
| 707 | }; | ||
| 708 | |||
| 709 | static const char * const hsic_groups[] = { "gpio144", "gpio145" }; | ||
| 710 | static const char * const grfc_groups[] = { | ||
| 711 | "gpio104", "gpio105", "gpio106", "gpio107", "gpio108", "gpio109", | ||
| 712 | "gpio110", "gpio111", "gpio112", "gpio113", "gpio114", "gpio115", | ||
| 713 | "gpio116", "gpio117", "gpio118", "gpio119", "gpio120", "gpio121", | ||
| 714 | "gpio122", "gpio123", "gpio124", "gpio125", "gpio126", "gpio127", | ||
| 715 | "gpio128", "gpio136", "gpio137", "gpio141", "gpio143" | ||
| 716 | }; | ||
| 717 | |||
| 718 | static const char * const audio_ref_clk_groups[] = { "gpio69" }; | ||
| 719 | |||
| 720 | static const char * const bt_groups[] = { "gpio35", "gpio43", "gpio44" }; | ||
| 721 | |||
| 722 | static const char * const fm_groups[] = { "gpio41", "gpio42" }; | ||
| 723 | |||
| 724 | static const char * const wlan_groups[] = { | ||
| 725 | "gpio36", "gpio37", "gpio38", "gpio39", "gpio40" | ||
| 726 | }; | ||
| 727 | |||
| 425 | static const char * const slimbus_groups[] = { "gpio70", "gpio71" }; | 728 | static const char * const slimbus_groups[] = { "gpio70", "gpio71" }; |
| 426 | 729 | ||
| 427 | static const struct msm_function msm8x74_functions[] = { | 730 | static const struct msm_function msm8x74_functions[] = { |
| 731 | FUNCTION(cci_i2c0), | ||
| 732 | FUNCTION(cci_i2c1), | ||
| 733 | FUNCTION(uim1), | ||
| 734 | FUNCTION(uim2), | ||
| 735 | FUNCTION(uim_batt_alarm), | ||
| 736 | FUNCTION(blsp_uim1), | ||
| 737 | FUNCTION(blsp_uim2), | ||
| 738 | FUNCTION(blsp_uim3), | ||
| 739 | FUNCTION(blsp_uim4), | ||
| 740 | FUNCTION(blsp_uim5), | ||
| 741 | FUNCTION(blsp_uim6), | ||
| 742 | FUNCTION(blsp_uim7), | ||
| 743 | FUNCTION(blsp_uim8), | ||
| 744 | FUNCTION(blsp_uim9), | ||
| 745 | FUNCTION(blsp_uim10), | ||
| 746 | FUNCTION(blsp_uim11), | ||
| 747 | FUNCTION(blsp_uim12), | ||
| 748 | FUNCTION(blsp_i2c1), | ||
| 428 | FUNCTION(blsp_i2c2), | 749 | FUNCTION(blsp_i2c2), |
| 750 | FUNCTION(blsp_i2c3), | ||
| 751 | FUNCTION(blsp_i2c4), | ||
| 752 | FUNCTION(blsp_i2c5), | ||
| 429 | FUNCTION(blsp_i2c6), | 753 | FUNCTION(blsp_i2c6), |
| 754 | FUNCTION(blsp_i2c7), | ||
| 755 | FUNCTION(blsp_i2c8), | ||
| 756 | FUNCTION(blsp_i2c9), | ||
| 757 | FUNCTION(blsp_i2c10), | ||
| 430 | FUNCTION(blsp_i2c11), | 758 | FUNCTION(blsp_i2c11), |
| 759 | FUNCTION(blsp_i2c12), | ||
| 431 | FUNCTION(blsp_spi1), | 760 | FUNCTION(blsp_spi1), |
| 761 | FUNCTION(blsp_spi1_cs1), | ||
| 762 | FUNCTION(blsp_spi1_cs2), | ||
| 763 | FUNCTION(blsp_spi1_cs3), | ||
| 764 | FUNCTION(blsp_spi2), | ||
| 765 | FUNCTION(blsp_spi2_cs1), | ||
| 766 | FUNCTION(blsp_spi2_cs2), | ||
| 767 | FUNCTION(blsp_spi2_cs3), | ||
| 768 | FUNCTION(blsp_spi3), | ||
| 769 | FUNCTION(blsp_spi4), | ||
| 770 | FUNCTION(blsp_spi5), | ||
| 771 | FUNCTION(blsp_spi6), | ||
| 772 | FUNCTION(blsp_spi7), | ||
| 432 | FUNCTION(blsp_spi8), | 773 | FUNCTION(blsp_spi8), |
| 774 | FUNCTION(blsp_spi9), | ||
| 775 | FUNCTION(blsp_spi10), | ||
| 776 | FUNCTION(blsp_spi10_cs1), | ||
| 777 | FUNCTION(blsp_spi10_cs2), | ||
| 778 | FUNCTION(blsp_spi10_cs3), | ||
| 779 | FUNCTION(blsp_spi11), | ||
| 780 | FUNCTION(blsp_spi12), | ||
| 781 | FUNCTION(blsp_uart1), | ||
| 433 | FUNCTION(blsp_uart2), | 782 | FUNCTION(blsp_uart2), |
| 783 | FUNCTION(blsp_uart3), | ||
| 784 | FUNCTION(blsp_uart4), | ||
| 785 | FUNCTION(blsp_uart5), | ||
| 786 | FUNCTION(blsp_uart6), | ||
| 787 | FUNCTION(blsp_uart7), | ||
| 434 | FUNCTION(blsp_uart8), | 788 | FUNCTION(blsp_uart8), |
| 789 | FUNCTION(blsp_uart9), | ||
| 790 | FUNCTION(blsp_uart10), | ||
| 791 | FUNCTION(blsp_uart11), | ||
| 792 | FUNCTION(blsp_uart12), | ||
| 793 | FUNCTION(sdc3), | ||
| 794 | FUNCTION(sdc4), | ||
| 795 | FUNCTION(gcc_gp_clk1), | ||
| 796 | FUNCTION(gcc_gp_clk2), | ||
| 797 | FUNCTION(gcc_gp_clk3), | ||
| 798 | FUNCTION(qua_mi2s), | ||
| 799 | FUNCTION(pri_mi2s), | ||
| 800 | FUNCTION(spkr_mi2s), | ||
| 801 | FUNCTION(ter_mi2s), | ||
| 802 | FUNCTION(sec_mi2s), | ||
| 803 | FUNCTION(mdp_vsync), | ||
| 804 | FUNCTION(cam_mclk0), | ||
| 805 | FUNCTION(cam_mclk1), | ||
| 806 | FUNCTION(cam_mclk2), | ||
| 807 | FUNCTION(cam_mclk3), | ||
| 808 | FUNCTION(cci_timer0), | ||
| 809 | FUNCTION(cci_timer1), | ||
| 810 | FUNCTION(cci_timer2), | ||
| 811 | FUNCTION(cci_timer3), | ||
| 812 | FUNCTION(cci_timer4), | ||
| 813 | FUNCTION(cci_async_in0), | ||
| 814 | FUNCTION(cci_async_in1), | ||
| 815 | FUNCTION(cci_async_in2), | ||
| 816 | FUNCTION(hdmi_cec), | ||
| 817 | FUNCTION(hdmi_ddc), | ||
| 818 | FUNCTION(hdmi_hpd), | ||
| 819 | FUNCTION(edp_hpd), | ||
| 820 | FUNCTION(gp_pdm0), | ||
| 821 | FUNCTION(gp_pdm1), | ||
| 822 | FUNCTION(gp_pdm2), | ||
| 823 | FUNCTION(gp0_clk), | ||
| 824 | FUNCTION(gp1_clk), | ||
| 825 | FUNCTION(gp_mn), | ||
| 826 | FUNCTION(tsif1), | ||
| 827 | FUNCTION(tsif2), | ||
| 828 | FUNCTION(hsic), | ||
| 829 | FUNCTION(grfc), | ||
| 830 | FUNCTION(audio_ref_clk), | ||
| 831 | FUNCTION(bt), | ||
| 832 | FUNCTION(fm), | ||
| 833 | FUNCTION(wlan), | ||
| 435 | FUNCTION(slimbus), | 834 | FUNCTION(slimbus), |
| 436 | }; | 835 | }; |
| 437 | 836 | ||
| 438 | static const struct msm_pingroup msm8x74_groups[] = { | 837 | static const struct msm_pingroup msm8x74_groups[] = { |
| 439 | PINGROUP(0, blsp_spi1, NA, NA, NA, NA, NA, NA), | 838 | PINGROUP(0, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA), |
| 440 | PINGROUP(1, blsp_spi1, NA, NA, NA, NA, NA, NA), | 839 | PINGROUP(1, blsp_spi1, blsp_uart1, blsp_uim1, NA, NA, NA, NA), |
| 441 | PINGROUP(2, blsp_spi1, NA, NA, NA, NA, NA, NA), | 840 | PINGROUP(2, blsp_spi1, blsp_uart1, blsp_i2c1, NA, NA, NA, NA), |
| 442 | PINGROUP(3, blsp_spi1, NA, NA, NA, NA, NA, NA), | 841 | PINGROUP(3, blsp_spi1, blsp_uart1, blsp_i2c1, NA, NA, NA, NA), |
| 443 | PINGROUP(4, NA, blsp_uart2, NA, NA, NA, NA, NA), | 842 | PINGROUP(4, blsp_spi2, blsp_uart2, blsp_uim2, NA, NA, NA, NA), |
| 444 | PINGROUP(5, NA, blsp_uart2, NA, NA, NA, NA, NA), | 843 | PINGROUP(5, blsp_spi2, blsp_uart2, blsp_uim2, NA, NA, NA, NA), |
| 445 | PINGROUP(6, NA, NA, blsp_i2c2, NA, NA, NA, NA), | 844 | PINGROUP(6, blsp_spi2, blsp_uart2, blsp_i2c2, NA, NA, NA, NA), |
| 446 | PINGROUP(7, NA, NA, blsp_i2c2, NA, NA, NA, NA), | 845 | PINGROUP(7, blsp_spi2, blsp_uart2, blsp_i2c2, NA, NA, NA, NA), |
| 447 | PINGROUP(8, NA, NA, NA, NA, NA, NA, NA), | 846 | PINGROUP(8, blsp_spi3, blsp_uart3, blsp_uim3, blsp_spi1_cs1, NA, NA, NA), |
| 448 | PINGROUP(9, NA, NA, NA, NA, NA, NA, NA), | 847 | PINGROUP(9, blsp_spi3, blsp_uart3, blsp_uim3, blsp_spi1_cs2, NA, NA, NA), |
| 449 | PINGROUP(10, NA, NA, NA, NA, NA, NA, NA), | 848 | PINGROUP(10, blsp_spi3, blsp_uart3, blsp_i2c3, blsp_spi1_cs3, NA, NA, NA), |
| 450 | PINGROUP(11, NA, NA, NA, NA, NA, NA, NA), | 849 | PINGROUP(11, blsp_spi3, blsp_uart3, blsp_i2c3, blsp_spi1_cs2, NA, NA, NA), |
| 451 | PINGROUP(12, NA, NA, NA, NA, NA, NA, NA), | 850 | PINGROUP(12, mdp_vsync, NA, NA, NA, NA, NA, NA), |
| 452 | PINGROUP(13, NA, NA, NA, NA, NA, NA, NA), | 851 | PINGROUP(13, mdp_vsync, NA, NA, NA, NA, NA, NA), |
| 453 | PINGROUP(14, NA, NA, NA, NA, NA, NA, NA), | 852 | PINGROUP(14, mdp_vsync, NA, NA, NA, NA, NA, NA), |
| 454 | PINGROUP(15, NA, NA, NA, NA, NA, NA, NA), | 853 | PINGROUP(15, cam_mclk0, NA, NA, NA, NA, NA, NA), |
| 455 | PINGROUP(16, NA, NA, NA, NA, NA, NA, NA), | 854 | PINGROUP(16, cam_mclk1, NA, NA, NA, NA, NA, NA), |
| 456 | PINGROUP(17, NA, NA, NA, NA, NA, NA, NA), | 855 | PINGROUP(17, cam_mclk2, NA, NA, NA, NA, NA, NA), |
| 457 | PINGROUP(18, NA, NA, NA, NA, NA, NA, NA), | 856 | PINGROUP(18, cam_mclk3, NA, NA, NA, NA, NA, NA), |
| 458 | PINGROUP(19, NA, NA, NA, NA, NA, NA, NA), | 857 | PINGROUP(19, cci_i2c0, blsp_spi4, blsp_uart4, blsp_uim4, NA, NA, NA), |
| 459 | PINGROUP(20, NA, NA, NA, NA, NA, NA, NA), | 858 | PINGROUP(20, cci_i2c0, blsp_spi4, blsp_uart4, blsp_uim4, NA, NA, NA), |
| 460 | PINGROUP(21, NA, NA, NA, NA, NA, NA, NA), | 859 | PINGROUP(21, cci_i2c1, blsp_spi4, blsp_uart4, blsp_i2c4, NA, NA, NA), |
| 461 | PINGROUP(22, NA, NA, NA, NA, NA, NA, NA), | 860 | PINGROUP(22, cci_i2c1, blsp_spi4, blsp_uart4, blsp_i2c4, NA, NA, NA), |
| 462 | PINGROUP(23, NA, NA, NA, NA, NA, NA, NA), | 861 | PINGROUP(23, cci_timer0, blsp_spi5, blsp_uart5, blsp_uim5, NA, NA, NA), |
| 463 | PINGROUP(24, NA, NA, NA, NA, NA, NA, NA), | 862 | PINGROUP(24, cci_timer1, blsp_spi5, blsp_uart5, blsp_uim5, NA, NA, NA), |
| 464 | PINGROUP(25, NA, NA, NA, NA, NA, NA, NA), | 863 | PINGROUP(25, cci_timer2, blsp_spi5, blsp_uart5, blsp_i2c5, NA, NA, NA), |
| 465 | PINGROUP(26, NA, NA, NA, NA, NA, NA, NA), | 864 | PINGROUP(26, cci_timer3, cci_async_in1, blsp_spi5, blsp_uart5, blsp_i2c5, gp0_clk, NA), |
| 466 | PINGROUP(27, NA, NA, NA, NA, NA, NA, NA), | 865 | PINGROUP(27, cci_timer4, cci_async_in2, blsp_spi6, blsp_uart6, blsp_i2c6, gp1_clk, NA), |
| 467 | PINGROUP(28, NA, NA, NA, NA, NA, NA, NA), | 866 | PINGROUP(28, cci_async_in0, blsp_spi6, blsp_uart6, blsp_uim6, NA, NA, NA), |
| 468 | PINGROUP(29, NA, NA, blsp_i2c6, NA, NA, NA, NA), | 867 | PINGROUP(29, blsp_spi6, blsp_uart6, blsp_i2c6, gp_mn, NA, NA, NA), |
| 469 | PINGROUP(30, NA, NA, blsp_i2c6, NA, NA, NA, NA), | 868 | PINGROUP(30, blsp_spi6, blsp_uart6, blsp_i2c6, NA, NA, NA, NA), |
| 470 | PINGROUP(31, NA, NA, NA, NA, NA, NA, NA), | 869 | PINGROUP(31, hdmi_cec, NA, NA, NA, NA, NA, NA), |
| 471 | PINGROUP(32, NA, NA, NA, NA, NA, NA, NA), | 870 | PINGROUP(32, hdmi_ddc, NA, NA, NA, NA, NA, NA), |
| 472 | PINGROUP(33, NA, NA, NA, NA, NA, NA, NA), | 871 | PINGROUP(33, hdmi_ddc, NA, NA, NA, NA, NA, NA), |
| 473 | PINGROUP(34, NA, NA, NA, NA, NA, NA, NA), | 872 | PINGROUP(34, hdmi_hpd, NA, NA, NA, NA, NA, NA), |
| 474 | PINGROUP(35, NA, NA, NA, NA, NA, NA, NA), | 873 | PINGROUP(35, bt, sdc3, NA, NA, NA, NA, NA), |
| 475 | PINGROUP(36, NA, NA, NA, NA, NA, NA, NA), | 874 | PINGROUP(36, wlan, sdc3, NA, NA, NA, NA, NA), |
| 476 | PINGROUP(37, NA, NA, NA, NA, NA, NA, NA), | 875 | PINGROUP(37, wlan, sdc3, NA, NA, NA, NA, NA), |
| 477 | PINGROUP(38, NA, NA, NA, NA, NA, NA, NA), | 876 | PINGROUP(38, wlan, sdc3, NA, NA, NA, NA, NA), |
| 478 | PINGROUP(39, NA, NA, NA, NA, NA, NA, NA), | 877 | PINGROUP(39, wlan, sdc3, NA, NA, NA, NA, NA), |
| 479 | PINGROUP(40, NA, NA, NA, NA, NA, NA, NA), | 878 | PINGROUP(40, wlan, sdc3, NA, NA, NA, NA, NA), |
| 480 | PINGROUP(41, NA, NA, NA, NA, NA, NA, NA), | 879 | PINGROUP(41, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), |
| 481 | PINGROUP(42, NA, NA, NA, NA, NA, NA, NA), | 880 | PINGROUP(42, fm, blsp_spi7, blsp_uart7, blsp_uim7, NA, NA, NA), |
| 482 | PINGROUP(43, NA, NA, NA, NA, NA, NA, NA), | 881 | PINGROUP(43, bt, blsp_spi7, blsp_uart7, blsp_i2c7, NA, NA, NA), |
| 483 | PINGROUP(44, NA, NA, NA, NA, NA, NA, NA), | 882 | PINGROUP(44, bt, blsp_spi7, blsp_uart7, blsp_i2c7, NA, NA, NA), |
| 484 | PINGROUP(45, blsp_spi8, blsp_uart8, NA, NA, NA, NA, NA), | 883 | PINGROUP(45, blsp_spi8, blsp_uart8, blsp_uim8, NA, NA, NA, NA), |
| 485 | PINGROUP(46, blsp_spi8, blsp_uart8, NA, NA, NA, NA, NA), | 884 | PINGROUP(46, blsp_spi8, blsp_uart8, blsp_uim8, NA, NA, NA, NA), |
| 486 | PINGROUP(47, blsp_spi8, NA, NA, NA, NA, NA, NA), | 885 | PINGROUP(47, blsp_spi8, blsp_uart8, blsp_i2c8, blsp_spi10_cs1, NA, NA, NA), |
| 487 | PINGROUP(48, blsp_spi8, NA, NA, NA, NA, NA, NA), | 886 | PINGROUP(48, blsp_spi8, blsp_uart8, blsp_i2c8, blsp_spi10_cs2, NA, NA, NA), |
| 488 | PINGROUP(49, NA, NA, NA, NA, NA, NA, NA), | 887 | PINGROUP(49, uim2, blsp_spi9, blsp_uart9, blsp_uim9, NA, NA, NA), |
| 489 | PINGROUP(50, NA, NA, NA, NA, NA, NA, NA), | 888 | PINGROUP(50, uim2, blsp_spi9, blsp_uart9, blsp_uim9, NA, NA, NA), |
| 490 | PINGROUP(51, NA, NA, NA, NA, NA, NA, NA), | 889 | PINGROUP(51, uim2, blsp_spi9, blsp_uart9, blsp_i2c9, NA, NA, NA), |
| 491 | PINGROUP(52, NA, NA, NA, NA, NA, NA, NA), | 890 | PINGROUP(52, uim2, blsp_spi9, blsp_uart9, blsp_i2c9, NA, NA, NA), |
| 492 | PINGROUP(53, NA, NA, NA, NA, NA, NA, NA), | 891 | PINGROUP(53, blsp_spi10, blsp_uart10, blsp_uim10, blsp_spi2_cs1, NA, NA, NA), |
| 493 | PINGROUP(54, NA, NA, NA, NA, NA, NA, NA), | 892 | PINGROUP(54, blsp_spi10, blsp_uart10, blsp_uim10, blsp_spi2_cs2, gp_pdm0, NA, NA), |
| 494 | PINGROUP(55, NA, NA, NA, NA, NA, NA, NA), | 893 | PINGROUP(55, blsp_spi10, blsp_uart10, blsp_i2c10, NA, NA, NA, NA), |
| 495 | PINGROUP(56, NA, NA, NA, NA, NA, NA, NA), | 894 | PINGROUP(56, blsp_spi10, blsp_uart10, blsp_i2c10, NA, NA, NA, NA), |
| 496 | PINGROUP(57, NA, NA, NA, NA, NA, NA, NA), | 895 | PINGROUP(57, qua_mi2s, gcc_gp_clk1, NA, NA, NA, NA, NA), |
| 497 | PINGROUP(58, NA, NA, NA, NA, NA, NA, NA), | 896 | PINGROUP(58, qua_mi2s, gcc_gp_clk2, NA, NA, NA, NA, NA), |
| 498 | PINGROUP(59, NA, NA, NA, NA, NA, NA, NA), | 897 | PINGROUP(59, qua_mi2s, gcc_gp_clk3, NA, NA, NA, NA, NA), |
| 499 | PINGROUP(60, NA, NA, NA, NA, NA, NA, NA), | 898 | PINGROUP(60, qua_mi2s, NA, NA, NA, NA, NA, NA), |
| 500 | PINGROUP(61, NA, NA, NA, NA, NA, NA, NA), | 899 | PINGROUP(61, qua_mi2s, NA, NA, NA, NA, NA, NA), |
| 501 | PINGROUP(62, NA, NA, NA, NA, NA, NA, NA), | 900 | PINGROUP(62, qua_mi2s, blsp_spi2_cs1, NA, NA, NA, NA, NA), |
| 502 | PINGROUP(63, NA, NA, NA, NA, NA, NA, NA), | 901 | PINGROUP(63, qua_mi2s, blsp_spi2_cs2, gp_pdm2, NA, NA, NA, NA), |
| 503 | PINGROUP(64, NA, NA, NA, NA, NA, NA, NA), | 902 | PINGROUP(64, pri_mi2s, NA, NA, NA, NA, NA, NA), |
| 504 | PINGROUP(65, NA, NA, NA, NA, NA, NA, NA), | 903 | PINGROUP(65, pri_mi2s, NA, NA, NA, NA, NA, NA), |
| 505 | PINGROUP(66, NA, NA, NA, NA, NA, NA, NA), | 904 | PINGROUP(66, pri_mi2s, blsp_spi2_cs3, NA, NA, NA, NA, NA), |
| 506 | PINGROUP(67, NA, NA, NA, NA, NA, NA, NA), | 905 | PINGROUP(67, pri_mi2s, blsp_spi10_cs1, NA, NA, NA, NA, NA), |
| 507 | PINGROUP(68, NA, NA, NA, NA, NA, NA, NA), | 906 | PINGROUP(68, pri_mi2s, blsp_spi10_cs2, gp_pdm0, NA, NA, NA, NA), |
| 508 | PINGROUP(69, NA, NA, NA, NA, NA, NA, NA), | 907 | PINGROUP(69, spkr_mi2s, audio_ref_clk, NA, NA, NA, NA, NA), |
| 509 | PINGROUP(70, slimbus, NA, NA, NA, NA, NA, NA), | 908 | PINGROUP(70, slimbus, spkr_mi2s, NA, NA, NA, NA, NA), |
| 510 | PINGROUP(71, slimbus, NA, NA, NA, NA, NA, NA), | 909 | PINGROUP(71, slimbus, spkr_mi2s, NA, NA, NA, NA, NA), |
| 511 | PINGROUP(72, NA, NA, NA, NA, NA, NA, NA), | 910 | PINGROUP(72, spkr_mi2s, NA, NA, NA, NA, NA, NA), |
| 512 | PINGROUP(73, NA, NA, NA, NA, NA, NA, NA), | 911 | PINGROUP(73, ter_mi2s, NA, NA, NA, NA, NA, NA), |
| 513 | PINGROUP(74, NA, NA, NA, NA, NA, NA, NA), | 912 | PINGROUP(74, ter_mi2s, gp_pdm1, NA, NA, NA, NA, NA), |
| 514 | PINGROUP(75, NA, NA, NA, NA, NA, NA, NA), | 913 | PINGROUP(75, ter_mi2s, NA, NA, NA, NA, NA, NA), |
| 515 | PINGROUP(76, NA, NA, NA, NA, NA, NA, NA), | 914 | PINGROUP(76, ter_mi2s, NA, NA, NA, NA, NA, NA), |
| 516 | PINGROUP(77, NA, NA, NA, NA, NA, NA, NA), | 915 | PINGROUP(77, ter_mi2s, NA, NA, NA, NA, NA, NA), |
| 517 | PINGROUP(78, NA, NA, NA, NA, NA, NA, NA), | 916 | PINGROUP(78, sec_mi2s, gcc_gp_clk1, NA, NA, NA, NA, NA), |
| 518 | PINGROUP(79, NA, NA, NA, NA, NA, NA, NA), | 917 | PINGROUP(79, sec_mi2s, gp_pdm2, NA, NA, NA, NA, NA), |
| 519 | PINGROUP(80, NA, NA, NA, NA, NA, NA, NA), | 918 | PINGROUP(80, sec_mi2s, NA, NA, NA, NA, NA, NA), |
| 520 | PINGROUP(81, NA, NA, NA, NA, NA, NA, NA), | 919 | PINGROUP(81, sec_mi2s, blsp_spi11, blsp_uart11, blsp_uim11, gcc_gp_clk2, NA, NA), |
| 521 | PINGROUP(82, NA, NA, NA, NA, NA, NA, NA), | 920 | PINGROUP(82, sec_mi2s, blsp_spi11, blsp_uart11, blsp_uim11, gcc_gp_clk3, NA, NA), |
| 522 | PINGROUP(83, NA, NA, blsp_i2c11, NA, NA, NA, NA), | 921 | PINGROUP(83, blsp_spi11, blsp_uart11, blsp_i2c11, NA, NA, NA, NA), |
| 523 | PINGROUP(84, NA, NA, blsp_i2c11, NA, NA, NA, NA), | 922 | PINGROUP(84, blsp_spi11, blsp_uart11, blsp_i2c11, NA, NA, NA, NA), |
| 524 | PINGROUP(85, NA, NA, NA, NA, NA, NA, NA), | 923 | PINGROUP(85, blsp_spi12, blsp_uart12, blsp_uim12, NA, NA, NA, NA), |
| 525 | PINGROUP(86, NA, NA, NA, NA, NA, NA, NA), | 924 | PINGROUP(86, blsp_spi12, blsp_uart12, blsp_uim12, gp_pdm1, NA, NA, NA), |
| 526 | PINGROUP(87, NA, NA, NA, NA, NA, NA, NA), | 925 | PINGROUP(87, blsp_spi12, blsp_uart12, blsp_i2c12, NA, NA, NA, NA), |
| 527 | PINGROUP(88, NA, NA, NA, NA, NA, NA, NA), | 926 | PINGROUP(88, blsp_spi12, blsp_uart12, blsp_i2c12, NA, NA, NA, NA), |
| 528 | PINGROUP(89, NA, NA, NA, NA, NA, NA, NA), | 927 | PINGROUP(89, tsif1, NA, NA, NA, NA, NA, NA), |
| 529 | PINGROUP(90, NA, NA, NA, NA, NA, NA, NA), | 928 | PINGROUP(90, tsif1, blsp_spi10_cs3, NA, NA, NA, NA, NA), |
| 530 | PINGROUP(91, NA, NA, NA, NA, NA, NA, NA), | 929 | PINGROUP(91, tsif1, sdc4, NA, NA, NA, NA, NA), |
| 531 | PINGROUP(92, NA, NA, NA, NA, NA, NA, NA), | 930 | PINGROUP(92, tsif1, sdc4, NA, NA, NA, NA, NA), |
| 532 | PINGROUP(93, NA, NA, NA, NA, NA, NA, NA), | 931 | PINGROUP(93, tsif2, sdc4, NA, NA, NA, NA, NA), |
| 533 | PINGROUP(94, NA, NA, NA, NA, NA, NA, NA), | 932 | PINGROUP(94, tsif2, sdc4, NA, NA, NA, NA, NA), |
| 534 | PINGROUP(95, NA, NA, NA, NA, NA, NA, NA), | 933 | PINGROUP(95, tsif2, sdc4, NA, NA, NA, NA, NA), |
| 535 | PINGROUP(96, NA, NA, NA, NA, NA, NA, NA), | 934 | PINGROUP(96, tsif2, sdc4, NA, NA, NA, NA, NA), |
| 536 | PINGROUP(97, NA, NA, NA, NA, NA, NA, NA), | 935 | PINGROUP(97, uim1, NA, NA, NA, NA, NA, NA), |
| 537 | PINGROUP(98, NA, NA, NA, NA, NA, NA, NA), | 936 | PINGROUP(98, uim1, NA, NA, NA, NA, NA, NA), |
| 538 | PINGROUP(99, NA, NA, NA, NA, NA, NA, NA), | 937 | PINGROUP(99, uim1, NA, NA, NA, NA, NA, NA), |
| 539 | PINGROUP(100, NA, NA, NA, NA, NA, NA, NA), | 938 | PINGROUP(100, uim1, NA, NA, NA, NA, NA, NA), |
| 540 | PINGROUP(101, NA, NA, NA, NA, NA, NA, NA), | 939 | PINGROUP(101, uim_batt_alarm, NA, NA, NA, NA, NA, NA), |
| 541 | PINGROUP(102, NA, NA, NA, NA, NA, NA, NA), | 940 | PINGROUP(102, edp_hpd, NA, NA, NA, NA, NA, NA), |
| 542 | PINGROUP(103, NA, NA, NA, NA, NA, NA, NA), | 941 | PINGROUP(103, NA, NA, NA, NA, NA, NA, NA), |
| 543 | PINGROUP(104, NA, NA, NA, NA, NA, NA, NA), | 942 | PINGROUP(104, grfc, NA, NA, NA, NA, NA, NA), |
| 544 | PINGROUP(105, NA, NA, NA, NA, NA, NA, NA), | 943 | PINGROUP(105, grfc, NA, NA, NA, NA, NA, NA), |
| 545 | PINGROUP(106, NA, NA, NA, NA, NA, NA, NA), | 944 | PINGROUP(106, grfc, NA, NA, NA, NA, NA, NA), |
| 546 | PINGROUP(107, NA, NA, NA, NA, NA, NA, NA), | 945 | PINGROUP(107, grfc, NA, NA, NA, NA, NA, NA), |
| 547 | PINGROUP(108, NA, NA, NA, NA, NA, NA, NA), | 946 | PINGROUP(108, grfc, NA, NA, NA, NA, NA, NA), |
| 548 | PINGROUP(109, NA, NA, NA, NA, NA, NA, NA), | 947 | PINGROUP(109, grfc, NA, NA, NA, NA, NA, NA), |
| 549 | PINGROUP(110, NA, NA, NA, NA, NA, NA, NA), | 948 | PINGROUP(110, grfc, NA, NA, NA, NA, NA, NA), |
| 550 | PINGROUP(111, NA, NA, NA, NA, NA, NA, NA), | 949 | PINGROUP(111, grfc, NA, NA, NA, NA, NA, NA), |
| 551 | PINGROUP(112, NA, NA, NA, NA, NA, NA, NA), | 950 | PINGROUP(112, grfc, NA, NA, NA, NA, NA, NA), |
| 552 | PINGROUP(113, NA, NA, NA, NA, NA, NA, NA), | 951 | PINGROUP(113, grfc, NA, NA, NA, NA, NA, NA), |
| 553 | PINGROUP(114, NA, NA, NA, NA, NA, NA, NA), | 952 | PINGROUP(114, grfc, NA, NA, NA, NA, NA, NA), |
| 554 | PINGROUP(115, NA, NA, NA, NA, NA, NA, NA), | 953 | PINGROUP(115, grfc, NA, NA, NA, NA, NA, NA), |
| 555 | PINGROUP(116, NA, NA, NA, NA, NA, NA, NA), | 954 | PINGROUP(116, grfc, NA, NA, NA, NA, NA, NA), |
| 556 | PINGROUP(117, NA, NA, NA, NA, NA, NA, NA), | 955 | PINGROUP(117, grfc, NA, NA, NA, NA, NA, NA), |
| 557 | PINGROUP(118, NA, NA, NA, NA, NA, NA, NA), | 956 | PINGROUP(118, grfc, NA, NA, NA, NA, NA, NA), |
| 558 | PINGROUP(119, NA, NA, NA, NA, NA, NA, NA), | 957 | PINGROUP(119, grfc, NA, NA, NA, NA, NA, NA), |
| 559 | PINGROUP(120, NA, NA, NA, NA, NA, NA, NA), | 958 | PINGROUP(120, grfc, NA, NA, NA, NA, NA, NA), |
| 560 | PINGROUP(121, NA, NA, NA, NA, NA, NA, NA), | 959 | PINGROUP(121, grfc, NA, NA, NA, NA, NA, NA), |
| 561 | PINGROUP(122, NA, NA, NA, NA, NA, NA, NA), | 960 | PINGROUP(122, grfc, NA, NA, NA, NA, NA, NA), |
| 562 | PINGROUP(123, NA, NA, NA, NA, NA, NA, NA), | 961 | PINGROUP(123, grfc, NA, NA, NA, NA, NA, NA), |
| 563 | PINGROUP(124, NA, NA, NA, NA, NA, NA, NA), | 962 | PINGROUP(124, grfc, NA, NA, NA, NA, NA, NA), |
| 564 | PINGROUP(125, NA, NA, NA, NA, NA, NA, NA), | 963 | PINGROUP(125, grfc, NA, NA, NA, NA, NA, NA), |
| 565 | PINGROUP(126, NA, NA, NA, NA, NA, NA, NA), | 964 | PINGROUP(126, grfc, NA, NA, NA, NA, NA, NA), |
| 566 | PINGROUP(127, NA, NA, NA, NA, NA, NA, NA), | 965 | PINGROUP(127, grfc, NA, NA, NA, NA, NA, NA), |
| 567 | PINGROUP(128, NA, NA, NA, NA, NA, NA, NA), | 966 | PINGROUP(128, NA, grfc, NA, NA, NA, NA, NA), |
| 568 | PINGROUP(129, NA, NA, NA, NA, NA, NA, NA), | 967 | PINGROUP(129, NA, NA, NA, NA, NA, NA, NA), |
| 569 | PINGROUP(130, NA, NA, NA, NA, NA, NA, NA), | 968 | PINGROUP(130, NA, NA, NA, NA, NA, NA, NA), |
| 570 | PINGROUP(131, NA, NA, NA, NA, NA, NA, NA), | 969 | PINGROUP(131, NA, NA, NA, NA, NA, NA, NA), |
| @@ -572,16 +971,16 @@ static const struct msm_pingroup msm8x74_groups[] = { | |||
| 572 | PINGROUP(133, NA, NA, NA, NA, NA, NA, NA), | 971 | PINGROUP(133, NA, NA, NA, NA, NA, NA, NA), |
| 573 | PINGROUP(134, NA, NA, NA, NA, NA, NA, NA), | 972 | PINGROUP(134, NA, NA, NA, NA, NA, NA, NA), |
| 574 | PINGROUP(135, NA, NA, NA, NA, NA, NA, NA), | 973 | PINGROUP(135, NA, NA, NA, NA, NA, NA, NA), |
| 575 | PINGROUP(136, NA, NA, NA, NA, NA, NA, NA), | 974 | PINGROUP(136, NA, grfc, NA, NA, NA, NA, NA), |
| 576 | PINGROUP(137, NA, NA, NA, NA, NA, NA, NA), | 975 | PINGROUP(137, NA, grfc, NA, NA, NA, NA, NA), |
| 577 | PINGROUP(138, NA, NA, NA, NA, NA, NA, NA), | 976 | PINGROUP(138, NA, NA, NA, NA, NA, NA, NA), |
| 578 | PINGROUP(139, NA, NA, NA, NA, NA, NA, NA), | 977 | PINGROUP(139, NA, NA, NA, NA, NA, NA, NA), |
| 579 | PINGROUP(140, NA, NA, NA, NA, NA, NA, NA), | 978 | PINGROUP(140, NA, NA, NA, NA, NA, NA, NA), |
| 580 | PINGROUP(141, NA, NA, NA, NA, NA, NA, NA), | 979 | PINGROUP(141, NA, grfc, NA, NA, NA, NA, NA), |
| 581 | PINGROUP(143, NA, NA, NA, NA, NA, NA, NA), | 980 | PINGROUP(142, NA, NA, NA, NA, NA, NA, NA), |
| 582 | PINGROUP(143, NA, NA, NA, NA, NA, NA, NA), | 981 | PINGROUP(143, NA, grfc, NA, NA, NA, NA, NA), |
| 583 | PINGROUP(144, NA, NA, NA, NA, NA, NA, NA), | 982 | PINGROUP(144, hsic, NA, NA, NA, NA, NA, NA), |
| 584 | PINGROUP(145, NA, NA, NA, NA, NA, NA, NA), | 983 | PINGROUP(145, hsic, NA, NA, NA, NA, NA, NA), |
| 585 | SDC_PINGROUP(sdc1_clk, 0x2044, 13, 6), | 984 | SDC_PINGROUP(sdc1_clk, 0x2044, 13, 6), |
| 586 | SDC_PINGROUP(sdc1_cmd, 0x2044, 11, 3), | 985 | SDC_PINGROUP(sdc1_cmd, 0x2044, 11, 3), |
| 587 | SDC_PINGROUP(sdc1_data, 0x2044, 9, 0), | 986 | SDC_PINGROUP(sdc1_data, 0x2044, 9, 0), |
