diff options
author | Micky Ching <micky_ching@realsil.com.cn> | 2015-06-28 21:19:39 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-30 13:19:51 -0400 |
commit | ce6a5acc93876f619f32f8f60c7c6e549e46d962 (patch) | |
tree | d89dbff3343ad44de6bcc01238734916e5381de3 /include/linux/mfd/rtsx_pci.h | |
parent | 6f44b14870520e2758b758cc3b3b4c09c4b715ab (diff) |
mfd: rtsx: Add support for rts522A
rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227.
Add it to file mfd/rts5227.c to support this chip.
Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/rtsx_pci.h')
-rw-r--r-- | include/linux/mfd/rtsx_pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h index ff843e7ca23d..7eb7cbac0a9a 100644 --- a/include/linux/mfd/rtsx_pci.h +++ b/include/linux/mfd/rtsx_pci.h | |||
@@ -589,6 +589,7 @@ | |||
589 | #define FORCE_ASPM_NO_ASPM 0x00 | 589 | #define FORCE_ASPM_NO_ASPM 0x00 |
590 | #define PM_CLK_FORCE_CTL 0xFE58 | 590 | #define PM_CLK_FORCE_CTL 0xFE58 |
591 | #define FUNC_FORCE_CTL 0xFE59 | 591 | #define FUNC_FORCE_CTL 0xFE59 |
592 | #define FUNC_FORCE_UPME_XMT_DBG 0x02 | ||
592 | #define PERST_GLITCH_WIDTH 0xFE5C | 593 | #define PERST_GLITCH_WIDTH 0xFE5C |
593 | #define CHANGE_LINK_STATE 0xFE5B | 594 | #define CHANGE_LINK_STATE 0xFE5B |
594 | #define RESET_LOAD_REG 0xFE5E | 595 | #define RESET_LOAD_REG 0xFE5E |
@@ -712,6 +713,7 @@ | |||
712 | #define PHY_RCR1 0x02 | 713 | #define PHY_RCR1 0x02 |
713 | #define PHY_RCR1_ADP_TIME_4 0x0400 | 714 | #define PHY_RCR1_ADP_TIME_4 0x0400 |
714 | #define PHY_RCR1_VCO_COARSE 0x001F | 715 | #define PHY_RCR1_VCO_COARSE 0x001F |
716 | #define PHY_RCR1_INIT_27S 0x0A1F | ||
715 | #define PHY_SSCCR2 0x02 | 717 | #define PHY_SSCCR2 0x02 |
716 | #define PHY_SSCCR2_PLL_NCODE 0x0A00 | 718 | #define PHY_SSCCR2_PLL_NCODE 0x0A00 |
717 | #define PHY_SSCCR2_TIME0 0x001C | 719 | #define PHY_SSCCR2_TIME0 0x001C |
@@ -724,6 +726,7 @@ | |||
724 | #define PHY_RCR2_FREQSEL_12 0x0040 | 726 | #define PHY_RCR2_FREQSEL_12 0x0040 |
725 | #define PHY_RCR2_CDR_SC_12P 0x0010 | 727 | #define PHY_RCR2_CDR_SC_12P 0x0010 |
726 | #define PHY_RCR2_CALIB_LATE 0x0002 | 728 | #define PHY_RCR2_CALIB_LATE 0x0002 |
729 | #define PHY_RCR2_INIT_27S 0xC152 | ||
727 | #define PHY_SSCCR3 0x03 | 730 | #define PHY_SSCCR3 0x03 |
728 | #define PHY_SSCCR3_STEP_IN 0x2740 | 731 | #define PHY_SSCCR3_STEP_IN 0x2740 |
729 | #define PHY_SSCCR3_CHECK_DELAY 0x0008 | 732 | #define PHY_SSCCR3_CHECK_DELAY 0x0008 |
@@ -800,12 +803,14 @@ | |||
800 | #define PHY_ANA1A_RXT_BIST 0x0500 | 803 | #define PHY_ANA1A_RXT_BIST 0x0500 |
801 | #define PHY_ANA1A_TXR_BIST 0x0040 | 804 | #define PHY_ANA1A_TXR_BIST 0x0040 |
802 | #define PHY_ANA1A_REV 0x0006 | 805 | #define PHY_ANA1A_REV 0x0006 |
806 | #define PHY_FLD0_INIT_27S 0x2546 | ||
803 | #define PHY_FLD1 0x1B | 807 | #define PHY_FLD1 0x1B |
804 | #define PHY_FLD2 0x1C | 808 | #define PHY_FLD2 0x1C |
805 | #define PHY_FLD3 0x1D | 809 | #define PHY_FLD3 0x1D |
806 | #define PHY_FLD3_TIMER_4 0x0800 | 810 | #define PHY_FLD3_TIMER_4 0x0800 |
807 | #define PHY_FLD3_TIMER_6 0x0020 | 811 | #define PHY_FLD3_TIMER_6 0x0020 |
808 | #define PHY_FLD3_RXDELINK 0x0004 | 812 | #define PHY_FLD3_RXDELINK 0x0004 |
813 | #define PHY_FLD3_INIT_27S 0x0004 | ||
809 | #define PHY_ANA1D 0x1D | 814 | #define PHY_ANA1D 0x1D |
810 | #define PHY_ANA1D_DEBUG_ADDR 0x0004 | 815 | #define PHY_ANA1D_DEBUG_ADDR 0x0004 |
811 | #define _PHY_FLD0 0x1D | 816 | #define _PHY_FLD0 0x1D |
@@ -824,6 +829,7 @@ | |||
824 | #define PHY_FLD4_BER_COUNT 0x00E0 | 829 | #define PHY_FLD4_BER_COUNT 0x00E0 |
825 | #define PHY_FLD4_BER_TIMER 0x000A | 830 | #define PHY_FLD4_BER_TIMER 0x000A |
826 | #define PHY_FLD4_BER_CHK_EN 0x0001 | 831 | #define PHY_FLD4_BER_CHK_EN 0x0001 |
832 | #define PHY_FLD4_INIT_27S 0x5C7F | ||
827 | #define PHY_DIG1E 0x1E | 833 | #define PHY_DIG1E 0x1E |
828 | #define PHY_DIG1E_REV 0x4000 | 834 | #define PHY_DIG1E_REV 0x4000 |
829 | #define PHY_DIG1E_D0_X_D1 0x1000 | 835 | #define PHY_DIG1E_D0_X_D1 0x1000 |