Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3061683pxa; Tue, 25 Aug 2020 10:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVEqRa1QpgVP2YjEGNXXL+rCF0mKx5F1GzKneQ5sYmXsq2qH3DkqGw+e4suq/gcuQyROOO X-Received: by 2002:a50:f607:: with SMTP id c7mr11109134edn.162.1598376037837; Tue, 25 Aug 2020 10:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598376037; cv=none; d=google.com; s=arc-20160816; b=TUbRMIzbNJJvPMa+HtiMdwjxTAfLw4+SV84IgFCJync2WXnZdUefXBrgqoUGY76LXT Faj2Ttn4kN+qCRGBX3rf8iyOUdIO7fz4QBog8+4rxb/g5aBWROtxW+yvlaBCYPQ67U0V Z5w7/mraz3SvTRszMNIefPcMdfH/MX8vt8Vpr1gdOmMfSRcvQB5+giYiiFOGLn0oCKX+ dFjy9Vp3ntHWMTiBrdCmYWXTkbpE4ELjT4SeD8CyARWK/V5QHThViLWnV7aUzrIYr/PX B6YdtzqqVPASfTZf37+EzFGJ0iTiVlF1faYIJu65uUDBaAAZIRQ8iv1S/iqqiaHSmniY SO+w== 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=YYsGW89VSOJPl2rRXD3Jg5UkBGJkDM8ZNokckaK0LRk=; b=V/RHGXzSP81U6/9nJJnp+78OwxO7b8BSlL1Yuls3WLzbPAP7pKBHHWgCiOVU2+vymv utIya2wWbzqQ185SMhe2Sh4z1i3IRqUw7UX1Fs+7Z5uLdy/J6jfCSGq/BVoo1XvO8wtT J7AdEiekmdGLLqtz4dtsxB00sB/nvPjWHQ+CCZPCI3aq5jvS55FPzd7W3zW8LuhvFFsr JU5QxllMSwyU6ZQD6eYZE0oOgMcklDmDcaVWQPEmHLyrsHWgSiKguHpmePPvnNweFcRx PCgiTibHEvEjgYaRmX7UP/h29AcLpIrAkw3hIVC2qJj1y0TWAvvhGjbgw+RmSWpnHCZj ZuWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="Y4v/IpFN"; 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 mm22si9293397ejb.735.2020.08.25.10.20.13; Tue, 25 Aug 2020 10:20:37 -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="Y4v/IpFN"; 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 S1726713AbgHYRR2 (ORCPT + 99 others); Tue, 25 Aug 2020 13:17:28 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:23617 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbgHYRRO (ORCPT ); Tue, 25 Aug 2020 13:17:14 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598375834; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=YYsGW89VSOJPl2rRXD3Jg5UkBGJkDM8ZNokckaK0LRk=; b=Y4v/IpFN7aygg0hdH8ykazbh2PZHG6dsOa1Osn5hiXpkHBj2RUEy+34APavujg1PWM2mnQda M0wDI5GLrm0dJSyCxE7RiRUUye5XMDjhMWWWVO0yaKsvKGZsQ7w/uQCikPR3jJydRcc8wsSw /+IOpwqGuoVmR4pErj7OweuQVw4= 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-n04.prod.us-west-2.postgun.com with SMTP id 5f4547994413b7d5db297493 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 25 Aug 2020 17:17:13 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 2D96BC433A0; Tue, 25 Aug 2020 17:17:13 +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, URIBL_BLOCKED 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 91792C433C6; Tue, 25 Aug 2020 17:17:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 91792C433C6 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 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: vsujithk , Srinivasa Rao Subject: [PATCH 2/5] dt-bindings: Add dts entry for lpass-hdmi dp audio Date: Tue, 25 Aug 2020 22:46:25 +0530 Message-Id: <1598375788-1882-3-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598375788-1882-1-git-send-email-srivasam@codeaurora.org> References: <1598375788-1882-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: vsujithk Includes dts file entries for supporting lpass-hdmi audio driver over dp port in yaml format Signed-off-by: Srinivasa Rao --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml index 09c9bd2..2029325 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 @@ -145,6 +146,23 @@ 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 @@ -184,6 +202,30 @@ examples: 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>; + }; }; ... -- 2.7.4