From patchwork Fri Jun 9 20:19:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 105804 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1172515vqr; Fri, 9 Jun 2023 13:43:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TDMSlyXgzE9MsN/Qst+ndbGs2aIXSCrxoZHdXTO6nYmap/ZVc+ZPvbNe9uFf+ceZJSwrt X-Received: by 2002:a05:6358:e81a:b0:129:6079:14fe with SMTP id gi26-20020a056358e81a00b00129607914femr2277171rwb.14.1686343391563; Fri, 09 Jun 2023 13:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686343391; cv=none; d=google.com; s=arc-20160816; b=lYKahd3jQ0GMdhq5FSO4T6fY87O39ST99MaQcWZ2vyv0p27Q8xBDxhf+yX4HUr2ijW OJGDWwVGI6EEpp9cf45A87AMT3BgoxbzR5WpXLYCEIcCNTCshkWz6gwjnda1e0fhmzKT JgTiVXMRxTqhEEnWtlOe3W+DHyIT/3ZNCWgRSD3lcjDBbVGTwfghhyw5ACMADCPRZZBo TAlaY7PgzuGCka8rcZiG/2mzNwNMseAi0LRqTusB9iyMM2nL+aT5ghMa1ScLumTU5J0l V+JFAkaZxb2rObKQuiaswRav5ulGrL1KTJpuxbtVdCf+cjrLUyuNIVbOeGcPAYg/bd7P FQ5w== 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=Y5onO20dzjk2EC2OX/d1LUxW5LUluhqz+S0Vy1JWrck=; b=TT0jIXouRKs3Uh92CdGMnL6lbBlkn5I9xNUY7am+NTLEoZudocxuzUbMwroM2o0cH+ nOynhnykJVLKfmIFGNtKXg1hxILhNFzZvrErPTjXcbVkFKPpxM8sp6t/c1A1PinPljoW tfVCkQAbyxL5O4PyEjxVA+njaLRCtJQ4htEPu5X7wz9OczmGU+meOCXSYKAM3BQIjKa4 Qog6m5CcX+12z+DYmNjzpzJvWiAdlCzEpP1ZuqOZVA84wDtpEIhKfhfV0+t6BB3/4q35 8NvsXjMrueUeYErvWE++z1TslHfz1SnOxtcXoHczMAv0ZKaXSy9ffzAw+9O5DqGZVaTH rVUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H76Q71eH; 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 i71-20020a63874a000000b0053ff51ea48fsi779958pge.585.2023.06.09.13.42.58; Fri, 09 Jun 2023 13:43:11 -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=H76Q71eH; 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 S232473AbjFIUUf (ORCPT + 99 others); Fri, 9 Jun 2023 16:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232387AbjFIUTw (ORCPT ); Fri, 9 Jun 2023 16:19:52 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10740420B for ; Fri, 9 Jun 2023 13:19:34 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4f6170b1486so2804438e87.0 for ; Fri, 09 Jun 2023 13:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686341973; x=1688933973; 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=Y5onO20dzjk2EC2OX/d1LUxW5LUluhqz+S0Vy1JWrck=; b=H76Q71eHL9VfsyY6tyyl2WcXpobMLvRXfPbj3Zx57XSqsk6vKFs6gOg22jq4rhoGDr BlQlm7xKinFVRU1q42HzpT0Of45Pdai1C7hS0Ygm0T7ZeCAjW4nKiOrWEsT/OO0loRVL 16ZgihyhggMsmdNowFWIB79SdLz1q/zceLgJ3kaOCtPtXuzgGOvQST9qYtW90snjdmun dZn5ZoWops4XtJ4ZjYVVe2WcwGqc6Q7Qv/6APwO5E2AHV5aU0pFni8Ihw11Nat4kGc8P AG78GuwNlfHzJCSNXiAfDYBYz7BF7iyGti/5SkB+Wg4S5e0WExHuQrHal1ZerR6KbfP1 9ALA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686341973; x=1688933973; 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=Y5onO20dzjk2EC2OX/d1LUxW5LUluhqz+S0Vy1JWrck=; b=MY6XAVyuvWUn/iRE8ol5Ec8weJYWA5+JA43PvDfedUlZBYiGakj/5uIiHXWSwmmOCj WzkYUQKGo5D507f7ac231NYfSa+3MRhR6dPUA3HHJSDnufUHwuEJUg7/wVhLDoTIm5Zh mbkZIMik5/wRKP4r1gDOcXDRY6KmOffOWbWUMyu1EkRScu5uofxWLEoTRDEH7SGBkazF WHLmF6Ewo77JX11HvyssY0lW0vRHW/8aw3Qz5J4kBzNB5fMo1/hiF/oC0FJCQKKqAtaU KABqKQQRFCQqGXEQTZ/j3p2jOhwaoaZ7k24SjnO1zChx/Fm6kflA8z5boA87egsJ/Sbk FHoA== X-Gm-Message-State: AC+VfDyYt1oJKmGxpsEEzyqUm3q3lrhs2RszlEaB6IMQ+3BWfxFp/pxJ fJpDxAjwq6Jee14vENtKADYlhQ== X-Received: by 2002:a19:380e:0:b0:4f3:78dd:8e0b with SMTP id f14-20020a19380e000000b004f378dd8e0bmr905551lfa.32.1686341973210; Fri, 09 Jun 2023 13:19:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 13:19:32 -0700 (PDT) From: Konrad Dybcio Date: Fri, 09 Jun 2023 22:19:19 +0200 Subject: [PATCH v2 14/22] interconnect: qcom: msm8939: Hook up RPM bus clk definitions MIME-Version: 1.0 Message-Id: <20230526-topic-smd_icc-v2-14-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 , Bjorn Andersson , Michael Turquette , Stephen Boyd , Georgi Djakov , Leo Yan , Evan Green Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686341953; l=1682; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=rte30PLdG0LgSDSUW6PXEcOPxUSZ9J+rm7lwZDwGmAo=; b=iOXzLo14/aH/k+LlvLy+aXX//+5t+jP4JBli0nQ1Jb39FIZGKiHElsxmprFPe75ZG/pEfsuTA EWhLX0HXulSCDD1TsM2Byo6pCBD0oRVZYgVMZ7tINgcoKjlbXyt3dBX 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?1768259208095299379?= X-GMAIL-MSGID: =?utf-8?q?1768259208095299379?= Assign the necessary definitions to migrate to the new bus clock handling mechanism. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio Reviewed-by: Stephan Gerhold --- drivers/interconnect/qcom/msm8939.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/interconnect/qcom/msm8939.c b/drivers/interconnect/qcom/msm8939.c index 639566dce45a..94b11b590a8e 100644 --- a/drivers/interconnect/qcom/msm8939.c +++ b/drivers/interconnect/qcom/msm8939.c @@ -1284,6 +1284,7 @@ static const struct qcom_icc_desc msm8939_snoc = { .type = QCOM_ICC_NOC, .nodes = msm8939_snoc_nodes, .num_nodes = ARRAY_SIZE(msm8939_snoc_nodes), + .bus_clk_desc = &bus_1_clk, .regmap_cfg = &msm8939_snoc_regmap_config, .qos_offset = 0x7000, }; @@ -1304,6 +1305,7 @@ static const struct qcom_icc_desc msm8939_snoc_mm = { .type = QCOM_ICC_NOC, .nodes = msm8939_snoc_mm_nodes, .num_nodes = ARRAY_SIZE(msm8939_snoc_mm_nodes), + .bus_clk_desc = &bus_2_clk, .regmap_cfg = &msm8939_snoc_regmap_config, .qos_offset = 0x7000, }; @@ -1332,6 +1334,7 @@ static const struct qcom_icc_desc msm8939_bimc = { .type = QCOM_ICC_BIMC, .nodes = msm8939_bimc_nodes, .num_nodes = ARRAY_SIZE(msm8939_bimc_nodes), + .bus_clk_desc = &bimc_clk, .regmap_cfg = &msm8939_bimc_regmap_config, .qos_offset = 0x8000, }; @@ -1403,6 +1406,7 @@ static const struct qcom_icc_desc msm8939_pcnoc = { .type = QCOM_ICC_NOC, .nodes = msm8939_pcnoc_nodes, .num_nodes = ARRAY_SIZE(msm8939_pcnoc_nodes), + .bus_clk_desc = &bus_0_clk, .regmap_cfg = &msm8939_pcnoc_regmap_config, .qos_offset = 0x7000, };