Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp770901pxk; Sun, 30 Aug 2020 23:41:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrt+dutvREZJBKgmNiBYHMVrJVW41i78xNTyF2DYOekA9vjxCwTk6O66dV2EGW05NsV3Nt X-Received: by 2002:a05:6402:503:: with SMTP id m3mr10180549edv.45.1598856082377; Sun, 30 Aug 2020 23:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598856082; cv=none; d=google.com; s=arc-20160816; b=qLiH5d6DmnCW0/iwT9FRO8DLaouHjAOGea+nfkZE+hihtL+hlHBgxSiLC6bXM4snHl VqevyLeFv5mtdVoNht8LTorf9cQkPzNH4D/AUhyVHgZDO7s+B0dzsS1yhd2bnNcaZZIT gisHnDyryDLswcbB+z8x+RCAoJyUb3xU5bjVI9il8GAcuMj0Yznb0/qKAj5IqFGeL3/M wU6Wo6m4rFuK8ag8o3HWLbTAwH9zVEUNdaf8T+mX8tgojkt0q3oR6xwKQT86T4TBR01v xik1zKV0lJuTfsFCXRROC3jxXmwbsYUUdudgLKhSlsdRNjI8DlkUtI4U4myKadydNqDZ zwhg== 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=Ou+YcbTHazopte4MAYr2AvjwVBTlg/U2o0wrqigInbrrO+aZW78NQijuqyTtLLtGUm yJ1M4GEADBTcaWkbPp6tlftqV4eP9gBFeKlWRCPF60DOrvY7paOANlWRn2cWMoGVL09h No2BoyFISbfwuqpWdmtRweNHmsln2fd4uB/XfCJypxMgPS4e4kdrOnkPoz/bhIXQKUK/ MHJ0AvS5pgXP0irPebK0Y388Vo7YnB+lbWwdCOW5Zg7VlF8eHIpE9rRYd+FrrTPyI0ri bSZ8ResHxb3i2XEEgpVJFEoeo6WhzdugR+L3gkizG4exPLZMgqOkKJXL4x58x4tdOfrH na/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Bj2ivYNm; 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 dn2si4643472edb.378.2020.08.30.23.40.59; Sun, 30 Aug 2020 23:41:22 -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=Bj2ivYNm; 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 S1726573AbgHaGjz (ORCPT + 99 others); Mon, 31 Aug 2020 02:39:55 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:25939 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727056AbgHaGjy (ORCPT ); Mon, 31 Aug 2020 02:39:54 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598855994; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=lONjzqCsTmfjTnMJDPuGaZHl39mxwwURVQG61QsV/DI=; b=Bj2ivYNm6XxXyubkTayvPIULIaq+i/W2ZCdn66o/AbgxRq2fwkLAoeTiwa49rvf+0h2HVAbH oEC68oEwwB+JgK5akWWbD6jTLiHNi9q3A1d8xLwX5ovszzAPvzJZDekhlIuM2riecaOun8zI xh/ofwaA0xC0Uhd4Hyvuro5tP3I= X-Mailgun-Sending-Ip: 104.130.122.29 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 5f4c9b3ac6eb60379715114e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 31 Aug 2020 06:39:54 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5CBF4C433AF; Mon, 31 Aug 2020 06:39:53 +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 1436EC433A1; Mon, 31 Aug 2020 06:39:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1436EC433A1 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 v3 2/5] ASoC: dt-bindings: Add dt binding for lpass hdmi Date: Mon, 31 Aug 2020 12:09:21 +0530 Message-Id: <1598855964-1042-3-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598855964-1042-1-git-send-email-srivasam@codeaurora.org> References: <1598855964-1042-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.