Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp125700pxm; Tue, 22 Feb 2022 18:34:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpdx+2TrPG16ENsaOfWLAnMDB6AVOskNleJ8UqEW1M7ZmaGcEetL8WYMlEO4TpRhHXsoRP X-Received: by 2002:a50:d0c1:0:b0:413:3101:3ff5 with SMTP id g1-20020a50d0c1000000b0041331013ff5mr1345780edf.125.1645583643886; Tue, 22 Feb 2022 18:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645583643; cv=none; d=google.com; s=arc-20160816; b=1Jrmgdfh9sHO1oLzA0FOcQ7sTCc21iyfZqPrmAk5mhl9LWXdmvPcSZ3VX3aYkcAGRW 2ARpEVQcC48+QxoOCGqKL4XiXRfeyR0j0/xae8sz89CK8EUMvTR68pkjts8Lv0/8LjjU iNttw05hnA4OLgdikQQhBcou6MOV5LJ6cE9PoilveLmQOPkZEdpt7DIXrwZ7X/NwEjPw 334M1U/JWTBj3gx+BAfh/6UykqTuKkONilHQ50t1SvSiWT3w3qCecqyzhoDl0f3GSGgI WCykn2hB2KfBptGAc7BLLqgK16GiFhoAwh4BXXj8nUnL3U8GnHsKkp7j9EII66U/qxaV gLtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RAjZhwN+MZdnp4/RC9NZ6Pdsw6fvCTm9U8G9JOs4k1Q=; b=TJfn+7/I38/8aUAClI66sBCcHEU5eTQ5BKaTRk54bX8zX1rHbB1f/dNZwkdp1iTVNG mFfYgGutrYxsO5tcFrHTtJYieLpsCQdc8gDVCaEKhBIe5LndeD1Wch/H2zIArwvz8l6l SWSepI5IZh/b7qtXeII2J9nRbueNGL3Sk/S4T1lxrVhSKQvyWp0zjy6649TRx5E7cfvO xu5qCdlYytBB6yqosk011Wkv8GwXdgcFszT0Dw8mehaFDhVRd6Divwqa3khuFNUo/u4I 15PHl1Gv9Otewc8PhzpjvkQLgt8A12C+8ow7NiXn8PvyggLu8pGi7u45bU3uzItTbzAb b2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=NC5SuUqo; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z9si4980295ejj.701.2022.02.22.18.33.40; Tue, 22 Feb 2022 18:34:03 -0800 (PST) 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=fail header.i=@earth.li header.s=the header.b=NC5SuUqo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235368AbiBVUCO (ORCPT + 99 others); Tue, 22 Feb 2022 15:02:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233462AbiBVUCM (ORCPT ); Tue, 22 Feb 2022 15:02:12 -0500 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C0DC55BC; Tue, 22 Feb 2022 12:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=RAjZhwN+MZdnp4/RC9NZ6Pdsw6fvCTm9U8G9JOs4k1Q=; b=NC5SuUqonceRs3gFYjjT8+rutl iWurGT3uN4Y/BLTpf1+iiO7uQ95YuRtFaCNo1ofojsO6jFM2hAXvGRCZBcVG67g6EBz9o42kiIT1w DL+hlSERE09Cb9DAGg37nXqVlYnvp7iOof1p0zUz/nTw5Dbl+myNzP59bT0bLA7mW54u8J4fa+4nC A0WVVbs1JCi3ETmUTG0hT4LjWNwqbix+M/toXv/GjsKl5hA7f3+QlzwtJZHqaD3oqK9ggOngGQuw4 B0D5ZGGsZwxl+mcCu4Wj296fRd2hn4cf+aAqjxDdGRJXpp2BI+7MeAuJlw+2zC1rF5pQEV7qFX5Xk FlhDuV7Q==; Received: from noodles by the.earth.li with local (Exim 4.94.2) (envelope-from ) id 1nMbLx-00CQsd-GG; Tue, 22 Feb 2022 20:01:41 +0000 Date: Tue, 22 Feb 2022 20:01:41 +0000 From: Jonathan McDowell To: Ansuel Smith Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 10/18] ARM: dts: qcom: add saw for l2 cache and kraitcc for ipq8064 Message-ID: References: <20220218002956.6590-1-ansuelsmth@gmail.com> <20220218002956.6590-11-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220218002956.6590-11-ansuelsmth@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Fri, Feb 18, 2022 at 01:29:48AM +0100, Ansuel Smith wrote: > Add saw compatible for l2 cache and kraitcc node for ipq8064 dtsi. > Also declare clock-output-names for acc0 and acc1 and qsb fixed clock > for the secondary mux. > > Signed-off-by: Ansuel Smith > --- > arch/arm/boot/dts/qcom-ipq8064.dtsi | 34 +++++++++++++++++++++++++++-- > 1 file changed, 32 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi > index c579fb09e768..7df1c1482220 100644 > --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi > +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi > @@ -298,6 +298,12 @@ smem: smem@41000000 { > }; > > clocks { > + qsb: qsb { > + compatible = "fixed-clock"; > + clock-frequency = <384000000>; > + #clock-cells = <0>; > + }; > + > cxo_board { > compatible = "fixed-clock"; > #clock-cells = <0>; > @@ -504,11 +510,19 @@ IRQ_TYPE_EDGE_RISING)>, > acc0: clock-controller@2088000 { > compatible = "qcom,kpss-acc-v1"; > reg = <0x02088000 0x1000>, <0x02008000 0x1000>; > + clock-output-names = "acpu0_aux"; > + clocks = <&gcc PLL8_VOTE>, <&pxo_board>; You need to add the pxo_board: label to the clock above or we get: arch/arm/boot/dts/qcom-ipq8064.dtsi:645.34-652.5: ERROR (phandle_references): /soc/clock-controller@2088000: Reference to non-existent node or label "pxo_board" arch/arm/boot/dts/qcom-ipq8064.dtsi:654.34-661.5: ERROR (phandle_references): /soc/clock-controller@2098000: Reference to non-existent node or label "pxo_board" > + clock-names = "pll8_vote", "pxo"; > + #clock-cells = <0>; > }; > > acc1: clock-controller@2098000 { > compatible = "qcom,kpss-acc-v1"; > reg = <0x02098000 0x1000>, <0x02008000 0x1000>; > + clock-output-names = "acpu1_aux"; > + clocks = <&gcc PLL8_VOTE>, <&pxo_board>; > + clock-names = "pll8_vote", "pxo"; > + #clock-cells = <0>; > }; > > adm_dma: dma-controller@18300000 { > @@ -532,17 +546,23 @@ adm_dma: dma-controller@18300000 { > }; > > saw0: regulator@2089000 { > - compatible = "qcom,saw2"; > + compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon"; > reg = <0x02089000 0x1000>, <0x02009000 0x1000>; > regulator; > }; > > saw1: regulator@2099000 { > - compatible = "qcom,saw2"; > + compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon"; > reg = <0x02099000 0x1000>, <0x02009000 0x1000>; > regulator; > }; > > + saw_l2: regulator@02012000 { > + compatible = "qcom,saw2", "syscon"; > + reg = <0x02012000 0x1000>; > + regulator; > + }; > + > gsbi2: gsbi@12480000 { > compatible = "qcom,gsbi-v1.0.0"; > cell-index = <2>; > @@ -899,6 +919,16 @@ l2cc: clock-controller@2011000 { > clock-output-names = "acpu_l2_aux"; > }; > > + kraitcc: clock-controller { > + compatible = "qcom,krait-cc-v1"; > + clocks = <&gcc PLL9>, <&gcc PLL10>, <&gcc PLL12>, > + <&acc0>, <&acc1>, <&l2cc>, <&qsb>; > + clock-names = "hfpll0", "hfpll1", "hfpll_l2", > + "acpu0_aux", "acpu1_aux", "acpu_l2_aux", > + "qsb"; > + #clock-cells = <1>; > + }; > + > lcc: clock-controller@28000000 { > compatible = "qcom,lcc-ipq8064"; > reg = <0x28000000 0x1000>; > -- > 2.34.1 > J. -- Hats off to the insane. | .''`. Debian GNU/Linux Developer | : :' : Happy to accept PGP signed | `. `' or encrypted mail - RSA | `- key on the keyservers.