From patchwork Mon Jun 12 18:24:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 106755 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp57869vqr; Mon, 12 Jun 2023 11:30:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5cmwtSCs/13uk2ebCHA8WTm+DDbmZ9l9BcdbY725qpRIzIrY5Kj0qUH3SBR3TilUOacHf+ X-Received: by 2002:aca:3bc3:0:b0:39a:bcdc:c0ea with SMTP id i186-20020aca3bc3000000b0039abcdcc0eamr4497127oia.16.1686594602739; Mon, 12 Jun 2023 11:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686594602; cv=none; d=google.com; s=arc-20160816; b=NL5167UfGkux9Mma5hxErYzw2JE5LNcmkZ+ATfdUmb++hYwgPPf+/Tq+b8wnso11r8 Vx5PvioGhIQ3XOqrAQC+baO8wbaPdz5cISz2NxEG6jPH+9+Y4uFCgsEsFXtcQ1wLcnyz /r/+GByPhpK3IUbge/9lvGgI8vmClIYIYn3t36AUcE63F1WO+w5ihi4R4BghrL6jKkN/ Yu6enZzbuFVNVKtVZa3DvfFlCoykE/gbxddgQ8fXy3UtOUZH+MBr3Okeo65E7xvLjBl9 Sk5qlotBXmLxSxvebPkT4AVCF9fWj06f3MG2F50khsDthPy8JpnbSakrRVqUfaPcNRNj UW0Q== 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=oxwAlvsxTG2NJKirdi7L920nJWliszLcfh8qb5HaEiU=; b=Dz+4dZ94lKlwM4XQbCOZXpF7gOBNkcmBPtMyvCIsqru51uWOiY7+AfnDN2lUmhphbw fGWYZBetj/1XiccNWyVWUuJq/2Jv0gaCSHB23EW8bfupXj865ZgfQ8hocHqwjHbPBSXI I1kqn8K5JDAIlZZFvNjHWWB4TKTRK9IOrSd99PczfR9zZgFRt60sVyQShsZ9dhwaZ3TH C1UK15P5DbLtq2nSAa0l/qMLrDY1yrjOkSMHbViU6EOuZpADTdqRWitbzXumYz+W5K08 on7hRZ5ZllevYBnXlUQ/JuqkoKe2FbpNkt4IyEidqMwB7W/pZIT9J7mLVmhLmawJ+3bA u0IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KrxKoZAt; 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 k10-20020a637b4a000000b0053b29394937si7406672pgn.816.2023.06.12.11.29.50; Mon, 12 Jun 2023 11:30:02 -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=KrxKoZAt; 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 S238336AbjFLS0N (ORCPT + 99 others); Mon, 12 Jun 2023 14:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237903AbjFLSZA (ORCPT ); Mon, 12 Jun 2023 14:25:00 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD722E77 for ; Mon, 12 Jun 2023 11:24:58 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f74cda5f1dso1115921e87.3 for ; Mon, 12 Jun 2023 11:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686594297; x=1689186297; 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=oxwAlvsxTG2NJKirdi7L920nJWliszLcfh8qb5HaEiU=; b=KrxKoZAteRQDDN5hHVT10/mvSJUs3GSrKyx9wHMwt4dGs7Ui1g0JYCvH/AvlxeJdM7 8V/eSMvAZh2aSep1ShcofRbjU+7mGzRhNRZ3YUxMYlsGe7EBiukq5F7P/ed1NS1nFTtY mP4l/9Kbc2YK66VTjWhbqirbsoe+Z0uMWjaunbEfD7nFlEVnFJorXOKZ4BZHhD/o/33G OBx4VXQY0ide1PAXexByFEv8RNdkVs9QSIe3MoHEHWZxhK5RVl7ForR/IdwlCHA2bZNH GVlHfTZWzK1I7UAO7G47vuNkn/4RLJ44iN4JoSxWtfVcV/9ypc7yR+nRkB89UNFcZwwR e5rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686594297; x=1689186297; 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=oxwAlvsxTG2NJKirdi7L920nJWliszLcfh8qb5HaEiU=; b=HFQdzu2ObeSVYWOF/pMsHjN/RT7wke40ygANyzBIDuGCJOTaA6fl4YZcxSPQjk8qPA dnN56qKqLHvlriUY5fvVndDyt4vFzze0Jiu6aWMwA+jDIfrGCU9gxIskmwuRuLciR6qD 2+G+zQHmVQ8yeoJsrt2NiHJDvWz9mJ7bGROAG+NZ/H/Kjyexya4aKQJgjLxvgmjQ1Okz EdpBhfN7LtrIBgxvDrk/bJK6yG2vib+muF4NzGrcFXGX9uSmOgFgLfXVDrRMbbcLm3/r eaKbfjg1q42hVCxBuJTFiZ2zXvaHSvPU6eyFTi7Bc/exCRcuywhZl2RlJHrv59brUXeW hUOQ== X-Gm-Message-State: AC+VfDzQbLUd1kN//4K8+pYuEZM04keL7CQk/GR/e4rZCmaYmjdse+Mv dSCgbA0pPs4NYoICXzjv6HTmrtHobpqNNq9Ohu0= X-Received: by 2002:a19:f205:0:b0:4dd:ce0b:7692 with SMTP id q5-20020a19f205000000b004ddce0b7692mr4500967lfh.46.1686594297148; Mon, 12 Jun 2023 11:24:57 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id v24-20020ac25938000000b004f64073a252sm1502035lfi.96.2023.06.12.11.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:24:56 -0700 (PDT) From: Konrad Dybcio Date: Mon, 12 Jun 2023 20:24:31 +0200 Subject: [PATCH v3 14/23] interconnect: qcom: qcs404: Hook up RPM bus clk definitions MIME-Version: 1.0 Message-Id: <20230526-topic-smd_icc-v3-14-5fb7d39b874f@linaro.org> References: <20230526-topic-smd_icc-v3-0-5fb7d39b874f@linaro.org> In-Reply-To: <20230526-topic-smd_icc-v3-0-5fb7d39b874f@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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686594276; l=1291; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=NibH4RmX92w9jFbYbYmeVzyLtbX9fV3dfXE9S9JnGAI=; b=vYHOmrHPf2khIR+4l0Ku4Kx0v4SMVzTQA+pWwvGePhMzB914Y/Y915j+Ii7EJoq664w3zSQNm MlSw8cNNRLXDgr3saJcF5EuuvFEWnr3IsKGW+wWyoc8Q1xlYuOly/6h 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768522622165908391?= X-GMAIL-MSGID: =?utf-8?q?1768522622165908391?= Assign the necessary definitions to migrate to the new bus clock handling mechanism. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/qcs404.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/interconnect/qcom/qcs404.c b/drivers/interconnect/qcom/qcs404.c index 938283ddd0e3..9deb4d81104e 100644 --- a/drivers/interconnect/qcom/qcs404.c +++ b/drivers/interconnect/qcom/qcs404.c @@ -984,6 +984,7 @@ static struct qcom_icc_node * const qcs404_bimc_nodes[] = { }; static const struct qcom_icc_desc qcs404_bimc = { + .bus_clk_desc = &bimc_clk, .nodes = qcs404_bimc_nodes, .num_nodes = ARRAY_SIZE(qcs404_bimc_nodes), }; @@ -1038,6 +1039,7 @@ static struct qcom_icc_node * const qcs404_pcnoc_nodes[] = { }; static const struct qcom_icc_desc qcs404_pcnoc = { + .bus_clk_desc = &bus_0_clk, .nodes = qcs404_pcnoc_nodes, .num_nodes = ARRAY_SIZE(qcs404_pcnoc_nodes), }; @@ -1066,6 +1068,7 @@ static struct qcom_icc_node * const qcs404_snoc_nodes[] = { }; static const struct qcom_icc_desc qcs404_snoc = { + .bus_clk_desc = &bus_1_clk, .nodes = qcs404_snoc_nodes, .num_nodes = ARRAY_SIZE(qcs404_snoc_nodes), };