]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: Intel: create atom folder and move atom platform files in
authorJie Yang <yang.jie@intel.com>
Thu, 2 Apr 2015 07:37:04 +0000 (15:37 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Apr 2015 16:49:45 +0000 (17:49 +0100)
Restructure the sound/soc/intel/ directory: create atom folder, and move
sst atom platform files here.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
21 files changed:
sound/soc/intel/Makefile
sound/soc/intel/atom/Makefile [new file with mode: 0644]
sound/soc/intel/atom/sst-atom-controls.c [moved from sound/soc/intel/sst-atom-controls.c with 100% similarity]
sound/soc/intel/atom/sst-atom-controls.h [moved from sound/soc/intel/sst-atom-controls.h with 100% similarity]
sound/soc/intel/atom/sst-mfld-dsp.h [moved from sound/soc/intel/sst-mfld-dsp.h with 100% similarity]
sound/soc/intel/atom/sst-mfld-platform-compress.c [moved from sound/soc/intel/sst-mfld-platform-compress.c with 100% similarity]
sound/soc/intel/atom/sst-mfld-platform-pcm.c [moved from sound/soc/intel/sst-mfld-platform-pcm.c with 100% similarity]
sound/soc/intel/atom/sst-mfld-platform.h [moved from sound/soc/intel/sst-mfld-platform.h with 100% similarity]
sound/soc/intel/atom/sst/Makefile [moved from sound/soc/intel/sst/Makefile with 100% similarity]
sound/soc/intel/atom/sst/sst.c [moved from sound/soc/intel/sst/sst.c with 99% similarity]
sound/soc/intel/atom/sst/sst.h [moved from sound/soc/intel/sst/sst.h with 100% similarity]
sound/soc/intel/atom/sst/sst_acpi.c [moved from sound/soc/intel/sst/sst_acpi.c with 99% similarity]
sound/soc/intel/atom/sst/sst_drv_interface.c [moved from sound/soc/intel/sst/sst_drv_interface.c with 99% similarity]
sound/soc/intel/atom/sst/sst_ipc.c [moved from sound/soc/intel/sst/sst_ipc.c with 99% similarity]
sound/soc/intel/atom/sst/sst_loader.c [moved from sound/soc/intel/sst/sst_loader.c with 99% similarity]
sound/soc/intel/atom/sst/sst_pci.c [moved from sound/soc/intel/sst/sst_pci.c with 100% similarity]
sound/soc/intel/atom/sst/sst_pvt.c [moved from sound/soc/intel/sst/sst_pvt.c with 99% similarity]
sound/soc/intel/atom/sst/sst_stream.c [moved from sound/soc/intel/sst/sst_stream.c with 99% similarity]
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c

index 62de82af670367af94ce9ceea872ca78c61525a9..cd9aee9871a36a4400646441f1105d949fe5a2af 100644 (file)
@@ -1,19 +1,10 @@
 # Core support
 obj-$(CONFIG_SND_SOC_INTEL_SST) += common/
 
-snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \
-       sst-mfld-platform-compress.o sst-atom-controls.o
-snd-soc-mfld-machine-objs := mfld_machine.o
-
-obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o
-obj-$(CONFIG_SND_MFLD_MACHINE) += snd-soc-mfld-machine.o
-
 # Platform Support
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/
 obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
+obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += atom/
 
 # Machine support
 obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/
-
-# DSP driver
-obj-$(CONFIG_SND_SST_IPC) += sst/
diff --git a/sound/soc/intel/atom/Makefile b/sound/soc/intel/atom/Makefile
new file mode 100644 (file)
index 0000000..ce8074f
--- /dev/null
@@ -0,0 +1,7 @@
+snd-soc-sst-mfld-platform-objs := sst-mfld-platform-pcm.o \
+               sst-mfld-platform-compress.o sst-atom-controls.o
+
+obj-$(CONFIG_SND_SST_MFLD_PLATFORM) += snd-soc-sst-mfld-platform.o
+
+# DSP driver
+obj-$(CONFIG_SND_SST_IPC) += sst/
similarity index 99%
rename from sound/soc/intel/sst/sst.c
rename to sound/soc/intel/atom/sst/sst.c
index 26b1e31c5003451ef7cd49ab0b7074acf564c556..96c2e420cce61f57be72baa4031a29e3ee483c06 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>");
 MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>");
similarity index 99%
rename from sound/soc/intel/sst/sst_acpi.c
rename to sound/soc/intel/atom/sst/sst_acpi.c
index 2a19cbcac811c839c3b25f2b300ba454420a7feb..678f36ed97a5e9cbe05c8f8baa76147806251bc1 100644 (file)
@@ -39,7 +39,7 @@
 #include <acpi/actypes.h>
 #include <acpi/acpi_bus.h>
 #include "../sst-mfld-platform.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 #include "sst.h"
 
 struct sst_machines {
similarity index 99%
rename from sound/soc/intel/sst/sst_drv_interface.c
rename to sound/soc/intel/atom/sst/sst_drv_interface.c
index 36d68b8dfd288c4aff983a81b2ae8e5b8cb5721e..718838b3fc24aaf4be007304c3e2a203375727bb 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 
 
similarity index 99%
rename from sound/soc/intel/sst/sst_ipc.c
rename to sound/soc/intel/atom/sst/sst_ipc.c
index 3943ae856c31959b9814b6df98e87a1b94f31f96..5a278618466c5a326fd23c92f4b45ff07e3b22f3 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 struct sst_block *sst_create_block(struct intel_sst_drv *ctx,
                                        u32 msg_id, u32 drv_id)
similarity index 99%
rename from sound/soc/intel/sst/sst_loader.c
rename to sound/soc/intel/atom/sst/sst_loader.c
index 6622e66e17962eec0dfffeeb8aae7dd06e7d420c..33917146d9c445d9919c3dacad2bf904f04b1d9a 100644 (file)
@@ -37,7 +37,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 void memcpy32_toio(void __iomem *dst, const void *src, int count)
 {
similarity index 99%
rename from sound/soc/intel/sst/sst_pvt.c
rename to sound/soc/intel/atom/sst/sst_pvt.c
index 2bb0e9e0677d82f46a95484b21cb2b9fcd519fd5..3c178444638bd94ad77d50a002e474eaee962352 100644 (file)
@@ -34,7 +34,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 int sst_shim_write(void __iomem *addr, int offset, int value)
 {
similarity index 99%
rename from sound/soc/intel/sst/sst_stream.c
rename to sound/soc/intel/atom/sst/sst_stream.c
index 7638fca02de0786b2cdedda8a945714a62d67572..a74c64c7053cfa47f41fbd0abb6ec4b144b8f21a 100644 (file)
@@ -31,7 +31,7 @@
 #include <asm/platform_sst_audio.h>
 #include "../sst-mfld-platform.h"
 #include "sst.h"
-#include "../common/sst-dsp.h"
+#include "../../common/sst-dsp.h"
 
 int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params)
 {
index 5c2d8fabb5ede433b0b2ee1d53d2065c3e4f6173..7f55d59024a88bd7b53ddd6f66a00fc8adeeaabd 100644 (file)
@@ -27,7 +27,7 @@
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include "../../codecs/rt5640.h"
-#include "../sst-atom-controls.h"
+#include "../atom/sst-atom-controls.h"
 
 static const struct snd_soc_dapm_widget byt_dapm_widgets[] = {
        SND_SOC_DAPM_HP("Headphone", NULL),
index 93bb6711ba3d3663c8715586eba7073d25cf4948..20a28b22e30fea84853f798f960130cbdf99bf7f 100644 (file)
@@ -28,7 +28,7 @@
 #include <sound/soc.h>
 #include <sound/jack.h>
 #include "../../codecs/rt5645.h"
-#include "../sst-atom-controls.h"
+#include "../atom/sst-atom-controls.h"
 
 #define CHT_PLAT_CLK_3_HZ      19200000
 #define CHT_CODEC_DAI  "rt5645-aif1"
index 2cea002a31bb91cd7a774bc7a1a06c1a1e0c2f45..2c9cc5be439e654bccb875df435eb651cf25163f 100644 (file)
@@ -24,7 +24,7 @@
 #include <sound/soc.h>
 #include <sound/jack.h>
 #include "../../codecs/rt5670.h"
-#include "../sst-atom-controls.h"
+#include "../atom/sst-atom-controls.h"
 
 /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */
 #define CHT_PLAT_CLK_3_HZ      19200000