summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/platform_sst_audio.h
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2014-10-24 13:49:48 +0530
committerMark Brown <broonie@kernel.org>2014-10-27 18:02:38 +0000
commit9a80e8f597f3bde0e1d4a4abb021d475520005a5 (patch)
tree040fb18f72a787f93fe29611f35658cbdef333a0 /arch/x86/include/asm/platform_sst_audio.h
parent43c5e23197a187a6f4dade97f3bd23e35636ab1f (diff)
downloadblackbird-obmc-linux-9a80e8f597f3bde0e1d4a4abb021d475520005a5.tar.gz
blackbird-obmc-linux-9a80e8f597f3bde0e1d4a4abb021d475520005a5.zip
ASoC: Intel: mrfld: Define sst_res_info for acpi
To query resources in ACPI systems we need to define a data structure. This would be set as platform_info for the devices. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/platform_sst_audio.h')
-rw-r--r--arch/x86/include/asm/platform_sst_audio.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/x86/include/asm/platform_sst_audio.h b/arch/x86/include/asm/platform_sst_audio.h
index 6021dee3866a..7249e6d0902d 100644
--- a/arch/x86/include/asm/platform_sst_audio.h
+++ b/arch/x86/include/asm/platform_sst_audio.h
@@ -102,6 +102,27 @@ struct sst_lib_dnld_info {
bool mod_ddr_dnld;
};
+struct sst_res_info {
+ unsigned int shim_offset;
+ unsigned int shim_size;
+ unsigned int shim_phy_addr;
+ unsigned int ssp0_offset;
+ unsigned int ssp0_size;
+ unsigned int dma0_offset;
+ unsigned int dma0_size;
+ unsigned int dma1_offset;
+ unsigned int dma1_size;
+ unsigned int iram_offset;
+ unsigned int iram_size;
+ unsigned int dram_offset;
+ unsigned int dram_size;
+ unsigned int mbox_offset;
+ unsigned int mbox_size;
+ unsigned int acpi_lpe_res_index;
+ unsigned int acpi_ddr_index;
+ unsigned int acpi_ipc_irq_index;
+};
+
struct sst_ipc_info {
int ipc_offset;
unsigned int mbox_recv_off;
@@ -110,7 +131,9 @@ struct sst_ipc_info {
struct sst_platform_info {
const struct sst_info *probe_data;
const struct sst_ipc_info *ipc_info;
+ const struct sst_res_info *res_info;
const struct sst_lib_dnld_info *lib_info;
+ const char *platform;
};
int add_sst_platform_device(void);
#endif
OpenPOWER on IntegriCloud