All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, Curtis Malainey <cujomalainey@chromium.org>,
	broonie@kernel.org,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [alsa-devel] [PATCH 6/8] ASoC: SOF: Intel: split cht and byt debug window sizes
Date: Mon,  9 Dec 2019 18:48:52 -0600	[thread overview]
Message-ID: <20191210004854.16845-7-pierre-louis.bossart@linux.intel.com> (raw)
In-Reply-To: <20191210004854.16845-1-pierre-louis.bossart@linux.intel.com>

From: Curtis Malainey <cujomalainey@chromium.org>

Turns out SSP 3-5 are only available on cht, to avoid dumping on
undefined registers let's split the definition.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 sound/soc/sof/intel/byt.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sound/soc/sof/intel/byt.c b/sound/soc/sof/intel/byt.c
index b3a40d9ef7ce..d0db581348af 100644
--- a/sound/soc/sof/intel/byt.c
+++ b/sound/soc/sof/intel/byt.c
@@ -25,7 +25,8 @@
 #define DRAM_OFFSET		0x100000
 #define DRAM_SIZE		(160 * 1024)
 #define SHIM_OFFSET		0x140000
-#define SHIM_SIZE		0x100
+#define SHIM_SIZE_BYT		0x100
+#define SHIM_SIZE_CHT		0x118
 #define MBOX_OFFSET		0x144000
 #define MBOX_SIZE		0x1000
 #define EXCEPT_OFFSET		0x800
@@ -76,7 +77,7 @@ static const struct snd_sof_debugfs_map byt_debugfs[] = {
 	 SOF_DEBUGFS_ACCESS_D0_ONLY},
 	{"dram", BYT_DSP_BAR, DRAM_OFFSET, DRAM_SIZE,
 	 SOF_DEBUGFS_ACCESS_D0_ONLY},
-	{"shim", BYT_DSP_BAR, SHIM_OFFSET, SHIM_SIZE,
+	{"shim", BYT_DSP_BAR, SHIM_OFFSET, SHIM_SIZE_BYT,
 	 SOF_DEBUGFS_ACCESS_ALWAYS},
 };
 
@@ -103,7 +104,7 @@ static const struct snd_sof_debugfs_map cht_debugfs[] = {
 	 SOF_DEBUGFS_ACCESS_D0_ONLY},
 	{"dram", BYT_DSP_BAR, DRAM_OFFSET, DRAM_SIZE,
 	 SOF_DEBUGFS_ACCESS_D0_ONLY},
-	{"shim", BYT_DSP_BAR, SHIM_OFFSET, SHIM_SIZE,
+	{"shim", BYT_DSP_BAR, SHIM_OFFSET, SHIM_SIZE_CHT,
 	 SOF_DEBUGFS_ACCESS_ALWAYS},
 };
 
-- 
2.20.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2019-12-10  1:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-10  0:48 [alsa-devel] [PATCH 0/8] ASoC: SOF: improvements for v5.6 Pierre-Louis Bossart
2019-12-10  0:48 ` [alsa-devel] [PATCH 1/8] ASoC: SOF: Add asynchronous sample rate converter topology support Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: Add asynchronous sample rate converter topology support" to the asoc tree Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 2/8] ASoC: SOF: loader: snd_sof_fw_parse_ext_data log warning on unknown header Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: loader: snd_sof_fw_parse_ext_data log warning on unknown header" to the asoc tree Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 3/8] ASoC: SOF: loader: fix snd_sof_fw_parse_ext_data Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: loader: fix snd_sof_fw_parse_ext_data" to the asoc tree Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 4/8] ASoC: SOF: ipc: channel map structures Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: ipc: channel map structures" to the asoc tree Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 5/8] ASoC: SOF: Intel: add codec_mask module parameter Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: Intel: add codec_mask module parameter" to the asoc tree Mark Brown
2019-12-10  0:48 ` Pierre-Louis Bossart [this message]
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: SOF: Intel: split cht and byt debug window sizes" " Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 7/8] ASoC: SOF: Intel: byt: fixup topology filename for BYT-CR Pierre-Louis Bossart
2019-12-10 13:22   ` [alsa-devel] Applied "ASoC: SOF: Intel: byt: fixup topology filename for BYT-CR" to the asoc tree Mark Brown
2019-12-10  0:48 ` [alsa-devel] [PATCH 8/8] ASoC: Intel: common: work-around incorrect ACPI HID for CML boards Pierre-Louis Bossart
2019-12-10 13:23   ` [alsa-devel] Applied "ASoC: Intel: common: work-around incorrect ACPI HID for CML boards" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191210004854.16845-7-pierre-louis.bossart@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=cujomalainey@chromium.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.