Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13269344rwd; Fri, 23 Jun 2023 19:42:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6p84t9XSuoGyLEF3HFvAopj5YFUwWXyrzkUpPVLWPZ5qRbIouCKts0f6U+xHASIo/IR7g5 X-Received: by 2002:a81:86c7:0:b0:56c:f8f1:eed5 with SMTP id w190-20020a8186c7000000b0056cf8f1eed5mr24164490ywf.6.1687574552887; Fri, 23 Jun 2023 19:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687574552; cv=none; d=google.com; s=arc-20160816; b=0PzXZeY5SDvTpLHEMO1izXNK5XwOKs9QODJjFWbE++rD2twW206GGaOIAVNLA65SUx mp01ssbxCCB1tgp/JnegeWkOzNexC9kv6fimUVbTxk9WFT19k837GWv4nnL4gughm2ek vZz7WAo3IlQMhj5ZNKMHxXPWUhLKL/BsXjNWPH0iMR34jD9NtPiHZEI0qT0t9FeJyZz9 kfaee3sbG4gTujINWcUrDpa13VWb0B5KUBRvFJE86DhYEyECfFYgstGhYglb/H9hGfSG ZerC/Su+Cnj1U5N6z6uy3t3/SdjVkRCZmAJxp9M4rnxbAoFWzG5p42F9Nb0yeMXRVL3A pxMQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MNi2d6GmsftsJ+atPufVKVknTeQVWLkwlnja8uNA9c8=; fh=7lEJM9wAYJhS8Xo2kqIOQ2f/vsbXslFyUfEivgEauLM=; b=WPNWWeLbaRwzJDdGl3vDeGEAqP6X3bxDKj7acXMxbCqMVWxxRFdL2Ez3p1h8Xr4q4n uYEzGYGoe02Jc/clqtAj0etY06FLqvnFKdJb8MIfGV3otOSjE8iH5B5jTr5WV28kWAOV upHsUZzQXhaPEzFtAIpnItLPuawXpjoSf558Q9Q3XujMDzl+JWO+to6iZj/X3+VEKDuL t1D04EdfYJAI2hnxE4ChCWTwKMFk8YaNKQf2D0uuOpZHONmX8lc2w4mlzcoMQrJJQO+X ewIZSmacdYo49eyNQFGjRcSHx4+rMYjBWVXHnA168/DRytBVeo0zUdBggqdyeSXuHjF8 5ZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m5zubTS7; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a056a00098f00b0064d28b68d8fsi490797pfg.94.2023.06.23.19.42.10; Fri, 23 Jun 2023 19:42:32 -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=@linaro.org header.s=google header.b=m5zubTS7; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231912AbjFXBuT (ORCPT + 99 others); Fri, 23 Jun 2023 21:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjFXBuR (ORCPT ); Fri, 23 Jun 2023 21:50:17 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33332729 for ; Fri, 23 Jun 2023 18:50:15 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f96da99965so1698468e87.1 for ; Fri, 23 Jun 2023 18:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687571414; x=1690163414; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MNi2d6GmsftsJ+atPufVKVknTeQVWLkwlnja8uNA9c8=; b=m5zubTS7oBIrjbyDTIEZ70Ok3zRH35JGiZlJ+HvMXP4Rf+sYzCxyoiNnFKShU1Zybd MDkEf31vdnyRuh3sTsMoTVjKtOfcVkQQijadv4L+OB8vzhXxaLxK3uW9bfmso/4HxCl3 S81Jc0QmDnvLDrsrhySdOLBAgTbBoVdHJgYZwr1Re12BtRutcLicpRi6U5RaWRDGsA6+ EKTLuvBI6H/p8lAQtcNdPWzds8VnSUGGoVHeZfEb+xTDJGLbm3GYxj31sKfv5xZl+stb ex2yCYlve/n2ZNjyFrF+FmEyddtiU2s5HL1NFdjV++dartYeFJ7GSEWJvM1qQoUV7WMd +9AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687571414; x=1690163414; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MNi2d6GmsftsJ+atPufVKVknTeQVWLkwlnja8uNA9c8=; b=WU3LpU0WenQwDPIHbEeJspCwy3MUKXUdElrx61R3BYLzU7rHbp7gtFpxQD6+n6oOHA K9CSKsiuGXSypYknMDyZ7KmVpAiZn0wkza6vSCee32g5PX6hw618KjRYPCyfchZXFmNa xABwgauOWDaGVUTXRi3oKOsddXmHIhgV0eYh0JiVxtIjftixjc7SeN/W4j5MQz2ht0ZF LUzmF+UhYF9GiQjNZqH+koPtoHs2LCtcj6X3AFpYd0h5Za/OZQQWBaSlFKUofik8vuPj caxlWZDWD8TAFMuqJ6XwVuZADfpYahWOBmrnGkDI/gqzW9t32J12xivFa0B0SFow4oyL 9Brw== X-Gm-Message-State: AC+VfDwa6WhgGJTTOhCNLea3bvMD3N7S0925jqw0caFnLZIvzskLBRAn dbglvYPsNkaShFOpjapo3gPBCw== X-Received: by 2002:a05:6512:44c:b0:4f8:7803:5559 with SMTP id y12-20020a056512044c00b004f878035559mr9156150lfk.6.1687571414126; Fri, 23 Jun 2023 18:50:14 -0700 (PDT) Received: from [192.168.1.101] (abyk30.neoplus.adsl.tpnet.pl. [83.9.30.30]) by smtp.gmail.com with ESMTPSA id z6-20020ac25de6000000b004f86aef886asm100843lfq.54.2023.06.23.18.50.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 18:50:13 -0700 (PDT) Message-ID: <8acfeaf2-2181-4ce7-5edb-1f23004dcd3a@linaro.org> Date: Sat, 24 Jun 2023 03:50:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 12/15] arm64: dts: qcom: sm6125: Switch fixed xo_board clock to RPM XO clock Content-Language: en-US To: Marijn Suijten , 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 , 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 References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-12-1d5a638cebf2@somainline.org> From: Konrad Dybcio In-Reply-To: <20230624-sm6125-dpu-v1-12-1d5a638cebf2@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 24.06.2023 02:41, Marijn Suijten wrote: > 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 > --- Reviewed-by: Konrad Dybcio Konrad > 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>; > >