Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2343917pxk; Mon, 14 Sep 2020 10:45:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJfv2BS+ZIctnbU0yn0ftSrQ0bDTRYvCnNojgijvzML0Pgu1fL9jZCv+o2XMDp/BR3mYCz X-Received: by 2002:aa7:d382:: with SMTP id x2mr18741953edq.108.1600105530320; Mon, 14 Sep 2020 10:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600105530; cv=none; d=google.com; s=arc-20160816; b=Fu+0NYWyLEKdHoMcakd08DZaYbBNs3X5G6MoU0b8ma9/KXm54JcQe50sqyWlFy9vA/ B5SDHk87OACEgv3ZSNzHaWPvj+TSyZWwK064sHn8tdE1u+GO8nIU8gPGq8SbbCz3RZqi l8eWgNDraOzHGTpaTUhy/S35iao4sKh0/ZN9HKYxlgQL8VS49tuLm/T8DOpQwdN6+kyK rza24IqoIDWuzREhuh63AutGLsskfRTwOeqYKQ4Td2p/4oS5KlzRY2a6nYBkcvpeb+Mw vDfiFnVGAUpV8Widg/mem2oxhLJfJFPHu4k6gOPbMClop+qXw9OdETCHOEm0fLxBFgjK mVlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Fb/McKaDkFAZSYX0bopUHJOoejLg0ldN7v4K0XdQEYY=; b=ZWAcKMI5u1koBcjaLHqYL3lnaW+GtbYVsXT7MyrsFCuOCU7zU5KVZf/jQIFCn7EmP1 KwLi7shjflVGYi1k+/gYNCItw2gmTHndWKjsLQCeJV4OnQiYNKa0R313Ir14RQqlS/hP u8LmKkDqyUVeFb1A6UoMqRkv25EJ7mQ83ZfwL+DKzxtCAmthDkNqCiR0dEgGQDDWIma8 1CrkmpgU36KNkeafRgvZyGM+aiwsN7+tQPWgUwLpuBwRSpPDTfZ2d36NRP/652WF4Ho3 0buQ7QzGwSzcEcopNxPbYyIRAqTyqan58dZjoT9KQwYmKNBKThmfmyw5HutcKIYnrWQm ygng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oY2WCrgE; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si7644911ejb.434.2020.09.14.10.45.07; Mon, 14 Sep 2020 10:45: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; dkim=pass header.i=@chromium.org header.s=google header.b=oY2WCrgE; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726126AbgINRm1 (ORCPT + 99 others); Mon, 14 Sep 2020 13:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbgINRmO (ORCPT ); Mon, 14 Sep 2020 13:42:14 -0400 Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 592B6C061788 for ; Mon, 14 Sep 2020 10:42:13 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id y194so370431vsc.4 for ; Mon, 14 Sep 2020 10:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Fb/McKaDkFAZSYX0bopUHJOoejLg0ldN7v4K0XdQEYY=; b=oY2WCrgE4fWxetdc9oq993bEa+Hm8Bv+Ma5CqNoU3n1nD5t4vGohZ6q4lEVmyDaDHr OUDwBDXCHE31NKBvkcZ1AUj3qb5jhy6MdjhBrlTXxKPdgixLgYyQOWrDsyRw6RGSW1FO 9TjTj3as5OvTs1ZtpMR+7P7i9mE+o26X9I8qo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fb/McKaDkFAZSYX0bopUHJOoejLg0ldN7v4K0XdQEYY=; b=AEqcFI9MRnIZAb7Pr+YrUgh1xVTobo7eO2kRyMqeZdW+dqRI1iG9LFvgtvwYQUTPnj g/oHJCQS0WAM+FDPU4BiJxRIHJUsEt6KRL/8qTr+/DOpi3u8aY0D/9E9sxSRce1a6orc 3UW9P4IqEDScV6Xm4e+hArYxvRyrrE1Ux6UrYhbUb/3qcN7GzK3xFMoVqFIh9pIk/qGz hQ10GX7/KVKRL3Yulw/4xX50Qtgvq9cE7K7hI91gjnUFWzeduIu+BEs9/dXBhNTotT97 V1XC/AaK01B2imGRpd9Yvjc/DH+djiACggI+/cWCEgb/aR+Q0taCeG8eF7LqOMvr8wxh XN+w== X-Gm-Message-State: AOAM531oP9FEZOvYyflEt01NF8ylyxKQpyfj9Hr6hrQP8hIak+CVr6KF t9OrP7m+Ppn7AtQgXOQQ+AScToDxpnfaKQ== X-Received: by 2002:a05:6102:372:: with SMTP id f18mr7866049vsa.8.1600105332263; Mon, 14 Sep 2020 10:42:12 -0700 (PDT) Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com. [209.85.217.44]) by smtp.gmail.com with ESMTPSA id o186sm1882026vka.15.2020.09.14.10.42.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Sep 2020 10:42:11 -0700 (PDT) Received: by mail-vs1-f44.google.com with SMTP id j6so355856vsg.8 for ; Mon, 14 Sep 2020 10:42:11 -0700 (PDT) X-Received: by 2002:a05:6102:10c2:: with SMTP id t2mr7966339vsr.10.1600105330813; Mon, 14 Sep 2020 10:42:10 -0700 (PDT) MIME-Version: 1.0 References: <1599019441-29308-1-git-send-email-srivasam@codeaurora.org> In-Reply-To: <1599019441-29308-1-git-send-email-srivasam@codeaurora.org> From: Doug Anderson Date: Mon, 14 Sep 2020 10:41:58 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driver To: Srinivasa Rao Mandadapu Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rohit kumar , Srinivas Kandagatla , Ajit Pandey , Cheng-Yi Chiang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Sep 1, 2020 at 9:04 PM Srinivasa Rao Mandadapu wrote: > > From: Ajit Pandey > > Add the I2S controller node to sc7180 dtsi. > Add pinmux for primary and secondary I2S. > > Signed-off-by: Ajit Pandey > Signed-off-by: Cheng-Yi Chiang > Signed-off-by: Srinivasa Rao Mandadapu > --- > > arch/arm64/boot/dts/qcom/sc7180.dtsi | 69 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 69 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index d46b383..db60ca5 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -676,6 +676,36 @@ > }; > }; > > + lpass_cpu: lpass@62f00000 { > + compatible = "qcom,sc7180-lpass-cpu"; > + > + reg = <0 0x62f00000 0 0x29000>; > + reg-names = "lpass-lpaif"; > + > + iommus = <&apps_smmu 0x1020 0>; > + > + power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; > + > + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, > + <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>, > + <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>, > + <&lpasscc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>, > + <&lpasscc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>, > + <&lpasscc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>; > + > + clock-names = "pcnoc-sway-clk", "audio-core", > + "mclk0", "pcnoc-mport-clk", > + "mi2s-bit-clk0", "mi2s-bit-clk1"; > + > + > + #sound-dai-cells = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + interrupts = ; > + interrupt-names = "lpass-irq-lpaif"; > + }; > + > sdhc_1: sdhci@7c4000 { Your node is still sorted incorrectly. Nodes with unit addresses should be sorted numerically. The number 0x62f00000 is greater than the number 0x7c4000. Thus your node should not be placed above "sdhci@7c4000". It should be placed somewhere further down in the file. > compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; > reg = <0 0x7c4000 0 0x1000>, > @@ -1721,6 +1751,45 @@ > }; > }; > > + sec_mi2s_active: sec-mi2s-active { > + pinmux { > + pins = "gpio49", "gpio50", "gpio51"; > + function = "mi2s_1"; > + }; > + > + pinconf { > + pins = "gpio49", "gpio50", "gpio51";; nit: double-semi-colon.