Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1385384ybh; Thu, 16 Jul 2020 10:35:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoYiPTm6UqBPf7r+cfyvVz+2p7m64JwpFbPLnJHHhl33Kh9LG53BokqvkrRKBLmK4qnLym X-Received: by 2002:a05:6402:741:: with SMTP id p1mr5345896edy.222.1594920926896; Thu, 16 Jul 2020 10:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594920926; cv=none; d=google.com; s=arc-20160816; b=1DEnuJb700yHiqgJkxb2XH2M9bgHDyr4WSTW9XhXntScq1AQ31aGpQTTjgXzwp0G5+ EC3/rTwBcTL1t1WJbgPXZGOgqvPG3JKzxZgfkpNjoZT3eel7R9J4/Hw9mV+lLUAAC7O/ mgALZtdIU/ncDKCRPVvv6vpjab0rcmSyju8iaw/VsEOAgSLLrF2Amz9A5X3qSn5WlwMp eU0sZXm1fyRE54HLx6H2Be82S22iKkrwrGHMR8V3YoRKdc5vWOVZC2r9IwHRM+aCi74D PR6xWPfS0Lmb1yKbLxmfDRbm5YKkKjAWkbLMM8kfwwwAHB8WTnXMrDlF6Ns260msu7dA bd8A== 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=+YZ4K32ILO0YG7+Onb9+bb1wbPOZ0IsAwcOMvX1Wf1U=; b=MPUU2M9k59s2Flw488gjXhz/Nugzhgm3ykmpNsmdj9R5konoXOIz+tSiOYGRTIbAHg gbhzHG0YTjVUVeRJC3m3PqdE8ALKnOYgi0wAuoDYfpAhWPLPEvkl5DEEubY/Wo3Hh6W7 ZfNPdtJDkGybM3nCnliMhJOXEX2OubJVX7U8ijJc285P4qRerDZUnhZI3kOSRP+SDopb TrxRkFGVnCJRsdtTVUYd4ZAMdV1zkqH+BPNf6Av/WkLgT8+su/6UoD+amWHEycFjYZ7P TY1deX49wWagGJ7+PEYHRI6Ipaa7jKIADrW7OSgFyLyK83rrTsOM5PSPhdtm01ROPmPZ /WcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DgIAFh9x; 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 t22si3588499eje.467.2020.07.16.10.35.02; Thu, 16 Jul 2020 10:35:26 -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=DgIAFh9x; 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 S1729076AbgGPRex (ORCPT + 99 others); Thu, 16 Jul 2020 13:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728562AbgGPRew (ORCPT ); Thu, 16 Jul 2020 13:34:52 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFC16C061755 for ; Thu, 16 Jul 2020 10:34:51 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id d198so3450669vsc.1 for ; Thu, 16 Jul 2020 10:34:51 -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=+YZ4K32ILO0YG7+Onb9+bb1wbPOZ0IsAwcOMvX1Wf1U=; b=DgIAFh9xOdcGljTcbCAE1IcHuv2aaa2mBbzzoSyx+PkPEnrbCyvTBNyFXPYLKiG9Pm 8pVv0O31SbSSnI5+44WNuLdO577HNgfluZBBRqvKCeX59P3Z6sO4UXk0PT8vXh6Lx/2V 3FtSeQB0FwxrAc1mp5ySe0Pf0i5r+sXaq8c6M= 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=+YZ4K32ILO0YG7+Onb9+bb1wbPOZ0IsAwcOMvX1Wf1U=; b=dSAeR0n6Qcm8UjabXVXEFu197dZFFxBnlXxCieadov03aFSdWO09jxcZwb1y/Vsinm i42docLkrgoCugABO03yIIgko4F7Tq4oVBQ/i78Q5I2Hj3Z/jD+fL29dR9sWFhsUZx/d cWj2A9DOEd5jX99P+yNUO/hky1GOdvMr5PoUZxUJHdbYsY1QTMu0uOYug8MyIvAY6vLI G5Rk0iztvXqoYPDZvveeJIVYjPq/aLlgKP6C6q+RvTs5lrf2BuGnGNS8EbTp/Tk14deF zeEkjf4h8/MM90nzzPPvwYYv/9pr+Sco8a3BzRhYqlNHFPYdBtnt4/6TTs5ngupB70Fl bzhQ== X-Gm-Message-State: AOAM533oio6oKAODbR09hxRLsbYoxiKggP54si4ZqaIKpRCpRf4j8ORF lL1MkH+IMNPdLEHFtZWrWga6bC2hM0o= X-Received: by 2002:a67:ce8d:: with SMTP id c13mr4061860vse.152.1594920890384; Thu, 16 Jul 2020 10:34:50 -0700 (PDT) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com. [209.85.222.49]) by smtp.gmail.com with ESMTPSA id m143sm822411vkm.1.2020.07.16.10.34.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jul 2020 10:34:49 -0700 (PDT) Received: by mail-ua1-f49.google.com with SMTP id h18so2022100uao.6 for ; Thu, 16 Jul 2020 10:34:48 -0700 (PDT) X-Received: by 2002:ab0:150c:: with SMTP id o12mr4397825uae.90.1594920887766; Thu, 16 Jul 2020 10:34:47 -0700 (PDT) MIME-Version: 1.0 References: <1594796149-14778-1-git-send-email-tdas@codeaurora.org> In-Reply-To: <1594796149-14778-1-git-send-email-tdas@codeaurora.org> From: Doug Anderson Date: Thu, 16 Jul 2020 10:34:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Add LPASS clock controller nodes To: Taniya Das Cc: Stephen Boyd , Michael Turquette , David Brown , Rajendra Nayak , linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , linux-clk , LKML , Andy Gross , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Rob Herring , Jimmy 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, Jul 14, 2020 at 11:56 PM Taniya Das wrote: > > Update the clock controller nodes for Low power audio subsystem > functionality. > > Signed-off-by: Taniya Das > --- Somewhere here you should be pointing to the unlanded bindings patch, AKA: https://lore.kernel.org/r/1594795010-9074-3-git-send-email-tdas@codeaurora.org As per usual the fact that are using a new bindings #include file means Qualcomm maintainers and clock maintainers will need to coordinate landing and this needs to be pointed out. > arch/arm64/boot/dts/qcom/sc7180.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 2be81a2..8c30a17 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -2136,6 +2137,27 @@ > }; > }; > > + lpasscc: clock-controller@62d00000 { > + compatible = "qcom,sc7180-lpasscorecc"; > + reg = <0 0x62d00000 0 0x50000>, > + <0 0x62780000 0 0x30000>; > + reg-names = "lpass_core_cc", "lpass_audio_cc"; > + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>; > + clock-names = "iface"; > + power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; > + #clock-cells = <1>; > + #power-domain-cells = <1>; > + }; > + > + lpass_hm: clock-controller@63000000 { > + compatible = "qcom,sc7180-lpasshm"; > + reg = <0 0x63000000 0 0x28>; > + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>; > + clock-names = "iface"; > + #clock-cells = <1>; > + #power-domain-cells = <1>; > + }; Question: would it ever make sense for a board not to need this clock controller? I ask because the sdm845 "lpass" clock controller is "disabled" by default but yours here isn't. I know sc7180 and sdm845 work pretty differently and perhaps the sdm845's default of "disabled" was just overkill, but I thought I'd ask. > + > etm@7040000 { > compatible = "arm,coresight-etm4x", "arm,primecell"; > reg = <0 0x07040000 0 0x1000>; Your sort order is off. You should be sorting by unit address. Note that the "ETM" has an extra 0 before its 7, so you're comparing 63 to 07 and you should be after. Other than those small things above this patch looks like it matches the example in the bindings, so as long as Rob / the clock guys are fine with the bindings then this seems good to go. -Doug