Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1495289ybh; Thu, 23 Jul 2020 10:13:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUGOCSn33GRN1jt8Dx5cICtySw4NoeQv3GPXfWGb2kiActgw0ZWMVAG2XN4/mLewcQ9BOK X-Received: by 2002:a17:906:5f81:: with SMTP id a1mr5211289eju.479.1595524410699; Thu, 23 Jul 2020 10:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595524410; cv=none; d=google.com; s=arc-20160816; b=kryR/s3+ACE3MHIAuKl33sIVVKrCFeODwjgvCV8D2TeD3UQKmGTpEUIAV/4Q/QuYpu GX3TIw00vsVHC7oo48VQyGog8xKB1/r03+nYD+vsXER9W9MTG5TcpmArIj3ZRp+deagd MF2CPvGjqeCUq8dK6CnOvkz1gtmOOG/p4/2zS7x1FgY63JEH2+en1cH22/itcjQt5TVH 2llf33Z1hKclkiAEVgWv0iJFCV2PC/+SErpqRUOnTfNBQU59VCVpwCqBRhBxmS7hkbCE +nZ/E3cQ6MrTziN+wYk+8vhS70N2dIoyxWJjBqs3ueztXWGDWfobprXeyN2ZUQQweiSC QEfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CFQA7x0bDHTcOu8RlJmkDybvEkhTzOMXAr85IhgE6JY=; b=Hg4d07+YAjOHuA0VpgLJ9vJGpKmYgrVSNY9ZmwYFq+CSCYkcne0vtIlrh03wV4J+fG gXGfFxJgS3r0DfjPGmPNtxlSkn+S2Pbix3C+771UD/WYU3hIFSoLkR0zyadDATDxTpeD 2IBXZQlo6u9rJNxbYLy43dE8xINa+ZdjlvLoVzPmHEQrttQbf8uRyMDf4JOchauYccJF snbMUtS+AXzkgbFdFEHmBVvgEogAvKDjs6WzsM6QE2dniXWwi7MsmDL5EwLJWiQnaewi TwoNumyu4e3MxS9N6jluVzEgSY/EAgDgbYOmuAp2r20Gvol/Fu/v1sicOW+zjfmE8D3G 9eMg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd16si2194091edb.20.2020.07.23.10.13.08; Thu, 23 Jul 2020 10:13:30 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728030AbgGWRK5 (ORCPT + 99 others); Thu, 23 Jul 2020 13:10:57 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:38612 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726254AbgGWRK4 (ORCPT ); Thu, 23 Jul 2020 13:10:56 -0400 Received: by mail-io1-f68.google.com with SMTP id l1so7000520ioh.5; Thu, 23 Jul 2020 10:10:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CFQA7x0bDHTcOu8RlJmkDybvEkhTzOMXAr85IhgE6JY=; b=WcyjkMmRLoc1Fc3HxTC0qtLs//P67zrSfKIljeOmfkDdULPiM8kr+dXCXStFjijpwx w5pyh6B5YRY/DPA/W+IsiUYzinH/zBG6wivSDCArXboswgz41WNmsMhiRtQ/yPA2+q/S OvMkQTS0kimVXEirxhVOoUWztm67/57/QMnMl6XGAWZQGMZ24XaCTdnKzluW+vn+QW3o rEy2FXHgWZWRJUv5RZ9IJE2sXj6XtWZcGAXN4+OXuGIB+7MmCyx/PnXevLgWilJuze0E lWz3MNDWfaoNHGEPRNTKN/bP4mJNxxibQvG8ZrebNeLLw9FfDWSsifqmpsVoKKEuVD/8 F3gA== X-Gm-Message-State: AOAM533NfvN+KAsx0pzdt1w9VmwLqNk5J9yl6C+Oo0UJcSZaUI3j0LxV qEJ+knRHI8Rd8gjkMqcTlw== X-Received: by 2002:a02:2401:: with SMTP id f1mr5923789jaa.66.1595524255623; Thu, 23 Jul 2020 10:10:55 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id l17sm1708226ilm.70.2020.07.23.10.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 10:10:55 -0700 (PDT) Received: (nullmailer pid 546734 invoked by uid 1000); Thu, 23 Jul 2020 17:10:53 -0000 Date: Thu, 23 Jul 2020 11:10:53 -0600 From: Rob Herring To: Rohit kumar Cc: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 07/12] dt-bindings: sound: lpass-cpu: Add sc7180 lpass cpu node Message-ID: <20200723171053.GA544557@bogus> References: <1595413915-17867-1-git-send-email-rohitkr@codeaurora.org> <1595413915-17867-8-git-send-email-rohitkr@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1595413915-17867-8-git-send-email-rohitkr@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 04:01:50PM +0530, Rohit kumar wrote: > Add dt-bindings to support "qcom,lpass-cpu-sc7180" node. > > Signed-off-by: Rohit kumar > --- > .../devicetree/bindings/sound/qcom,lpass-cpu.txt | 55 +++++++++++++++++++++- > 1 file changed, 53 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt > index 32c2cdb..c21392e 100644 > --- a/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt > +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt > @@ -4,7 +4,8 @@ This node models the Qualcomm Technologies Low-Power Audio SubSystem (LPASS). > > Required properties: > > -- compatible : "qcom,lpass-cpu" or "qcom,apq8016-lpass-cpu" > +- compatible : "qcom,lpass-cpu" or "qcom,apq8016-lpass-cpu" or > + "qcom,lpass-cpu-sc7180" qcom,sc7180-lpass-cpu > - clocks : Must contain an entry for each entry in clock-names. > - clock-names : A list which must include the following entries: > * "ahbix-clk" > @@ -18,6 +19,13 @@ Required properties: > * "mi2s-bit-clk3" > * "pcnoc-mport-clk" > * "pcnoc-sway-clk" > + : required clocks for "qcom,lpass-cpu-sc7180" > + * "audio-core" > + * "mclk0" > + * "mi2s-bit-clk0" > + * "mi2s-bit-clk1" > + * "pcnoc-sway-clk" > + * "pcnoc-mport-clk" > > - interrupts : Must contain an entry for each entry in > interrupt-names. > @@ -53,7 +61,8 @@ Required properties for each DAI (represented by a subnode): > Note that adding a subnode changes the default to "no lines configured", > so both playback and capture lines should be configured when a subnode is added. > > -Example: > +Examples: > +1) > > lpass@28100000 { > compatible = "qcom,lpass-cpu"; > @@ -77,3 +86,45 @@ lpass@28100000 { > qcom,playback-sd-lines = <0 1>; > }; > }; > + > +2) > + > +#include > + > +lpass_cpu: lpass { > + compatible = "qcom,lpass-cpu-sc7180"; > + > + reg = <0 0x62F00000 0 0x29000>; > + > + iommus = <&apps_smmu 0x1020 0>; > + > + power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; > + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, > + <&lpasscorecc LPASS_AUDIO_CORE_CORE_CLK>, > + <&lpasscorecc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>, > + <&lpasscorecc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>, > + <&lpasscorecc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>, > + <&lpasscorecc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>; > + clock-names = "pcnoc-sway-clk", "audio-core", > + "mclk0", "pcnoc-mport-clk", > + "mi2s-bit-clk0", "mi2s-bit-clk1"; > + interrupts = <0 160 IRQ_TYPE_LEVEL_HIGH>; > + interrupt-names = "lpass-irq-lpaif"; > + > + > + #sound-dai-cells = <1>; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + mi2s-primary@0 { > + reg = ; > + qcom,playback-sd-lines = <1>; > + qcom,capture-sd-lines = <0>; > + }; > + > + mi2s-secondary@1 { > + reg = ; > + qcom,playback-sd-lines = <0>; > + }; > +}; > -- > Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., > is a member of Code Aurora Forum, a Linux Foundation Collaborative Project. >