From patchwork Fri Sep 18 14:56:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 11785243 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EC3426CA for ; Fri, 18 Sep 2020 14:57:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEABD21D42 for ; Fri, 18 Sep 2020 14:57:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="hHtwU4zJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726129AbgIRO5S (ORCPT ); Fri, 18 Sep 2020 10:57:18 -0400 Received: from so254-54.mailgun.net ([198.61.254.54]:21383 "EHLO so254-54.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbgIRO5S (ORCPT ); Fri, 18 Sep 2020 10:57:18 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600441037; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=wPXnMFWZAtF9GXkc1ubug9yZfd42DX+45c5KMYhF9AY=; b=hHtwU4zJDlrABxFo6yhlJ9TpirpIljw4VjlIJBYTPzbAUhYzHFz7VbNQfko9dhJnlwFXGQaz uViPBzZ+epf7JRJYWIfttX8JJnhWvasxSWOiaUxYecI9lPZRxp/oEr1VywMMS4ixJR8qJJm7 Lf8q4PTJwfwy2tDe1a8SvaNYzFE= X-Mailgun-Sending-Ip: 198.61.254.54 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5f64cac27334da86786a1391 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 14:57:06 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 126B2C43387; Fri, 18 Sep 2020 14:57:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hyd-lnxbld210.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4F674C433C8; Fri, 18 Sep 2020 14:57:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4F674C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org Cc: V Sujith Kumar Reddy , Srinivasa Rao Mandadapu Subject: [PATCH 1/2] arm64: dts: qcom: sc7180: Update lpass cpu node for audio over dp Date: Fri, 18 Sep 2020 20:26:46 +0530 Message-Id: <1600441007-2427-2-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600441007-2427-1-git-send-email-srivasam@codeaurora.org> References: <1600441007-2427-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: V Sujith Kumar Reddy Updaate lpass dts node with HDMI reg, interrupt and iommu for supporting audio over dp. Signed-off-by: Srinivasa Rao Mandadapu Signed-off-by: V Sujith Kumar Reddy --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 59c39cf..2dc0825 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -21,6 +21,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -3428,16 +3429,18 @@ #power-domain-cells = <1>; }; - lpass_cpu: lpass@62f00000 { + lpass_cpu: lpass@62d87000 { compatible = "qcom,sc7180-lpass-cpu"; - reg = <0 0x62f00000 0 0x29000>; - reg-names = "lpass-lpaif"; + reg = <0 0x62d87000 0 0x68000>, <0 0x62f00000 0 0x29000>; + reg-names = "lpass-hdmiif", "lpass-lpaif"; - iommus = <&apps_smmu 0x1020 0>; + iommus = <&apps_smmu 0x1020 0>, <&apps_smmu 0x1032 0>; power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; + status = "disabled"; + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>, <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>, @@ -3449,13 +3452,13 @@ "mclk0", "pcnoc-mport-clk", "mi2s-bit-clk0", "mi2s-bit-clk1"; - #sound-dai-cells = <1>; #address-cells = <1>; #size-cells = <0>; - interrupts = ; - interrupt-names = "lpass-irq-lpaif"; + interrupts = , + ; + interrupt-names = "lpass-irq-lpaif", "lpass-irq-hdmi"; }; lpass_hm: clock-controller@63000000 { From patchwork Fri Sep 18 14:56:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 11785241 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ACCDA6CA for ; Fri, 18 Sep 2020 14:57:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 85FD02311A for ; Fri, 18 Sep 2020 14:57:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="XAULQEh1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbgIRO5Q (ORCPT ); Fri, 18 Sep 2020 10:57:16 -0400 Received: from so254-54.mailgun.net ([198.61.254.54]:15792 "EHLO so254-54.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbgIRO5P (ORCPT ); Fri, 18 Sep 2020 10:57:15 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600441035; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=t+7g+pEV5SjJC4AvV+pwWDH02tzEERCBUCn9AGMC6Pw=; b=XAULQEh1OVOfpJoqNs6wbZSqhUfMzfbYGixGN7HUBGQXvPpC4IAA66zQfE9i80GkOkADsFaK hSjJXNgmGnxm5NX4GMews1hSQ4fhxHIBFscTGHYusQDIcr2uS+7jDCecCqJ5EBKbqjX7oDHb mC3mOmlHQ9UYbuTd+ODD5QruugM= X-Mailgun-Sending-Ip: 198.61.254.54 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 5f64cac60566e2dcd77cf8f5 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 14:57:10 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8C024C433CB; Fri, 18 Sep 2020 14:57:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hyd-lnxbld210.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id E9E1BC433CB; Fri, 18 Sep 2020 14:57:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E9E1BC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org Cc: V Sujith Kumar Reddy , Srinivasa Rao Mandadapu Subject: [PATCH 2/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for HDMI Date: Fri, 18 Sep 2020 20:26:47 +0530 Message-Id: <1600441007-2427-3-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600441007-2427-1-git-send-email-srivasam@codeaurora.org> References: <1600441007-2427-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: V Sujith Kumar Reddy Add dai link in sc7180-trogdor.dtsi for supporting audio over DP Signed-off-by: Srinivasa Rao Mandadapu Signed-off-by: V Sujith Kumar Reddy --- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 5724982..adbbb2d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -230,6 +230,7 @@ "Headphone Jack", "HPOR"; audio-jack = <&alc5682>; + hdmi-jack = <&msm_dp>; #address-cells = <1>; #size-cells = <0>; @@ -257,6 +258,17 @@ sound-dai = <&max98357a>; }; }; + dai-link@2 { + link-name = "MultiMedia2"; + reg = <2>; + cpu { + sound-dai = <&lpass_cpu 2>; + }; + + codec { + sound-dai = <&msm_dp>; + }; + }; }; };