Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp294969pxa; Thu, 27 Aug 2020 02:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0GPTaz70T0BWyNtJKrWd8G85lL1absv3WAyp8BS4XsBjwn5S8M34oOSatcUJeWLcRCj3b X-Received: by 2002:a17:906:4cc4:: with SMTP id q4mr3308169ejt.133.1598520638716; Thu, 27 Aug 2020 02:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598520638; cv=none; d=google.com; s=arc-20160816; b=y4c21/zuFo2vE3AZJeO/1IJmHyJTJZdDEEV8GTGoKu4x6/mdj+D0pDD5cfiUzvQnUR MA9yle22HlONHoY7ib+CNwoQXoz87ZiZMSOm3PVU9fwS9wxn8HG+yrNerV0mFQenM0Vz L2UkvrFoIoRfwCSND7zcTv2Ufp0UYtpf4siyCDpu6AJbbdUm2HFzixd2vz0KKW4lk1CV 2PA8rEkfhdcUw1ssszfe/y1To8PkkwIj4VAQTixAIVtjVOgBa2FTBLTSscdCXPmX0weX uYLPz+2yzjAZYQDUE7TgCGeZuAf6kbZTrHyhyOK2Pk6O2agHIANLbYpXpwBAp5RAQPkV lVqg== 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:dmarc-filter:dkim-signature; bh=lONjzqCsTmfjTnMJDPuGaZHl39mxwwURVQG61QsV/DI=; b=n/CzFYarqPT+IbVx2v8zfbU39MuhLjmTTGyMhfnN3bOLl69AZOi9OtgOsfXyUChjnR sVVEy2WH2+0rocJ83Hc3PHWmrZhkUWRn9cARU6fbRw8bdoZODT0WFWj6afcpLN1lt1MW OMaMEeEug17iwKiqrI3vMoSgLotOWE/E66kIGgxJ3KvC3vedQ8u5/gX9fii052ydetex 4k0Q/wUlTQzeAxNRgFzIzMrqxg0KrvroP8RH13GLdCDhBzMMRaDLO8Gx0D7byhEoHdPZ vLJWApi6LLYud3W+qgDl8gwIQV9OpjMa9HzOSMxEpUvYPdIqAeyR4fPydy/LQtBOHMNi PdCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=PP1n1P4d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df7si1256966edb.182.2020.08.27.02.30.15; Thu, 27 Aug 2020 02:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=PP1n1P4d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728534AbgH0J2q (ORCPT + 99 others); Thu, 27 Aug 2020 05:28:46 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:63112 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbgH0J2p (ORCPT ); Thu, 27 Aug 2020 05:28:45 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598520525; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=lONjzqCsTmfjTnMJDPuGaZHl39mxwwURVQG61QsV/DI=; b=PP1n1P4dkdCL/Zcqz7MQflJcTWyiYsd6OZi+jp0dRfQOgi08II69XtHNn68uvrhdIpub+obj c6hcyTlVbrUaGTR+2FSiy7A0yzaIv2xygmntCKul1NOS+zTq5ax+07ep7rXxEh60QWoWxjPh RIfQ9CtoxSCmPf0KeV4HhGWa1UA= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-east-1.postgun.com with SMTP id 5f477cc8883d7674770740f3 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 27 Aug 2020 09:28:40 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 60847C4344D; Thu, 27 Aug 2020 09:28:39 +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=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable 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 9A848C433A0; Thu, 27 Aug 2020 09:28:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9A848C433A0 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=none smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: V Sujith Kumar Reddy , Srinivasa Rao Subject: [PATCH v2 2/5] ASoC: dt-bindings: Add dt binding for lpass hdmi Date: Thu, 27 Aug 2020 14:58:12 +0530 Message-Id: <1598520495-21741-2-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598520495-21741-1-git-send-email-srivasam@codeaurora.org> References: <1598520495-21741-1-git-send-email-srivasam@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: V Sujith Kumar Reddy Adds bindings for lpass hdmi interface which can support audio path over dp. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 51 ++++++++++++++++++++-- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml index 09c9bd2..7c2ac0c 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml @@ -22,6 +22,7 @@ properties: - qcom,lpass-cpu - qcom,apq8016-lpass-cpu - qcom,sc7180-lpass-cpu + - qcom,sc7180-lpass-hdmi reg: maxItems: 1 @@ -60,10 +61,12 @@ properties: const: 0 patternProperties: - "(^mi2s-[0-9a-f]$|mi2s)": + "^dai@[0-9a-f]$": type: object - description: Required properties for each DAI - + description: | + LPASS CPU dai node for each I2S device. Bindings of each node + depends on the specific driver providing the functionality and + properties. properties: reg: maxItems: 1 @@ -145,6 +148,22 @@ allOf: - iommus - power-domains + - if: + properties: + compatible: + contains: + const: qcom,sc7180-lpass-hdmi + then: + properties: + clock-names: + items: + - const: pcnoc-sway-clk + - const: audio-core + - const: pcnoc-mport-clk + required: + - iommus + - power-domains + examples: - | #include @@ -178,12 +197,36 @@ examples: #address-cells = <1>; #size-cells = <0>; /* Optional to set different MI2S SD lines */ - mi2s-primary@0 { + dai@mi2s-primary { reg = ; qcom,playback-sd-lines = <1>; qcom,capture-sd-lines = <0>; }; }; + + lpassh@62d87000 { + compatible = "qcom,sc7180-lpass-hdmi"; + + reg = <0 0x62d87000 0 0x68000>; + + iommus = <&apps_smmu 0x1032 0>; + + power-domains = <&lpass_hm 0>; + + clocks = <&gcc 131>, + <&lpasscc 6>, + <&lpasscc 10>; + + clock-names = "pcnoc-sway-clk", "audio-core", + "pcnoc-mport-clk"; + + #sound-dai-cells = <1>; + + #address-cells = <1>; + #size-cells = <0>; + + interrupts = <0 268 1>; + }; }; ... -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.