diff options
author | Jie Yang <yang.jie@intel.com> | 2015-04-02 03:37:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-06 12:49:45 -0400 |
commit | e56c72d5f201044b14191c5b83a25e17f2d68ccf (patch) | |
tree | cd94b77a85995c29f5d3c6dcbda9498fb268d7f7 | |
parent | ba57f68235cf6e9105bf649b01cf9eafc321ea7b (diff) |
ASoC: Intel: create boards folder and move sst boards files in
Restructure the sound/soc/intel/ directory: create boards folder, and move
sst boards files here.
Signed-off-by: Jie Yang <yang.jie@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/Makefile | 16 | ||||
-rw-r--r-- | sound/soc/intel/boards/Makefile | 15 | ||||
-rw-r--r-- | sound/soc/intel/boards/broadwell.c (renamed from sound/soc/intel/broadwell.c) | 6 | ||||
-rw-r--r-- | sound/soc/intel/boards/byt-max98090.c (renamed from sound/soc/intel/byt-max98090.c) | 2 | ||||
-rw-r--r-- | sound/soc/intel/boards/byt-rt5640.c (renamed from sound/soc/intel/byt-rt5640.c) | 4 | ||||
-rw-r--r-- | sound/soc/intel/boards/bytcr_rt5640.c (renamed from sound/soc/intel/bytcr_dpcm_rt5640.c) | 4 | ||||
-rw-r--r-- | sound/soc/intel/boards/cht_bsw_rt5645.c (renamed from sound/soc/intel/cht_bsw_rt5645.c) | 4 | ||||
-rw-r--r-- | sound/soc/intel/boards/cht_bsw_rt5672.c (renamed from sound/soc/intel/cht_bsw_rt5672.c) | 4 | ||||
-rw-r--r-- | sound/soc/intel/boards/haswell.c (renamed from sound/soc/intel/haswell.c) | 6 | ||||
-rw-r--r-- | sound/soc/intel/boards/mfld_machine.c (renamed from sound/soc/intel/mfld_machine.c) | 0 |
10 files changed, 31 insertions, 30 deletions
diff --git a/sound/soc/intel/Makefile b/sound/soc/intel/Makefile index eb3efce4ec24..ac0248f100ff 100644 --- a/sound/soc/intel/Makefile +++ b/sound/soc/intel/Makefile | |||
@@ -16,21 +16,7 @@ snd-soc-sst-baytrail-pcm-objs := \ | |||
16 | obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o | 16 | obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o |
17 | 17 | ||
18 | # Machine support | 18 | # Machine support |
19 | snd-soc-sst-haswell-objs := haswell.o | 19 | obj-$(CONFIG_SND_SOC_INTEL_SST) += boards/ |
20 | snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o | ||
21 | snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o | ||
22 | snd-soc-sst-broadwell-objs := broadwell.o | ||
23 | snd-soc-sst-bytcr-dpcm-rt5640-objs := bytcr_dpcm_rt5640.o | ||
24 | snd-soc-sst-cht-bsw-rt5672-objs := cht_bsw_rt5672.o | ||
25 | snd-soc-sst-cht-bsw-rt5645-objs := cht_bsw_rt5645.o | ||
26 | |||
27 | obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o | ||
28 | obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o | ||
29 | obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o | ||
30 | obj-$(CONFIG_SND_SOC_INTEL_BROADWELL_MACH) += snd-soc-sst-broadwell.o | ||
31 | obj-$(CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH) += snd-soc-sst-bytcr-dpcm-rt5640.o | ||
32 | obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH) += snd-soc-sst-cht-bsw-rt5672.o | ||
33 | obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH) += snd-soc-sst-cht-bsw-rt5645.o | ||
34 | 20 | ||
35 | # DSP driver | 21 | # DSP driver |
36 | obj-$(CONFIG_SND_SST_IPC) += sst/ | 22 | obj-$(CONFIG_SND_SST_IPC) += sst/ |
diff --git a/sound/soc/intel/boards/Makefile b/sound/soc/intel/boards/Makefile new file mode 100644 index 000000000000..f8237f0044eb --- /dev/null +++ b/sound/soc/intel/boards/Makefile | |||
@@ -0,0 +1,15 @@ | |||
1 | snd-soc-sst-haswell-objs := haswell.o | ||
2 | snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o | ||
3 | snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o | ||
4 | snd-soc-sst-broadwell-objs := broadwell.o | ||
5 | snd-soc-sst-bytcr-rt5640-objs := bytcr_rt5640.o | ||
6 | snd-soc-sst-cht-bsw-rt5672-objs := cht_bsw_rt5672.o | ||
7 | snd-soc-sst-cht-bsw-rt5645-objs := cht_bsw_rt5645.o | ||
8 | |||
9 | obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o | ||
10 | obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o | ||
11 | obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o | ||
12 | obj-$(CONFIG_SND_SOC_INTEL_BROADWELL_MACH) += snd-soc-sst-broadwell.o | ||
13 | obj-$(CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH) += snd-soc-sst-bytcr-rt5640.o | ||
14 | obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH) += snd-soc-sst-cht-bsw-rt5672.o | ||
15 | obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH) += snd-soc-sst-cht-bsw-rt5645.o | ||
diff --git a/sound/soc/intel/broadwell.c b/sound/soc/intel/boards/broadwell.c index 6c75b6bd0049..8bafaf6ceab1 100644 --- a/sound/soc/intel/broadwell.c +++ b/sound/soc/intel/boards/broadwell.c | |||
@@ -22,10 +22,10 @@ | |||
22 | #include <sound/jack.h> | 22 | #include <sound/jack.h> |
23 | #include <sound/pcm_params.h> | 23 | #include <sound/pcm_params.h> |
24 | 24 | ||
25 | #include "sst-dsp.h" | 25 | #include "../common/sst-dsp.h" |
26 | #include "sst-haswell-ipc.h" | 26 | #include "../haswell/sst-haswell-ipc.h" |
27 | 27 | ||
28 | #include "../codecs/rt286.h" | 28 | #include "../../codecs/rt286.h" |
29 | 29 | ||
30 | static struct snd_soc_jack broadwell_headset; | 30 | static struct snd_soc_jack broadwell_headset; |
31 | /* Headset jack detection DAPM pins */ | 31 | /* Headset jack detection DAPM pins */ |
diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/boards/byt-max98090.c index d8b1f038da1c..7ab8cc9fbfd5 100644 --- a/sound/soc/intel/byt-max98090.c +++ b/sound/soc/intel/boards/byt-max98090.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <sound/pcm_params.h> | 24 | #include <sound/pcm_params.h> |
25 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
26 | #include <sound/jack.h> | 26 | #include <sound/jack.h> |
27 | #include "../codecs/max98090.h" | 27 | #include "../../codecs/max98090.h" |
28 | 28 | ||
29 | struct byt_max98090_private { | 29 | struct byt_max98090_private { |
30 | struct snd_soc_jack jack; | 30 | struct snd_soc_jack jack; |
diff --git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/boards/byt-rt5640.c index 354eaad886e1..ae89b9b966d9 100644 --- a/sound/soc/intel/byt-rt5640.c +++ b/sound/soc/intel/boards/byt-rt5640.c | |||
@@ -23,9 +23,9 @@ | |||
23 | #include <sound/pcm_params.h> | 23 | #include <sound/pcm_params.h> |
24 | #include <sound/soc.h> | 24 | #include <sound/soc.h> |
25 | #include <sound/jack.h> | 25 | #include <sound/jack.h> |
26 | #include "../codecs/rt5640.h" | 26 | #include "../../codecs/rt5640.h" |
27 | 27 | ||
28 | #include "sst-dsp.h" | 28 | #include "../common/sst-dsp.h" |
29 | 29 | ||
30 | static const struct snd_soc_dapm_widget byt_rt5640_widgets[] = { | 30 | static const struct snd_soc_dapm_widget byt_rt5640_widgets[] = { |
31 | SND_SOC_DAPM_HP("Headphone", NULL), | 31 | SND_SOC_DAPM_HP("Headphone", NULL), |
diff --git a/sound/soc/intel/bytcr_dpcm_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index 3b262d01c1b3..5c2d8fabb5ed 100644 --- a/sound/soc/intel/bytcr_dpcm_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <sound/pcm.h> | 26 | #include <sound/pcm.h> |
27 | #include <sound/pcm_params.h> | 27 | #include <sound/pcm_params.h> |
28 | #include <sound/soc.h> | 28 | #include <sound/soc.h> |
29 | #include "../codecs/rt5640.h" | 29 | #include "../../codecs/rt5640.h" |
30 | #include "sst-atom-controls.h" | 30 | #include "../sst-atom-controls.h" |
31 | 31 | ||
32 | static const struct snd_soc_dapm_widget byt_dapm_widgets[] = { | 32 | static const struct snd_soc_dapm_widget byt_dapm_widgets[] = { |
33 | SND_SOC_DAPM_HP("Headphone", NULL), | 33 | SND_SOC_DAPM_HP("Headphone", NULL), |
diff --git a/sound/soc/intel/cht_bsw_rt5645.c b/sound/soc/intel/boards/cht_bsw_rt5645.c index 012227997ed9..93bb6711ba3d 100644 --- a/sound/soc/intel/cht_bsw_rt5645.c +++ b/sound/soc/intel/boards/cht_bsw_rt5645.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include <sound/pcm_params.h> | 27 | #include <sound/pcm_params.h> |
28 | #include <sound/soc.h> | 28 | #include <sound/soc.h> |
29 | #include <sound/jack.h> | 29 | #include <sound/jack.h> |
30 | #include "../codecs/rt5645.h" | 30 | #include "../../codecs/rt5645.h" |
31 | #include "sst-atom-controls.h" | 31 | #include "../sst-atom-controls.h" |
32 | 32 | ||
33 | #define CHT_PLAT_CLK_3_HZ 19200000 | 33 | #define CHT_PLAT_CLK_3_HZ 19200000 |
34 | #define CHT_CODEC_DAI "rt5645-aif1" | 34 | #define CHT_CODEC_DAI "rt5645-aif1" |
diff --git a/sound/soc/intel/cht_bsw_rt5672.c b/sound/soc/intel/boards/cht_bsw_rt5672.c index 4204fc4f1bad..2cea002a31bb 100644 --- a/sound/soc/intel/cht_bsw_rt5672.c +++ b/sound/soc/intel/boards/cht_bsw_rt5672.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <sound/pcm_params.h> | 23 | #include <sound/pcm_params.h> |
24 | #include <sound/soc.h> | 24 | #include <sound/soc.h> |
25 | #include <sound/jack.h> | 25 | #include <sound/jack.h> |
26 | #include "../codecs/rt5670.h" | 26 | #include "../../codecs/rt5670.h" |
27 | #include "sst-atom-controls.h" | 27 | #include "../sst-atom-controls.h" |
28 | 28 | ||
29 | /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */ | 29 | /* The platform clock #3 outputs 19.2Mhz clock to codec as I2S MCLK */ |
30 | #define CHT_PLAT_CLK_3_HZ 19200000 | 30 | #define CHT_PLAT_CLK_3_HZ 19200000 |
diff --git a/sound/soc/intel/haswell.c b/sound/soc/intel/boards/haswell.c index 00fddd3f5dfb..22558572cb9c 100644 --- a/sound/soc/intel/haswell.c +++ b/sound/soc/intel/boards/haswell.c | |||
@@ -21,10 +21,10 @@ | |||
21 | #include <sound/soc.h> | 21 | #include <sound/soc.h> |
22 | #include <sound/pcm_params.h> | 22 | #include <sound/pcm_params.h> |
23 | 23 | ||
24 | #include "sst-dsp.h" | 24 | #include "../common/sst-dsp.h" |
25 | #include "sst-haswell-ipc.h" | 25 | #include "../haswell/sst-haswell-ipc.h" |
26 | 26 | ||
27 | #include "../codecs/rt5640.h" | 27 | #include "../../codecs/rt5640.h" |
28 | 28 | ||
29 | /* Haswell ULT platforms have a Headphone and Mic jack */ | 29 | /* Haswell ULT platforms have a Headphone and Mic jack */ |
30 | static const struct snd_soc_dapm_widget haswell_widgets[] = { | 30 | static const struct snd_soc_dapm_widget haswell_widgets[] = { |
diff --git a/sound/soc/intel/mfld_machine.c b/sound/soc/intel/boards/mfld_machine.c index 49c09a0add79..49c09a0add79 100644 --- a/sound/soc/intel/mfld_machine.c +++ b/sound/soc/intel/boards/mfld_machine.c | |||