aboutsummaryrefslogtreecommitdiff
path: root/include/linux/soundwire/sdw_registers.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2024-03-26 09:01:20 +0000
committerVinod Koul <vkoul@kernel.org>2024-04-05 17:19:15 +0530
commitbc13cf3f6e63dd708ccd160a28e6bb696af7e9f6 (patch)
treef0270ec3b90631b1bb64e9b010dd5b30242c345f /include/linux/soundwire/sdw_registers.h
parent59401c3c08e1a306e29a8d6c826685e2c5c6c794 (diff)
soundwire: clarify maximum allowed address
The existing code sets the maximum address at 0x80000000, which is not completely accurate. The last 2 Gbytes are indeed reserved, but so are the 896 Mbytes just before. The maximum address which can be used with paging or BRA is 0x47FFFFFF per Table 131 of the SoundWire 1.2.1 specification. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20240326090122.1051806-6-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/soundwire/sdw_registers.h')
-rw-r--r--include/linux/soundwire/sdw_registers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soundwire/sdw_registers.h b/include/linux/soundwire/sdw_registers.h
index 138bec908c40..658b10fa5b20 100644
--- a/include/linux/soundwire/sdw_registers.h
+++ b/include/linux/soundwire/sdw_registers.h
@@ -13,7 +13,7 @@
#define SDW_REG_NO_PAGE 0x00008000
#define SDW_REG_OPTIONAL_PAGE 0x00010000
-#define SDW_REG_MAX 0x80000000
+#define SDW_REG_MAX 0x48000000
#define SDW_DPN_SIZE 0x100
#define SDW_BANK1_OFFSET 0x10