From patchwork Thu Dec 14 17:34:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 122003 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp7106047qgn; Thu, 14 Dec 2017 09:37:14 -0800 (PST) X-Google-Smtp-Source: ACJfBot0fXFG58U96zMMiRuByHqvwR40HSGfOMzyWjxyXgEOTRu+8FY0oruh4Ivh+wNEctuytIds X-Received: by 10.159.205.135 with SMTP id v7mr10178067plo.371.1513273034133; Thu, 14 Dec 2017 09:37:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513273034; cv=none; d=google.com; s=arc-20160816; b=Ebk6zmSV3Lv9+DBAR18OOhIQem8y2sNpdUNX3gZsMNPg0lUiF3SFRx+EYwmKQP/12j RVdCtn4B7dEGlE7O1DR0e6SDyqE3K9/54n6bmSVTFmfUiker9YlWT/oUsxgBMKN5AZRj k0/TlryC8wlVqt1UWOwGAD5qt8xqNVSXuxYbPHkzaXhh5d1OEfkZdNSXmp2rXi6pkCd7 LorUK4eLxfjMRQk1JRSN4byBjLlfDpzUcHXmCXDux4iX10yTx7lQ3UfTXG+/gYllr5Ql bOBe6EZnIcHQKo2ktldQdnik2LaJD1uQGy9iH6ISfjmX1mgwDlCdPMWn9Gf/hYI3HQVl XDHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=H3bx529xSFwNzdqVoDcBl51CNujrgek+CIRuGnCh0Sc=; b=P4cbV8/ChWLN2cjcy/t6uKHvsI7Jlu2DixsuICjHwlZLM/N43dc8YAn7jzch0KwkXO uKwDJh7pRoWnJ9haqR9UYgdwCQxyYZIGnPpl+orv8Waz7/vApp3PRmXhuJyb7LFse+ax NKjFRT5ul5wOKMfzrS+uRU7zZT4Upx5KkWSvuQsn9UBA3qipSb+DfVVVOoY5YfScPWHV OrXIfGs46ZOUEknST/CuhxIs30uKR3TwvR1/G/aT8DzVxP8FgZoKMtctH1C1bvNbt39H amqmGsUXDcKId7GjeCrktmIN/IDSxf0Kq/AwHmTzgA6Bnab7nOVdDxByh9Ln+R+Rr3Le 1VZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OwFZ4T7S; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r59si3420215plb.830.2017.12.14.09.37.13; Thu, 14 Dec 2017 09:37:14 -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; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OwFZ4T7S; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753920AbdLNRhL (ORCPT + 10 others); Thu, 14 Dec 2017 12:37:11 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:41937 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753880AbdLNRgx (ORCPT ); Thu, 14 Dec 2017 12:36:53 -0500 Received: by mail-wm0-f67.google.com with SMTP id g75so12945692wme.0 for ; Thu, 14 Dec 2017 09:36:53 -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=ULUUZ5WmFHLaZcT68KslFCqjJW9uzV3bA4f/Y48ULGw=; b=OwFZ4T7Svs/peiij7t9w/KNBBR38sMGFlD+v1DMZhWHi1aKxqJWlZ/AcK2Wk1+mS3G 0nrVVbYU8pqaiJ2EG/axXQ6a3kCsunu9I/j9x6KUq3eI5e9pWQ4IEpyHwvj54X1LR6hv OeadT7HnAyqsGAZgDWzfxt91x/nPxWRbqzQwU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ULUUZ5WmFHLaZcT68KslFCqjJW9uzV3bA4f/Y48ULGw=; b=WU2wi6yEMMURPIfGFjcu0ZLO/JiL1Vuo0JhNLy36+/9wBCcpM+/4DA5X68FJGqUv6F RWZG13C7YYQ0G8nemqpTTDwnNEdEDU5rKBSKiceEdOnDL0O38HXLjgy8Co/nbrFwQ56A xI4Yqo3lvF7EoIO0zs0NURFapWIlNeQdEDv8yNk68kI3Fx+SBSd4rdjYmNkE5OI8RTTc 8wA9ouh3aDOMG6+R1tqgg3HJURXuxw9qeqJxf3K1LLLpFkSS5HeHseK82vvtUv+6hvmI PkrPnVI07VM2m4rNdR1yYPI+1Y1gJcMG7Nkq0975MIy0beUNaEGDiUvqvYHsQqsxAMW5 8+hA== X-Gm-Message-State: AKGB3mLqzWHAZQLKjC9sjy5DyOtQAYZ7o3LP/s0MB/sE7eXD1NeIVckQ CnmuoYJBZtNSYMwuMepWvbIxnQ== X-Received: by 10.28.150.12 with SMTP id y12mr3080161wmd.95.1513273012475; Thu, 14 Dec 2017 09:36:52 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r82sm1741757wme.31.2017.12.14.09.36.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Dec 2017 09:36:51 -0800 (PST) From: srinivas.kandagatla@linaro.org To: Andy Gross , Mark Brown , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org Cc: David Brown , Rob Herring , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sboyd@codeaurora.org, Srinivas Kandagatla Subject: [RESEND PATCH v2 15/15] arm64: dts: msm8996: db820c: Add sound card support Date: Thu, 14 Dec 2017 17:34:02 +0000 Message-Id: <20171214173402.19074-16-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171214173402.19074-1-srinivas.kandagatla@linaro.org> References: <20171214173402.19074-1-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 From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 5 +++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 33 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) -- 2.15.0 -- 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/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 9769053957af..b955769b100d 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -190,6 +190,11 @@ }; }; + snd { + compatible = "qcom,apq8096-sndcard"; + qcom,model = "DB820c"; + iommus = <&lpass_q6_smmu 1>; + }; gpio_keys { compatible = "gpio-keys"; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index a144cec7bb71..25c43fb8ab49 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1262,6 +1262,7 @@ phys = <&hdmi_phy>; phy-names = "hdmi_phy"; + #sound-dai-cells = <0>; ports { #address-cells = <1>; @@ -1297,6 +1298,33 @@ "ref_clk"; }; }; + + lpass_q6_smmu: arm,smmu-lpass_q6@1600000 { + compatible = "qcom,msm8996-smmu-v2"; + reg = <0x1600000 0x20000>; + #iommu-cells = <1>; + power-domains = <&gcc HLOS1_VOTE_LPASS_CORE_GDSC>; + + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + + clocks = <&gcc GCC_HLOS1_VOTE_LPASS_CORE_SMMU_CLK>, + <&gcc GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>; + clock-names = "iface", "bus"; + status = "okay"; + }; }; adsp-pil { @@ -1325,6 +1353,11 @@ qcom,ipc = <&apcs 16 8>; qcom,smd-edge = <1>; qcom,remote-pid = <2>; + + apr { + compatible = "qcom,apr-msm8996"; + qcom,smd-channels = "apr_audio_svc"; + }; }; };