From patchwork Thu Feb 11 12:17:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 61741 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp154679lbl; Thu, 11 Feb 2016 04:17:32 -0800 (PST) X-Received: by 10.67.7.200 with SMTP id de8mr66272926pad.28.1455193052298; Thu, 11 Feb 2016 04:17:32 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rb5si12328398pab.125.2016.02.11.04.17.32; Thu, 11 Feb 2016 04:17:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751994AbcBKMR2 (ORCPT + 7 others); Thu, 11 Feb 2016 07:17:28 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38781 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbcBKMR1 (ORCPT ); Thu, 11 Feb 2016 07:17:27 -0500 Received: by mail-wm0-f42.google.com with SMTP id p63so65751869wmp.1 for ; Thu, 11 Feb 2016 04:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Dwf6p5uStBaL3XFmBHBw0ZS7flOZj0Sqvm6e9dPKvBU=; b=BitU21X/7OOke51mfh3I+lXXX3ch7N3QsN9NFCdZDT97G07iVFkh23Y21oDSPc5EPk ysJwM1zIG9SFKSmbvG8ZnpJiZ3P2RxWjD9I76l6zGojJ8cC9qHNFuAoLDFqkeWxkD7I9 wTBiMgFidHuwmvnxZxkJCrDGBdJK9vPGzJLzY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Dwf6p5uStBaL3XFmBHBw0ZS7flOZj0Sqvm6e9dPKvBU=; b=ZkWSDZeuLM6EMRdHuk36kxmquJU0o26yvhZrolW1m6LqwvFxbxoeGUtPKrOX9atCnd 5xDDNcK8YYwLhTj+2iNmQNdTfWA4CTdB+PtKps/SvH8d+3Lfn1Z33ABNf3VOZE/sdV62 UBOBZnFVs0F9CjSLRN7t1QSoP4ic2Jhf5POl1EPZiZGMjJgFjvrXBSOQ3a3w/9STsM/C g9hLv2vPYD1u6D1iIl+Jy0Xcmg9f5BhkkT0YPsUv77Hl05wMksJS+sUa6rEHb9U79/oC uwm86ap/bakkZiBy6/bCd3/KoHxlpTYrKiTbXP+lcBcPohvTGZ+5C0Xf7D+SN067Sbd1 oF7Q== X-Gm-Message-State: AG10YOQ7OWoLtjH+Z745axg3OiwaYpwvjYAHOQd0+UWJJQ1+taMHobUjZsQF6S3vujs6+qK7 X-Received: by 10.194.21.163 with SMTP id w3mr45542115wje.58.1455193046330; Thu, 11 Feb 2016 04:17:26 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id ct2sm7278127wjb.46.2016.02.11.04.17.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 04:17:25 -0800 (PST) From: Srinivas Kandagatla To: Patrick Lai , alsa-devel@alsa-project.org, Mark Brown Cc: Banajit Goswami , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, kwestfie@codeaurora.org, Srinivas Kandagatla Subject: [PATCH v3 02/14] ASoC: qcom: add wrdma register details to lpass_variant Date: Thu, 11 Feb 2016 12:17:23 +0000 Message-Id: <1455193043-1578-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455193007-1481-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1455193007-1481-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch adds wrdma related register offsets, wrdma channel start and shifts into lpass variant structure. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass.h | 4 ++++ 1 file changed, 4 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index 0b63e2e..024a771 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -71,12 +71,16 @@ struct lpass_variant { u32 rdma_reg_base; u32 rdma_reg_stride; u32 rdma_channels; + u32 wrdma_reg_base; + u32 wrdma_reg_stride; + u32 wrdma_channels; /** * on SOCs like APQ8016 the channel control bits start * at different offset to ipq806x **/ u32 rdmactl_audif_start; + u32 wrdma_channel_start; /* SOC specific intialization like clocks */ int (*init)(struct platform_device *pdev); int (*exit)(struct platform_device *pdev);