From patchwork Wed Jun 14 18:04:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 108088 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp137177vqr; Wed, 14 Jun 2023 11:08:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4duth6EqdHOh9WnJ8MFypm+NaEule0vnjQ6Ix6G/72Q7J16vzayf5RQwzfebQQford5foY X-Received: by 2002:aa7:d999:0:b0:514:9e3c:d82e with SMTP id u25-20020aa7d999000000b005149e3cd82emr10295324eds.14.1686766121025; Wed, 14 Jun 2023 11:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686766121; cv=none; d=google.com; s=arc-20160816; b=spc5KVXx8o8mekBBJ6p9X7Ck7C3ncuZulkwGa4rQ6HKvg/2IXNXY1Bok2rG6zIdtBA OoVDEpwyWdc8bPKujKw/6Nk6Qws662MDqTzJ1m0rTvwAtqAVaG9OQK6YheNw7PtM91// PXte9KjyncX/026yFHSmZX2CIMBgXgjtQNnufaNuZAb32/ENitktLJJ4yj2JgyUmym7+ yWuWkQQCbiO8Y+tmm5QSw6AVAqdA55HFYYX8oU0A5sgsIkpdXR9YKGpqmPdtAQHwrNjj IPxpWNKSuaXLThc2ulmAuICwWtDXfyG57vaeSiVp2uZTqNdnH+qFctSdaZ2YkdryBrFp 3+sQ== 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=fyLlsxl16OWqS291jN4brexaOHkZM0ynHfqUIIXviBM=; b=RX5DnrTP/76RI3NtF6ckDfnqvZZUn6nL8gLj5WcJ3c1vOOtdyjrVpigKCIHtzpGbuC AwK/19B60InJkGrPZCnv8PuJidp7HyH4pSV+nuIosS9gaY/rcCqFvPNxVNWXFhEp2PwK Dm/L1ms1DspuDwFazvNiPawYq/23yi7ORlH6PIaMN4rvDfjW9amJBNT98jyC5wguf3Ag CjmnjWQaUoPBtKKK102ZGetYPBdRtagGi0P2el1gXdrG3OhWOdMGDiZydBnfNxKKAv40 hwib8Bxc5ELpKQoChBFh5GrBh0AH9RlDljRl+7G/7JvVkVd76gTtyFhkkbhfyvY1DudV KC9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="oZv/T8vh"; 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 h10-20020a50ed8a000000b005187bb07b86si1761287edr.353.2023.06.14.11.08.15; Wed, 14 Jun 2023 11:08:41 -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="oZv/T8vh"; 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 S241535AbjFNSGg (ORCPT + 99 others); Wed, 14 Jun 2023 14:06:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240892AbjFNSFE (ORCPT ); Wed, 14 Jun 2023 14:05:04 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4369626AF for ; Wed, 14 Jun 2023 11:04:58 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b1b2ca09b9so13919481fa.1 for ; Wed, 14 Jun 2023 11:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686765896; x=1689357896; 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=fyLlsxl16OWqS291jN4brexaOHkZM0ynHfqUIIXviBM=; b=oZv/T8vheSbgW34JAf8IU/cSZSHZufUTOGP1zItVOHwwpLcuDyRP0oiblXUlJLVT2e 6+iofHmUIa75i0yoBsrJXRMnyvtU0aFM5v3OdXqeAICWFaivvAj2tHGracGg41nFGJle LHZHN7XLIHXjuXEeCxI1zBtHAEu3FFIGhieATscJPpKmEP4KrEPJ0nqYaKt2Ti8z+IXS OgNb5IS31wla/etxLJvhnmoaMX7ErVCxl8jYXGPj8vpW+yZOctxVJyNNz0z20piaryLt 81aR+DXNdihvVIPgom0A5QI3vm41JYNdsfavY++hBxSlJu5pirQi1Z0WQjw1D5Aq8LaM HGWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686765896; x=1689357896; 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=fyLlsxl16OWqS291jN4brexaOHkZM0ynHfqUIIXviBM=; b=IPWANDWbloCcMoo6p/XKRkfN43uLWyyzTf12B0htWTWDsUDoc32jP9loSdfRbw7Y+s /b8fiBty5lIIxPBhwl4mS04fUn+9htWNT1FYXKmOv1gVMd3u9in7dyed+T2sG7NUH7Hd eU/WKDPye4l09uTr05dOChbexGqy7m5X8AdSV1dlDg+vOJOt3QNjqKYqS534klhAd2Cv goO+eaL7siGX/U6z8w1HJ6fUXsL7ZZeT4PtKeHu6i5LtnmhAJ1bJuNv4HMtFcBw4T0B+ K5UTft1qqp5WjuIM/HsfMmWkmElV2OrZb8YIh8vm0AlrmcCpcALeYyNZ8SE1xeXjs2qC 3SMw== X-Gm-Message-State: AC+VfDwHzmaEoknFOiFLNd5hUAOSDXh7Gi1Ug7TAlsrkI9oJ+RCxb/cK epLUu5dYEuuVzh2343RQqNmSWg== X-Received: by 2002:a19:ca0f:0:b0:4f4:fdb4:c76d with SMTP id a15-20020a19ca0f000000b004f4fdb4c76dmr8576299lfg.47.1686765896602; Wed, 14 Jun 2023 11:04:56 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id l18-20020a19c212000000b004eff1f7f206sm2224053lfc.9.2023.06.14.11.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 11:04:56 -0700 (PDT) From: Konrad Dybcio Date: Wed, 14 Jun 2023 20:04:34 +0200 Subject: [PATCH v6 15/22] interconnect: qcom: msm8916: Hook up RPM bus clk definitions MIME-Version: 1.0 Message-Id: <20230526-topic-smd_icc-v6-15-263283111e66@linaro.org> References: <20230526-topic-smd_icc-v6-0-263283111e66@linaro.org> In-Reply-To: <20230526-topic-smd_icc-v6-0-263283111e66@linaro.org> To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Georgi Djakov , Leo Yan , Evan Green , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov , Stephan Gerhold X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686765872; l=1438; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=1dxDULtatbAkSLWWf67/ek605+kPD/vruTIZt6NGovc=; b=4oH1pCEvbOMW4wvsyB3dFaB4QVq9MmwUF4ltrBSN51FMGT7GiH3nSkBxLZbfzPwk4uoF/wpkU 9Rl/CHCwcaYA4shfju7EB3PYQU9WR/H88J78BTg3vvnfahQ4jaFXJh1 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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768702472525979250?= X-GMAIL-MSGID: =?utf-8?q?1768702472525979250?= Assign the necessary definitions to migrate to the new bus clock handling mechanism. Reviewed-by: Dmitry Baryshkov Reviewed-by: Stephan Gerhold Signed-off-by: Konrad Dybcio --- 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 70b67fbe453f..b567a2b4199c 100644 --- a/drivers/interconnect/qcom/msm8916.c +++ b/drivers/interconnect/qcom/msm8916.c @@ -1230,6 +1230,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, }; @@ -1258,6 +1259,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, }; @@ -1327,6 +1329,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, };