diff options
author | Ricky WU <ricky_wu@realtek.com> | 2022-03-21 11:18:30 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-09 15:37:36 +0200 |
commit | b1c5f3085149e9643b125eb10aae0e74644d7dcc (patch) | |
tree | c1a7125024781df70f850170cbf0f8d7eb4070cd /include | |
parent | 35a7609639c49f76f13f206402cbf692c4ae3e4e (diff) | |
download | linux-stable-b1c5f3085149e9643b125eb10aae0e74644d7dcc.tar.gz linux-stable-b1c5f3085149e9643b125eb10aae0e74644d7dcc.tar.bz2 linux-stable-b1c5f3085149e9643b125eb10aae0e74644d7dcc.zip |
misc: rtsx: add rts5261 efuse function
move rts5261_fetch_vendor_settings() to rts5261_init_from_hw()
make sure it be called from S3 or D3
add more register setting when efuse is set
read efuse setting to register on init flow
Signed-off-by: Ricky Wu <Ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/18101ecb0f0749ccb9f564eda171ba40@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rtsx_pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/rtsx_pci.h b/include/linux/rtsx_pci.h index 3d780b44e678..534038d962e4 100644 --- a/include/linux/rtsx_pci.h +++ b/include/linux/rtsx_pci.h @@ -1067,6 +1067,9 @@ #define PCR_SETTING_REG1 0x724 #define PCR_SETTING_REG2 0x814 #define PCR_SETTING_REG3 0x747 +#define PCR_SETTING_REG4 0x818 +#define PCR_SETTING_REG5 0x81C + #define rtsx_pci_init_cmd(pcr) ((pcr)->ci = 0) |