Message ID | 20230526-topic-smd_icc-v2-15-e5934b07d813@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 k13csp1170635vqr; Fri, 9 Jun 2023 13:38:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5hhThWuzH2qao89lhnWhDvQFrmVgdNuesa2aWpp2CYxJnQvPQ+K6/shrJbQ3hA7O8GCrBx X-Received: by 2002:a17:902:bd87:b0:1b0:26e:7648 with SMTP id q7-20020a170902bd8700b001b0026e7648mr1962397pls.11.1686343112857; Fri, 09 Jun 2023 13:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686343112; cv=none; d=google.com; s=arc-20160816; b=M5eyiE6+7R24GeUxkolUZ9gyOUGzySXvnyAZbR4LcbqViEauXhTr4Ui2cAmMclThVU maOTgXWK1CL9jZHu7UchPuPzsJQ/W8dPF0eYOvpyCNFeRp48GiDMeKcQ50cxvq93jkEi 28NRIYT5Po/llq7Swzb476Nl+eVRyhMhw7ne5B6YcdbawJ9rbSQ/84PNkqRzuAxQTzks mOuVmmDFljQ/RkzIY5tI8umSPtgB2+eyeJLfFyzybwBgRsM0/ck+UBKHKjnKedRalE/9 nUhbGL71tYuTx1owUuURGAx8MhZfXucdN1lev7hk1I9ipRqnksWd3Dskjmu7HOUHdLRM zMLg== 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=yL7LimSkUpmanSTy0wtlUZtM4pffD5CjvvFdcF8Ze7o=; b=l+SR4/pSfSZGu4i4udIa3IoCPbTlbjJqJse8q6gZ8pEsUGUiQbP431NYUHnY/m5h0V p6CdYHBxUHxC+577wJCHekyvaUa9J2MlEOYSAQ3Bl1nNSrrsZ5ZK/h+sjLRDEAiyntXk WBmFiOrv6jGdO25WGKK+tayOJJhiQYezpRpjYnsV1QAk+oum1a1CRUe2iEqRXF1zqvRh H2z2d57EzSAR81inGd6L9ptd+LUAaFT8LpWq7I8Gjeuh7soLji1pEnAPWByZ+EIPPW+A eOeapxWVjM5i10r6iDW2ud/JtQidxwEO0XcXkbo6NW502f48N1ohlMJ21c4Nie7zBPNf tdgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iipCaKbJ; 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 x2-20020a170902ec8200b001ab0e3e0c1asi3305686plg.553.2023.06.09.13.38.18; Fri, 09 Jun 2023 13:38: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=iipCaKbJ; 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 S232387AbjFIUUk (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 16:20:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232403AbjFIUTw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 16:19:52 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580394216 for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 13:19:36 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f6370ddd27so2750318e87.0 for <linux-kernel@vger.kernel.org>; Fri, 09 Jun 2023 13:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686341974; x=1688933974; 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=yL7LimSkUpmanSTy0wtlUZtM4pffD5CjvvFdcF8Ze7o=; b=iipCaKbJH2wOrgHLIVyPR8llaR08XQVE2crxmS9sQstw0eCj1njBdvrN1dYEyY1iTB Fd+1UjvXBcMqZu8/zCujhue/IGZ05ax403Z+fj0NrpZ10BZL9O9y3auAOUfdhbwgM3Tn WA86EO6a8KwOE5nNV6FJBfq/VBQsMKyggC6xxzCBkdvCUoQSwEHj7Fw7WKip3sqn/zJ9 LmgkFX8t9RH8a9aE9CFKBu3ShIWfotW0NvnSYgg6IlzsntJsnr+/VF+ZzFR2eBocG9+T 6ghtJu8zMlxhGv9/eZ1ZPQeYuWNXQvB8SHWBpN+WR15XNAD9q+AH4Nq1Cr2/cx45y9rt UbSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686341974; x=1688933974; 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=yL7LimSkUpmanSTy0wtlUZtM4pffD5CjvvFdcF8Ze7o=; b=UtjqeqDWeCQ0jM/3ColcIO0omqBoooru+Y15VeAZrZKepfPyT1It+rfvN0lyIFsROn iS6b4hvkxlRUZ36rjNfh2qzTPVTtFol1XcwkxSLQAftVMSgltIXVL7xS6mX2I/5AtGC4 iG8fFDjUP5tq+Oj8qKMN+PGDV2dsiLQvDES15askSe9dYbrmDPcB6xw7sykhIOP3CXIy 40Ji1J9L7+eWTXYXHEptpwmzk57HCzs/5mOZd1gY8vsMPXWDK6ZWiTt7kh/1wQt+38lI /uTjlCC4KZsWjRKqTFaQWOYxSvK1YBrUXK4tYR6lLsrn6SdxA7ckY3ep97a0qytCquLg RuwA== X-Gm-Message-State: AC+VfDzHLPHCDWMZskoyMT2RCQRP0LVKWb+1M79TwIXRQg61xQcrBtHo egqha3zhzimuzunMziaTD9aNpg== X-Received: by 2002:a19:e019:0:b0:4f3:ac64:84d9 with SMTP id x25-20020a19e019000000b004f3ac6484d9mr1754478lfg.20.1686341974540; Fri, 09 Jun 2023 13:19:34 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id b18-20020ac25632000000b004f628eb7884sm641349lff.232.2023.06.09.13.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 13:19:34 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Fri, 09 Jun 2023 22:19:20 +0200 Subject: [PATCH v2 15/22] interconnect: qcom: msm8916: Hook up RPM bus clk definitions MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230526-topic-smd_icc-v2-15-e5934b07d813@linaro.org> References: <20230526-topic-smd_icc-v2-0-e5934b07d813@linaro.org> In-Reply-To: <20230526-topic-smd_icc-v2-0-e5934b07d813@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Georgi Djakov <djakov@kernel.org>, Leo Yan <leo.yan@linaro.org>, Evan Green <evgreen@chromium.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686341953; l=1386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xhlOJEBugQss2pTP3O6oyCRi/KrlETAc0nKSQL7JH4I=; b=qbtAUIVOZARp02bUCslV8/25C9+BkepF6LM/2e0NztL8bWhPr26/hT7Ovl7Hh9j5aA7VVbfN6 sYuvR1AOLo5BuxK25YFdrQlkj5YFcoG8+Ae1ne1niJuH76PzakeXYWp 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,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: <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?1768258916132286971?= X-GMAIL-MSGID: =?utf-8?q?1768258916132286971?= |
Series |
Restructure RPM SMD ICC
|
|
Commit Message
Konrad Dybcio
June 9, 2023, 8:19 p.m. UTC
Assign the necessary definitions to migrate to the new bus clock handling mechanism. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- drivers/interconnect/qcom/msm8916.c | 3 +++ 1 file changed, 3 insertions(+)
Comments
On Fri, Jun 09, 2023 at 10:19:20PM +0200, Konrad Dybcio wrote: > Assign the necessary definitions to migrate to the new bus clock > handling mechanism. > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> > --- > drivers/interconnect/qcom/msm8916.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/interconnect/qcom/msm8916.c b/drivers/interconnect/qcom/msm8916.c > index 196b05879896..be2a190a8b52 100644 > --- a/drivers/interconnect/qcom/msm8916.c > +++ b/drivers/interconnect/qcom/msm8916.c > @@ -1231,6 +1231,7 @@ static const struct qcom_icc_desc msm8916_snoc = { > .type = QCOM_ICC_NOC, > .nodes = msm8916_snoc_nodes, > .num_nodes = ARRAY_SIZE(msm8916_snoc_nodes), > + .bus_clk_desc = &bus_1_clk, > .regmap_cfg = &msm8916_snoc_regmap_config, > .qos_offset = 0x7000, > }; > @@ -1259,6 +1260,7 @@ static const struct qcom_icc_desc msm8916_bimc = { > .type = QCOM_ICC_BIMC, > .nodes = msm8916_bimc_nodes, > .num_nodes = ARRAY_SIZE(msm8916_bimc_nodes), > + .bus_clk_desc = &bimc_clk, > .regmap_cfg = &msm8916_bimc_regmap_config, > .qos_offset = 0x8000, > }; > @@ -1328,6 +1330,7 @@ static const struct qcom_icc_desc msm8916_pcnoc = { > .type = QCOM_ICC_NOC, > .nodes = msm8916_pcnoc_nodes, > .num_nodes = ARRAY_SIZE(msm8916_pcnoc_nodes), > + .bus_clk_desc = &bus_0_clk, > .regmap_cfg = &msm8916_pcnoc_regmap_config, > .qos_offset = 0x7000, > }; > > -- > 2.41.0 >
diff --git a/drivers/interconnect/qcom/msm8916.c b/drivers/interconnect/qcom/msm8916.c index 196b05879896..be2a190a8b52 100644 --- a/drivers/interconnect/qcom/msm8916.c +++ b/drivers/interconnect/qcom/msm8916.c @@ -1231,6 +1231,7 @@ static const struct qcom_icc_desc msm8916_snoc = { .type = QCOM_ICC_NOC, .nodes = msm8916_snoc_nodes, .num_nodes = ARRAY_SIZE(msm8916_snoc_nodes), + .bus_clk_desc = &bus_1_clk, .regmap_cfg = &msm8916_snoc_regmap_config, .qos_offset = 0x7000, }; @@ -1259,6 +1260,7 @@ static const struct qcom_icc_desc msm8916_bimc = { .type = QCOM_ICC_BIMC, .nodes = msm8916_bimc_nodes, .num_nodes = ARRAY_SIZE(msm8916_bimc_nodes), + .bus_clk_desc = &bimc_clk, .regmap_cfg = &msm8916_bimc_regmap_config, .qos_offset = 0x8000, }; @@ -1328,6 +1330,7 @@ static const struct qcom_icc_desc msm8916_pcnoc = { .type = QCOM_ICC_NOC, .nodes = msm8916_pcnoc_nodes, .num_nodes = ARRAY_SIZE(msm8916_pcnoc_nodes), + .bus_clk_desc = &bus_0_clk, .regmap_cfg = &msm8916_pcnoc_regmap_config, .qos_offset = 0x7000, };