summaryrefslogtreecommitdiff
path: root/include/linux/rtsx_pci.h
diff options
context:
space:
mode:
authorRicky WU <ricky_wu@realtek.com>2022-03-21 14:18:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-09 16:37:36 +0300
commitb1c5f3085149e9643b125eb10aae0e74644d7dcc (patch)
treec1a7125024781df70f850170cbf0f8d7eb4070cd /include/linux/rtsx_pci.h
parent35a7609639c49f76f13f206402cbf692c4ae3e4e (diff)
downloadlinux-b1c5f3085149e9643b125eb10aae0e74644d7dcc.tar.xz
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/linux/rtsx_pci.h')
-rw-r--r--include/linux/rtsx_pci.h3
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)