Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1596773pxp; Thu, 17 Mar 2022 12:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ1B7jlLHg4pAc1ySJWXrfHGtGyI+Bj1tUvv9uP2b+neyZFC3EUwwo7zfb/OzXAT9+9OOA X-Received: by 2002:a17:906:3583:b0:6d1:c07:fac0 with SMTP id o3-20020a170906358300b006d10c07fac0mr5817298ejb.749.1647544894327; Thu, 17 Mar 2022 12:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647544894; cv=none; d=google.com; s=arc-20160816; b=QGMGfY4YkP6+H1ouByuKqn/dg+tjo4BluYwmJvQANbcsqgQzVeOdplJhHN05OjfHZa P8RTwP2GNXUQKnlV6a/6lrXzwTFijg7G6PFai0ssfa5cwny6n2OXDI/95yrCHiueOc4+ m5mD9OG4w43+6iVH2zhJu0/T6/Xt98HvgCCpWpLtMBesWkr4AD6DYaY+AN5K74g88ULp yKqyfUBZOhgUVvcRAZAKmBwq750F0pLzYKsaipOhGJCpIHNln6yEZZJY4Fypcb1Mytyy RkDuxAgk+Xmxx+ihF/V1kiwMHsRvjL/TXvS+ktB6sWj5HIc42iOpujVIvtdlyhJq9uUj nGWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=27vm0JIz+Qk23Y8+teO3yhtr05xWyYX+RKmIIsewghA=; b=bL7DZc6X9xELgMDDKVULe18W6Ph5KCvLXeVQzEKMUQcP5ZATjnMQLSnZPrRyGuq8np tA51tRzgqqu6JZ8OQEglwxbN4bus5IGJqN6jOZjCqrKDo6exJtTQ3hT4ZPE9mhNAIX/9 lYkemXoN67RBKYCQmRFz6aRnnGViCYnHlhGnBjsx+L1QEOZ2vAQTiRdBKCk8D9ERF4qC GtMScRldTQWhGYwllUsrtzpC5ofFn+HM5JMDFXsG83tr99dsAd3s3vR8NjyD7Wbcxa1t Z8Ha5eXRyN4v/+ouQomnPSO0rsHPh2Iwon7wTY/lbK5mO5cDWKHDP/cSlJdMZKc3PW2u QifA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=nx3frnG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v15-20020a170906564f00b006d0ad530729si3607875ejr.437.2022.03.17.12.21.08; Thu, 17 Mar 2022 12:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=nx3frnG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235028AbiCQOV2 (ORCPT + 99 others); Thu, 17 Mar 2022 10:21:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235034AbiCQOV0 (ORCPT ); Thu, 17 Mar 2022 10:21:26 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0248316CE51; Thu, 17 Mar 2022 07:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647526809; x=1679062809; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=27vm0JIz+Qk23Y8+teO3yhtr05xWyYX+RKmIIsewghA=; b=nx3frnG0dDXW2EICpNBnRbUHYfbn1cEpcnkIf80pS2oGFJozwDEQpx9C U5Al3MGbOybFCBrfhjOA97C3EJOk7n6Z8ViLEbJFRQC2azEAHvooTKz37 Qqang4dwwo+D11PzHgHpwAYnQSqDeMzSYMQo8DmDIGkHafDMOd8rbwtSk I=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 17 Mar 2022 07:20:08 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 07:20:08 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 17 Mar 2022 07:20:08 -0700 Received: from [10.216.33.159] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 17 Mar 2022 07:20:04 -0700 Message-ID: Date: Thu, 17 Mar 2022 19:50:00 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v4 2/3] arm64: dts: qcom: sc7280: Add lpass cpu node Content-Language: en-US To: Doug Anderson CC: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rohit kumar , Srinivas Kandagatla , Stephen Boyd , Judy Hsiao , "Venkata Prasad Potturu" References: <1644591438-6514-1-git-send-email-quic_srivasam@quicinc.com> <1644591438-6514-3-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/1/2022 6:40 AM, Doug Anderson wrote: Thanks for your time Doug!!! > Hi, > > On Fri, Feb 11, 2022 at 6:57 AM Srinivasa Rao Mandadapu > wrote: >> @@ -1750,6 +1751,64 @@ >> #clock-cells = <1>; >> }; >> >> + lpass_cpu: audio-subsystem@3260000 { >> + compatible = "qcom,sc7280-lpass-cpu"; >> + reg = <0 0x3260000 0 0xC000>, >> + <0 0x3280000 0 0x29000>, >> + <0 0x3340000 0 0x29000>, >> + <0 0x336C000 0 0x3000>, >> + <0 0x3987000 0 0x68000>, >> + <0 0x3B00000 0 0x29000>; > Lower case hex, please. ...and pad the address to 8 digits here (just > don't do it in the unit address in the node name). Okay. > > >> + reg-names = "lpass-rxtx-cdc-dma-lpm", >> + "lpass-rxtx-lpaif", >> + "lpass-va-lpaif", >> + "lpass-va-cdc-dma-lpm", >> + "lpass-hdmiif", >> + "lpass-lpaif"; > The order of "reg" and "reg-names" needs to match the bindings > exactly. It's almost certainly easier to change your device tree since > the bindings have already landed. > > That means that "lpass-hdmiif" will be first. ...and it will also > change your node name since the first "reg" listed will now be > 3987000. Okay. will sort it accordingly. > > >> + iommus = <&apps_smmu 0x1820 0>, >> + <&apps_smmu 0x1821 0>, >> + <&apps_smmu 0x1832 0>; >> + status = "disabled"; >> + >> + power-domains = <&rpmhpd SC7280_LCX>; >> + power-domain-names = "lcx"; > power-domain-names is not in the bindings. Okay. will update it. > > >> + required-opps = <&rpmhpd_opp_nom>; >> + >> + clocks = <&lpass_aon LPASS_AON_CC_AUDIO_HM_H_CLK>, >> + <&lpasscore LPASS_CORE_CC_SYSNOC_MPORT_CORE_CLK>, >> + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM_CLK>, >> + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM0_CLK>, >> + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM1_CLK>, >> + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM2_CLK>, >> + <&lpasscore LPASS_CORE_CC_EXT_IF0_IBIT_CLK>, >> + <&lpasscore LPASS_CORE_CC_EXT_IF1_IBIT_CLK>, >> + <&lpass_aon LPASS_AON_CC_VA_MEM0_CLK>; >> + clock-names = "aon_cc_audio_hm_h", >> + "core_cc_sysnoc_mport_core", >> + "audio_cc_codec_mem", >> + "audio_cc_codec_mem0", >> + "audio_cc_codec_mem1", >> + "audio_cc_codec_mem2", >> + "core_cc_ext_if0_ibit", >> + "core_cc_ext_if1_ibit", >> + "aon_cc_va_mem0"; > Clocks do not match bindings. Okay. Will change accordingly. > > >> + #sound-dai-cells = <1>; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + interrupts = , >> + , >> + , >> + ; >> + >> + interrupt-names = "lpass-irq-lpaif", >> + "lpass-irq-vaif", >> + "lpass-irq-rxtxif", >> + "lpass-irq-hdmi"; > interrupt-names ordering does not match bindings. Okay. will sort it. > > > -Doug