From patchwork Tue May 30 10:20:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 100734 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2075175vqr; Tue, 30 May 2023 03:26:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XhB4C4/h9KJju2xMAejQq0vUECeevLslNXToEHI0iRa19VWSyBCdt7ma3n+1fHbvdw9SC X-Received: by 2002:a05:6a00:aca:b0:64b:43d8:a57d with SMTP id c10-20020a056a000aca00b0064b43d8a57dmr2028348pfl.13.1685442364822; Tue, 30 May 2023 03:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685442364; cv=none; d=google.com; s=arc-20160816; b=MPc0sEFZuTTpZyD5pX8BgbbtWRxxeaqZiyPg6++N35YRBkaaST/cNqaOqPiwb8+K2R a3HS1ecwWZEvCiO+7CzdLK/E908yfyOtbMncwkb87BUjLwiwfAjDZvw8C1UoIocwYp7h GL9wn4pAYj/pw+5qrxwwZ0lXM0UrRZdUShPCegH6Lq3vlSaNoTOVnIjS0ZTPjlJpnX/O KongSdzw8e2dZj8fehNCXK5hjK53cP36/+E42QmEvLs31DcvVilP5MJrbrKpORcNbAdu cGxJVEZjeOv93Hv3hWXr7a7KHTBVS2kZ3UIu8RjvQxAsbtU994viTzxPkUL0jxBaXNSL gHtw== 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=/oOyAKKv2aOi4dKdwVFK9Ufi2xXYxVx7Z2+Xnm7A04A=; b=t3HwUI0EGcVS0LeC8muP4KKefEUdbVXqLg58ZkgG4ZKBsKlH3naPfUhXvV+RaBWp8E plEQWLt/bkja9ea77DjSYZQPZf/UY/0XlrHtqonG6HRa0RhulxDMCkPguSxDmPd+iVy9 55tzkWdOozZPOzwnyc7k+0cy4MzFKm/S+KbKhbHeB2SPy86X53eJy7YoH+w9Ai1+MtRG JFDvw+hS31ku6UfnZa245Gkva99qmQaf2qEknrbARDiNLF+uE+V1RghlZJkNqLM1GlKl lW+Zysqo3zzPQyN+EbNW+ctD2o6dCBTco1PGib0yGA7FdjBcjDAayu5Qo5OZEFhId+vc 0/lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QK2WdGIm; 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 t1-20020aa79461000000b00625e7f9b859si1463180pfq.339.2023.05.30.03.25.50; Tue, 30 May 2023 03:26:04 -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=QK2WdGIm; 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 S231245AbjE3KVs (ORCPT + 99 others); Tue, 30 May 2023 06:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231523AbjE3KUf (ORCPT ); Tue, 30 May 2023 06:20:35 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35DFB193 for ; Tue, 30 May 2023 03:20:21 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f3b9755961so4620581e87.0 for ; Tue, 30 May 2023 03:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685442020; x=1688034020; 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=/oOyAKKv2aOi4dKdwVFK9Ufi2xXYxVx7Z2+Xnm7A04A=; b=QK2WdGImMQjZWoIlY2/1FYYpgv/kGn+DHmSGuw8I0SKFn3eAMP+7yHCdSbia+x5jag GgnBkWlvuuvXdqVPd3+uy0+LRNwRVM2l6UV80mHRKsB5PjG59fanRBYnBQSU2KKaed7B ICEponkcYeWglhOaH2VaFkhkDSfpFKWhlNBVQOL5l10bD9UvQ+aa7r0HnP8OjW6/wEXk nG85wGqBVUkqex0a16fKQzoPxBkmH4Dfy/RbqnG3S/dN95hPoyj3K+NmBf3r1FPkmq12 R22x+WjLfwkmYbgntk/5Q2bn6/yYuVNbcDbjiYrVrAEjEAoWFG0n/DC18NC0lb4RAMDR +bCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685442020; x=1688034020; 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=/oOyAKKv2aOi4dKdwVFK9Ufi2xXYxVx7Z2+Xnm7A04A=; b=DCwLEqjtiR9emkXlzXI/w5Aa3whMg/Zd7xbJ3LsyMhSrT/kRR9pCPHFDSrhnq+FFIs 1ueaOZ9c3nB585bVKY/Lr40Ou9wk654zrNie/XN1jxh3jofsIbUZNoMhEcWDYQtPMSGJ RA5CrFOREdzb2QTGULIG+vh1tqbF5uflJjBsS1N7RSSqkU/BsoPBYFg2sX+5LO/jxuL8 6BKX5jCH3715scJa3e4a0xBHSmBizKUQb5aWe+U0+6rp0BG7xdHnWEmIIe0C8L410g9p Vu7e7F89O5LR6jhjRMt9W/LuKGYq8pcqmSGwpbwsckJqquQ8JcDaZE/O2NLEH9qV6oF2 GlXQ== X-Gm-Message-State: AC+VfDw8NJwsEiv+D99tdfYogNYCZvsIokRwv8T87f89vwz93ho7O/Rr +h0mRziVaNGPxBJo4OZPQpxkAQ== X-Received: by 2002:ac2:5303:0:b0:4f3:93d4:2bc7 with SMTP id c3-20020ac25303000000b004f393d42bc7mr556595lfh.36.1685442020786; Tue, 30 May 2023 03:20:20 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id c25-20020ac24159000000b004cc8196a308sm290902lfi.98.2023.05.30.03.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 03:20:20 -0700 (PDT) From: Konrad Dybcio Date: Tue, 30 May 2023 12:20:12 +0200 Subject: [PATCH 13/20] interconnect: qcom: qcs404: Hook up RPM bus clk definitions MIME-Version: 1.0 Message-Id: <20230526-topic-smd_icc-v1-13-1bf8e6663c4e@linaro.org> References: <20230526-topic-smd_icc-v1-0-1bf8e6663c4e@linaro.org> In-Reply-To: <20230526-topic-smd_icc-v1-0-1bf8e6663c4e@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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685442001; l=1230; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=T8n09Sxnfaf4a9P8gR8uI0Eqx4cTlCAqOBT58LgHFQo=; b=CHJefv1YEpkMoX2ECAe54VJMyXIa8aGNkGU89yAoN5AYy4D/HXF6I0WAi3xDdxRaZkC9C1GW2 oMhzv/PoNZKAD2Q0FkNrTPdxiZ5HpdHshk0h+KVB5ltezUfEGUutjMD 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767314412890644609?= X-GMAIL-MSGID: =?utf-8?q?1767314412890644609?= Assign the necessary definitions to migrate to the new bus clock handling mechanism. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- 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), };