Message ID | 20230622-topic-8998clk-v1-5-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 k13csp5015643vqr; Thu, 22 Jun 2023 05:08:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qEdQCzJmX6BN4jeXVl4TJHdqZVobCEqBKGtW1vX00JLnvWGSsHWN7dpcsO2aa9BOdrie4 X-Received: by 2002:a05:6a20:a5aa:b0:123:7989:ba54 with SMTP id bc42-20020a056a20a5aa00b001237989ba54mr2972165pzb.38.1687435717812; Thu, 22 Jun 2023 05:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687435717; cv=none; d=google.com; s=arc-20160816; b=V7pklb+vFYaJKaz5TPxJZpi7MLFku++RpS19WkZLnKYtG7T56YtZqFgOhrFMuD6DeH mzggk1DbwTfP260WwxP47BJEF3PM2AKd0ghDgz3ls1n1veZMtMdFxoibEIjBc5h68Czr iVkQuG3yzBynWnQSbLZu4zh6XTLaoo8AjR2K1T6jLq5jNd3WhcF5x7T1Diq7w2i8GU7S Hdy0NjqlZfTmkCRQtX1Ox0OwlwfD1uJUHhrqtSWhlYGyWK83twuKO5A+chp0PCj3DTGW wtx6RdoGnZVvCRuBVCh5q2nhup5S4/EokVKBmqvOAAzeNGroHvg8RO9DKAPjD/W4Ch7/ 6oaQ== 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=aU/QNfxVjYbWI2/agoiWsfl5ruwbIjST09FyM+SFUY8=; b=wmSaHPvy+Rj8l6zBtpad339MlX5IfboASV75PPZcTJLBzQRURQWBirwFwhIvUikkrn DxxlMmWlYzUZjX/hy6nzOUGRDe0d0k9hHmuDMHKIj1E5Lo3t5UT+fZ+RkYAY8sEeu2Fw 4o6zc42qbyc4l3653xGr9foFjU8nNwl99FnRJdKBHP3sLjZegQ8CJJddIXqDxX9R+1Kf qq1yz4079m4rcXkxUG4Ge6B/TOxMAO6Ae5BRlBa7PqdqtXrgtsc4UiS3tLsd5RP+TSkR 5URPoTAQxphHZkchbDHvrqSfjsUWg8YlBrDooL/eAxYrpUXyei7ccJtTx0SW88uUnp72 tN/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MZqIss5v; 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 m3-20020a637103000000b0054fd0012d40si4125704pgc.316.2023.06.22.05.08.07; Thu, 22 Jun 2023 05:08:37 -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=MZqIss5v; 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 S231138AbjFVL6n (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Thu, 22 Jun 2023 07:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbjFVL6C (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Jun 2023 07:58:02 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1C9B19AB for <linux-kernel@vger.kernel.org>; Thu, 22 Jun 2023 04:57:56 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f86bc35f13so7301523e87.1 for <linux-kernel@vger.kernel.org>; Thu, 22 Jun 2023 04:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687435075; x=1690027075; 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=aU/QNfxVjYbWI2/agoiWsfl5ruwbIjST09FyM+SFUY8=; b=MZqIss5vdkr3pmHI1Er1dLMAr5Ff3KzM02vZoyn+nZrjnUMDy3s+CGl1BpIIYJyzxr Wbfv5nTfSeccmipVeh31WiKD+U0rqCUHj0GHs/2jGDMnKR09BPHs9/kIW+kNkw4gm2F7 iKgVri9DcPoEn0pM3yY0U/rcEpsAYvh0VxKREUDOf5sXBFjrNjpk9lNW0k7H5WLmBh27 f+kL/mg26deC+cCddPjd2GYOF0igNBUURQ8IeH5qZ0OcwaRP8gneOpOdZkAl3LstOWcY pvUvPeG76K1zvyd4H6Nn478XaMn58QYAhfYa+xMoSi5uCuT/EntQNOVnmDQsZlxltJQ0 OMtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687435075; x=1690027075; 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=aU/QNfxVjYbWI2/agoiWsfl5ruwbIjST09FyM+SFUY8=; b=ABSQj0aRVLtNJHxNawgkqAUVJrRAM6JhYpOfbi2r8b5+pyAPWBAX0wrO0mp96lAkm1 /nLsXjQlb0+yUflb+u/AYQT+MvJq4PhZ0x2k5UMpBaMb5qJskG8FIl3LfBDjmc2W4ugb y3K/fMq4OpPiEzJRCUBwyQG5wcGYCS4Jv2zONuyjsZnoYN3i6sB/lA727lPLXzZjGK3q owhlE+QfxCzQLdNsYTO8fI8S2pwNxIEiqYsv0EypPV0NJq10aDAl10f1JNNRVJN3NifN wH973t/4gvOyYkiZp5C8IUpB6kCeY8UFdbiAlJHD/Hg//ampXgIzDbold+/w9dPCjY7I NWjg== X-Gm-Message-State: AC+VfDzA5YtEs3mdcw3ClRjNaOa1iutowjV0JAkqVoc+SgGUOqKbcvDC mztJJsqNpn3DybtyZrhTElo+bg== X-Received: by 2002:a05:6512:54a:b0:4f4:cacb:4b4b with SMTP id h10-20020a056512054a00b004f4cacb4b4bmr11234730lfl.18.1687435075017; Thu, 22 Jun 2023 04:57:55 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 04:57:54 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Thu, 22 Jun 2023 13:57:45 +0200 Subject: [PATCH 5/9] clk: qcom: gpucc-msm8998: Use the correct GPLL0 leg with old DTs MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230622-topic-8998clk-v1-5-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=831; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=i8Lw042X9XBNaAM5OkUSQrnlDPICd5ZeS5J2C6fGlZY=; b=me7knvddhaTPeU8nQVjnZIZmIFOw4YVK/zy9Jno9N9rZoEuEB2x5vTP8eDxWxY3fRQaGj/mek 38sJXMWE1YHDajluayrbOh+rK4B3QARql0uWfUQ/+iR8n7Y4XG5Inpw 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=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: <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?1769404595138726426?= X-GMAIL-MSGID: =?utf-8?q?1769404595138726426?= |
Series |
MSM8998 clk cleanups and fixups
|
|
Commit Message
Konrad Dybcio
June 22, 2023, 11:57 a.m. UTC
GPUCC has its own GPLL0 legs - one for 1-1 and one for div-2 output.
Add .name lookup to make sure older DTs consume the correct clock.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/gpucc-msm8998.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 6/22/2023 5:57 AM, Konrad Dybcio wrote: > GPUCC has its own GPLL0 legs - one for 1-1 and one for div-2 output. > Add .name lookup to make sure older DTs consume the correct clock. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
diff --git a/drivers/clk/qcom/gpucc-msm8998.c b/drivers/clk/qcom/gpucc-msm8998.c index f929e0f2333f..cc0b43354787 100644 --- a/drivers/clk/qcom/gpucc-msm8998.c +++ b/drivers/clk/qcom/gpucc-msm8998.c @@ -98,7 +98,7 @@ static const struct parent_map gpu_xo_gpll0_map[] = { static const struct clk_parent_data gpu_xo_gpll0[] = { { .hw = &gpucc_cxo_clk.clkr.hw }, - { .fw_name = "gpll0" }, + { .fw_name = "gpll0", .name = "gcc_gpu_gpll0_clk" }, }; static const struct parent_map gpu_xo_gpupll0_map[] = {