Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13191399rwd; Fri, 23 Jun 2023 17:50:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6mJuFD+6iJE5U7T6kR3Z0QOvpb0cIZmAxUN3DhsNsNVEWdNXc32o5e+xLKgf0sUJht/jY5 X-Received: by 2002:a17:902:e752:b0:1b0:522d:8ff4 with SMTP id p18-20020a170902e75200b001b0522d8ff4mr746951plf.21.1687567823916; Fri, 23 Jun 2023 17:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687567823; cv=none; d=google.com; s=arc-20160816; b=DF10TYWIsqmE8fjYTXrlxde1PTnhlJEY0aGPWpeGvnA+5xmMdIvngngSo7szylWpz5 wGXY1AzVAGjKLWMJzsRdWtUjs0AmnOSp5NHMRY+SoPirVFwVt1g/NnnvsOeJ4ouxG3Rq uVXE+lkiVVEddjpI0ppP0EbdSUphedCDHxpDUf7PURkL5qhrgzQzh10V3Gfk3cuQO3oc f5eaSZN716Cdcbw3njicS2AwcP3Bd5EMc7IJmNJbOorZ9pFd0mXKAL+HaHJdMC1EUVp1 b6N7Ql2DaY0WFEPLrUIW9T+g9y742ln0j7Iigz/Az1Fxf26x/3bAc8RTsmWF3VNFVLPB mPRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=2rJmzba2e0lBztAueyzOQbjSdRB7/GullySBtZ36qks=; fh=OfzUp+OcwbFUfZC2mGhS6GGXsXqM7NhjMWKyOt4HPQU=; b=DeDWpjWY2+D7v4+KjAYOpFto1oklkexq3KbnOz7pQAtom9BzJBHW0VQ9z24+1UDmru 0FVEqzqY5IgwqpRNBvjY3a6t6AqiT+91fhJYXDYfy2VQXFgrYxXRiZHJNOFFR2nRuPgO QgSenZGhjs4uJRphIYdhNKkDfjjiAStra+9Eaj5rd5C3573tiqnbePcuj+xiEjoElExY NYVEHfTU3rgGD3o1k3LEAngzWhL616VElEsA32JlBPZ+Pt7yEMWY5q12v8fQa2W+Vbhk D9yP24/sY+SEK8aWxVHWdDGzcQdpQxini/80BKoRqLqP0QWjKuPYxDtvmiaZWwHNCBZo W6ww== ARC-Authentication-Results: i=1; mx.google.com; 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 e6-20020a17090301c600b001b3f4c8f6c1si419609plh.43.2023.06.23.17.50.11; Fri, 23 Jun 2023 17:50:23 -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; 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 S232554AbjFXAmH (ORCPT + 99 others); Fri, 23 Jun 2023 20:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232076AbjFXAla (ORCPT ); Fri, 23 Jun 2023 20:41:30 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4269B2D45 for ; Fri, 23 Jun 2023 17:41:17 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 78D663F853; Sat, 24 Jun 2023 02:41:15 +0200 (CEST) From: Marijn Suijten Date: Sat, 24 Jun 2023 02:41:10 +0200 Subject: [PATCH 12/15] arm64: dts: qcom: sm6125: Switch fixed xo_board clock to RPM XO clock MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230624-sm6125-dpu-v1-12-1d5a638cebf2@somainline.org> References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> In-Reply-To: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga , Marijn Suijten X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 We have a working RPM XO clock; no other driver except rpmcc should be parenting directly to the fixed-factor xo_board clock nor should it be reachable by that global name. Remove the name to that effect, so that every clock relation is explicitly defined in DTS. Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index 722dde560bec..edb03508dba3 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -22,7 +22,6 @@ xo_board: xo-board { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <19200000>; - clock-output-names = "xo_board"; }; sleep_clk: sleep-clk { @@ -306,6 +305,8 @@ rpm_requests: rpm-requests { rpmcc: clock-controller { compatible = "qcom,rpmcc-sm6125", "qcom,rpmcc"; #clock-cells = <1>; + clocks = <&xo_board>; + clock-names = "xo"; }; rpmpd: power-controller { @@ -713,7 +714,7 @@ sdhc_1: mmc@4744000 { clocks = <&gcc GCC_SDCC1_AHB_CLK>, <&gcc GCC_SDCC1_APPS_CLK>, - <&xo_board>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "core", "xo"; iommus = <&apps_smmu 0x160 0x0>; @@ -740,7 +741,7 @@ sdhc_2: mmc@4784000 { clocks = <&gcc GCC_SDCC2_AHB_CLK>, <&gcc GCC_SDCC2_APPS_CLK>, - <&xo_board>; + <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "core", "xo"; iommus = <&apps_smmu 0x180 0x0>; -- 2.41.0