diff options
Diffstat (limited to 'include/linux/mfd/rtsx_pci.h')
-rw-r--r-- | include/linux/mfd/rtsx_pci.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h index 4b117a3f54d4..26ea7f1b7caf 100644 --- a/include/linux/mfd/rtsx_pci.h +++ b/include/linux/mfd/rtsx_pci.h | |||
@@ -465,7 +465,7 @@ | |||
465 | #define SD_RSP_TYPE_R6 0x01 | 465 | #define SD_RSP_TYPE_R6 0x01 |
466 | #define SD_RSP_TYPE_R7 0x01 | 466 | #define SD_RSP_TYPE_R7 0x01 |
467 | 467 | ||
468 | /* SD_CONFIURE3 */ | 468 | /* SD_CONFIGURE3 */ |
469 | #define SD_RSP_80CLK_TIMEOUT_EN 0x01 | 469 | #define SD_RSP_80CLK_TIMEOUT_EN 0x01 |
470 | 470 | ||
471 | /* Card Transfer Reset Register */ | 471 | /* Card Transfer Reset Register */ |
@@ -581,8 +581,11 @@ | |||
581 | #define CARD_GPIO_DIR 0xFD57 | 581 | #define CARD_GPIO_DIR 0xFD57 |
582 | #define CARD_GPIO 0xFD58 | 582 | #define CARD_GPIO 0xFD58 |
583 | #define CARD_DATA_SOURCE 0xFD5B | 583 | #define CARD_DATA_SOURCE 0xFD5B |
584 | #define SD30_CLK_DRIVE_SEL 0xFD5A | ||
584 | #define CARD_SELECT 0xFD5C | 585 | #define CARD_SELECT 0xFD5C |
585 | #define SD30_DRIVE_SEL 0xFD5E | 586 | #define SD30_DRIVE_SEL 0xFD5E |
587 | #define SD30_CMD_DRIVE_SEL 0xFD5E | ||
588 | #define SD30_DAT_DRIVE_SEL 0xFD5F | ||
586 | #define CARD_CLK_EN 0xFD69 | 589 | #define CARD_CLK_EN 0xFD69 |
587 | #define SDIO_CTRL 0xFD6B | 590 | #define SDIO_CTRL 0xFD6B |
588 | #define CD_PAD_CTL 0xFD73 | 591 | #define CD_PAD_CTL 0xFD73 |
@@ -655,6 +658,8 @@ | |||
655 | #define MSGTXDATA3 0xFE47 | 658 | #define MSGTXDATA3 0xFE47 |
656 | #define MSGTXCTL 0xFE48 | 659 | #define MSGTXCTL 0xFE48 |
657 | #define PETXCFG 0xFE49 | 660 | #define PETXCFG 0xFE49 |
661 | #define LTR_CTL 0xFE4A | ||
662 | #define OBFF_CFG 0xFE4C | ||
658 | 663 | ||
659 | #define CDRESUMECTL 0xFE52 | 664 | #define CDRESUMECTL 0xFE52 |
660 | #define WAKE_SEL_CTL 0xFE54 | 665 | #define WAKE_SEL_CTL 0xFE54 |
@@ -735,6 +740,7 @@ struct rtsx_pcr { | |||
735 | 740 | ||
736 | unsigned int card_inserted; | 741 | unsigned int card_inserted; |
737 | unsigned int card_removed; | 742 | unsigned int card_removed; |
743 | unsigned int card_exist; | ||
738 | 744 | ||
739 | struct delayed_work carddet_work; | 745 | struct delayed_work carddet_work; |
740 | struct delayed_work idle_work; | 746 | struct delayed_work idle_work; |
@@ -799,6 +805,7 @@ int rtsx_pci_switch_clock(struct rtsx_pcr *pcr, unsigned int card_clock, | |||
799 | u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk); | 805 | u8 ssc_depth, bool initial_mode, bool double_clk, bool vpclk); |
800 | int rtsx_pci_card_power_on(struct rtsx_pcr *pcr, int card); | 806 | int rtsx_pci_card_power_on(struct rtsx_pcr *pcr, int card); |
801 | int rtsx_pci_card_power_off(struct rtsx_pcr *pcr, int card); | 807 | int rtsx_pci_card_power_off(struct rtsx_pcr *pcr, int card); |
808 | int rtsx_pci_card_exclusive_check(struct rtsx_pcr *pcr, int card); | ||
802 | int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage); | 809 | int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage); |
803 | unsigned int rtsx_pci_card_exist(struct rtsx_pcr *pcr); | 810 | unsigned int rtsx_pci_card_exist(struct rtsx_pcr *pcr); |
804 | void rtsx_pci_complete_unfinished_transfer(struct rtsx_pcr *pcr); | 811 | void rtsx_pci_complete_unfinished_transfer(struct rtsx_pcr *pcr); |