Message ID | 20230622-topic-8998clk-v1-9-5b7a0d6e98b1@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5009181vqr; Thu, 22 Jun 2023 05:00:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4JtbRfpkDMFfmvGFgHHdLVkF+RVTS1NvqZ/bTfSMTv8XUL2IhmWhX/V0pjqzYTnhV8i6UW X-Received: by 2002:a92:c841:0:b0:340:94d7:555 with SMTP id b1-20020a92c841000000b0034094d70555mr12261272ilq.20.1687435232976; Thu, 22 Jun 2023 05:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687435232; cv=none; d=google.com; s=arc-20160816; b=B0J0nFKu7uq9YUjLeZbtQsSWy0pcZ8Nb+aj6lPe0BP7gTNG9Csknsj0ShRoDxtkO9Z fRjVxxOgSPp2m5MyWXLV2rX2jOTHLXsHpoS9MjSBqlZ/CS9rbIMlDYTCSEckiXlg2Nfa YRWGE80+ksIO3AeIHwtw4AoWg2wFLRt8bYEXVV4qzNDf7jYs2UGQUopVqalV/hJcSV8g Yw56uOksb9Bo0BfDemtPfbppkdBK+oFJDuFKoP/s7LD2M0J75ZQOC59UW9CxdrcNY1+C uJh2jmW/b4CWyqmf2bt5Z3FEp75SxfH7bxDjzCahaPSEHJTU5DM5FvWFGbs99Vq4A39f OQJw== 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 :dkim-signature; bh=qd4+5bYIJSD1AWeQPTgthQXsn71VUDPalDNC260pIEQ=; b=lVrhtSgAyRoJmwHWysJhs1SdpuShuyCnG69b3qwO/pGOdRIQPbths76ekOnrGZmVT2 Bajzhx78yUunDoeaddaht6KbRpdcKdjG+3/bInqM6KsbIg8gcKgZmANWCpXBvAjs3N9R I2N+Q0cfH6SXCIQUB4YOz+u8fOzWIwLTGhdRATuFiegz1mcODrBTE/qS+tKoRPMv/R4L GjM8L2MRyvSgxbAGn8oIlb2kSOroSXStP/riTEQjVr/L/ycSu+nekeVZID0rwGfH1k89 bNNukVwB5qP5Gta6u5ch6F8e804CuoxCXphQCVZi8YDN49q76tCyFn/jDJHyNup8yVHx j/vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s0PIpjdH; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h71-20020a63834a000000b00542b1792242si6442754pge.720.2023.06.22.05.00.10; Thu, 22 Jun 2023 05:00: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=s0PIpjdH; 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 S230519AbjFVL6a (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Thu, 22 Jun 2023 07:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbjFVL6J (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Jun 2023 07:58:09 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A489210B for <linux-kernel@vger.kernel.org>; Thu, 22 Jun 2023 04:58:02 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f955850e30so683090e87.1 for <linux-kernel@vger.kernel.org>; Thu, 22 Jun 2023 04:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687435080; x=1690027080; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=qd4+5bYIJSD1AWeQPTgthQXsn71VUDPalDNC260pIEQ=; b=s0PIpjdHBrUCmeQJXzRAvu/7Mwfkh5y9yHnSBMd/UCbKepsIHfBNbp1Ck5i4GSkk6W Ypof/0JQ4qeLyg4e5sM0TyAwowvArVeU+FnQO5mXoIoyqEkvCdwiL/a9jT8baQZVWdjH jjKfLQOfsufM6WNmjlKHKSF0P/FbW/XEtI57A6VQfdtDuaiM8Gb+8DdXzFH6BBk+Mmml c/bL5/g5YiZm2g2pe9Tqrj+8sM7xfOeGQNYsvesoY7ak0ZaU6cDeHfjQn+1EVGrPf79y rwtB4glx+8vV1qCKtbx9jrcnsU1UeQCLQDGvwmw6fG8TZkZo4aUwQkL/ge9wGP9adtl4 E1vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687435080; x=1690027080; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qd4+5bYIJSD1AWeQPTgthQXsn71VUDPalDNC260pIEQ=; b=KM4IPp8G9Vadvdfyt6TeydcH9n6pRj8MTe5SSLr8bq5ueI9UwaQUpLAPZAu8bxqMT0 jHn2khvl/SwNYrbehsHhB/u5AzLjK7sKyjmrRuG9/mdwkMSw+ZAsJJMRu+WtPZXehYyX S1A81WZwIr6x0Jj0w7/txrKp7HnNsR2HKDCJcVqBFAp4D/QhMUw8eFmEyQtKoIEY3Qge teITOEgPBnDnLuGPsQcmbgUPc1Db5Ga1lO0rNlNdE9+mylbjs5vAuJeWgSN0z9tmXj4u a1n+HZs7miPbMKWSleZursN8cr2fW73a/eBRMKmXeUOBVN+fvoLr9+Slw1lyDD72jfuE ZvfQ== X-Gm-Message-State: AC+VfDxgsNmzuWC0SacvvOGXPcHppBKp0n6hU4AQoQTVhmaoxtWZ6YJ4 klyA3N0DA5bm95wwUioxf5vplQ== X-Received: by 2002:a05:6512:12d1:b0:4f7:65a7:4d94 with SMTP id p17-20020a05651212d100b004f765a74d94mr8080678lfg.7.1687435080447; Thu, 22 Jun 2023 04:58:00 -0700 (PDT) Received: from [192.168.1.101] (abyl165.neoplus.adsl.tpnet.pl. [83.9.31.165]) by smtp.gmail.com with ESMTPSA id eq21-20020a056512489500b004f4c3feb9fbsm1099235lfb.61.2023.06.22.04.57.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 04:58:00 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Thu, 22 Jun 2023 13:57:49 +0200 Subject: [PATCH 9/9] arm64: dts: qcom: msm8998: Use the correct GPLL0_DIV leg for MMCC MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230622-topic-8998clk-v1-9-5b7a0d6e98b1@linaro.org> References: <20230622-topic-8998clk-v1-0-5b7a0d6e98b1@linaro.org> In-Reply-To: <20230622-topic-8998clk-v1-0-5b7a0d6e98b1@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Jeffrey Hugo <quic_jhugo@quicinc.com>, Taniya Das <tdas@codeaurora.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687435067; l=1056; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=gJtjlM23H/np8JPlgrRMMzMMmFruemZY5INaIEO4+Kg=; b=ZOzGxwxyKdjB5CuoCZtPs1vOWhS12y7dZRhQ3MdXQ/4bwzI2xByM4FWZDx1OQatfW2recggXb 6Hy5kqKivQtDFlZuMQ0ki2sV22O+49Wdan7ocq1Q56hCZGjMNz5OB1y X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769404086785684652?= X-GMAIL-MSGID: =?utf-8?q?1769404086785684652?= |
Series |
MSM8998 clk cleanups and fixups
|
|
Commit Message
Konrad Dybcio
June 22, 2023, 11:57 a.m. UTC
MMCC has its own GPLL0 legs - one for 1-1 and one for div-2 output.
We've already been using the correct one in the non-div case, start
doing so for the other one as well.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8998.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Comments
On 6/22/2023 5:57 AM, Konrad Dybcio wrote: > MMCC has its own GPLL0 legs - one for 1-1 and one for div-2 output. > We've already been using the correct one in the non-div case, start > doing so for the other one as well. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 74bd05579796..c4faba092368 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2718,7 +2718,8 @@ mmcc: clock-controller@c8c0000 { "dsi1byte", "hdmipll", "dplink", - "dpvco"; + "dpvco", + "gpll0_div"; clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GCC_MMSS_GPLL0_CLK>, <0>, @@ -2727,7 +2728,8 @@ mmcc: clock-controller@c8c0000 { <0>, <0>, <0>, - <0>; + <0>, + <&gcc GCC_MMSS_GPLL0_DIV_CLK>; }; mmss_smmu: iommu@cd00000 {