From patchwork Tue Feb 14 14:37:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 57057 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3012534wrn; Tue, 14 Feb 2023 06:40:44 -0800 (PST) X-Google-Smtp-Source: AK7set+XU9zhilLKzfR3BUNSyy+Sl6qXBhuWy5ghLtwHVSE0PBqSez1EwUAV9G8KhEVEUi/D4Q0P X-Received: by 2002:a05:6a20:244d:b0:bc:f665:8655 with SMTP id t13-20020a056a20244d00b000bcf6658655mr3011221pzc.53.1676385644565; Tue, 14 Feb 2023 06:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676385644; cv=none; d=google.com; s=arc-20160816; b=ByqhW292DG8J/98vhIkePkHykKzfzBTueg5xckBc/aR5UvWa/rJGCGI3+Pil8DrEif mtwHwi5X3btj24hH0kBf1qUG16rncM7NZHB4hzAgVAsm7zwhIKIFgU63A79YPfKnC+vO 0+OGbgplsbR6FVx3Ik/fx71s4k1ind2MnZ9aHVzWigONaowIrdqZaGWv3kLcRm//1LRP q6jFBU3Tc3VOa7WIqMmSgWrre3yBbJWGwQf+I26I4hgUk8O9230XTeTfKUzEen2mDeW+ 2zJMwEoxHe6xCnkThD+XHUz9f6U53wlgOiE6WOcfqD5QZDOWTCvSYTaw2WPD+2LdUjtV dHJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LbwaLLKNhRw2CH/nrw0ovwFrmWWG6dVokGMb/AGTKDo=; b=NxC6T1cizF++S/KaVmcEa6ck0EdAP3TtkJVyKpzU+aEV5ddzvodQE6FnTRCQ3ljWrM tqbS8qIMrBbY2MtTF6RZgpK09zldO+wDfZQwwFiI8Zf1cTR/MOXyUy5/Jgv8Q/R9pC1W zkvWRAFi6pDiDjqLlPwHhEC12E3vQNoyY1/kGyHKrqrulcWJOVGYsvWwVNjwiUUEQrLF K2MvAQvboaVw+Cw2U7ajFDZyt0pwY1Sbgl4iD6BghjyBnS2CULTNnfqxo2vw6izv8vaQ yKT3Prl+aa0prIbKoq02eFYzhrKLIyRQbi3JKcWKxxdqFXHxK3QySMVrX1zit1+fCQRX EBPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o6FxOUAD; 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 f19-20020aa79693000000b0059038315e75si15418215pfk.33.2023.02.14.06.40.30; Tue, 14 Feb 2023 06:40:44 -0800 (PST) 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=o6FxOUAD; 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 S233475AbjBNOib (ORCPT + 99 others); Tue, 14 Feb 2023 09:38:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233263AbjBNOiP (ORCPT ); Tue, 14 Feb 2023 09:38:15 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B117B2B297 for ; Tue, 14 Feb 2023 06:38:09 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id dz21so5658457edb.13 for ; Tue, 14 Feb 2023 06:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LbwaLLKNhRw2CH/nrw0ovwFrmWWG6dVokGMb/AGTKDo=; b=o6FxOUADkM6+jev7OF8XLBb8ulB0yBHYWW7KS/Jvjl7APKAUrY3ndxmNtf76PDwtLK myMWxT2iBgkpe1WQea46+Cn3Bvrsnijx9cCMFOKxcwUFkPwwwTCKXxH8725KdaHePQB5 8R5wP7sRng7o7FuW/VqxisACZ0tDaJIBB3aLuYgZjWCqe1P5fo95Je692oyBctZJuXG4 HqSkkdsRsOzXfuONRqHGTnzV4wk5sSfgy2p/SoyjD5MEf1FJTvMLORDv3NIeWL5no1Ph WoiEyB/88QEBnOaXCBNiJaYgsvHRoBMuv0/FBfYqD9/MMS0vp0lkbcYAOqI3DqOf3b+A uWvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LbwaLLKNhRw2CH/nrw0ovwFrmWWG6dVokGMb/AGTKDo=; b=uiq3gAQ10MABwqKNgkuXRs5D661Qes5Paqaej5r4jxqSF3ZQFfygZQht/H784WlwQp cq/8INNZgizc8iVSx7XzTTwgOkn+/LWgMLPdRhhOG1kIe5k+s4dZkX4+a7fW44p/joLN lCH/exqFdZHC+yTjpDM8GZ9gdzCcJQ3aQ+D1w0do0S6+K00aREsnAPT7h3l8ZqUSrYvM l8KqWwSiHqX0gKCL2iuxNm437T4wKinmlE7dHTHI2axRjn+VD1ZKQ6j9trLrSNq/oIbX TQIVek+YqvZD8325A3XYNg7vH/z8nCvX43KH07FDEF02kRrMJTHG0JzOieEeabVnKK8Z M8iQ== X-Gm-Message-State: AO0yUKU2uBaZY60YEDpOjuEY8cXTR4PWMl0jK3jN5v+VWomTlNT3WDNm yhbJ/IG3xTOqtadyqXzB8glcTg== X-Received: by 2002:a50:9f07:0:b0:4a2:1274:d0db with SMTP id b7-20020a509f07000000b004a21274d0dbmr2263716edf.19.1676385489285; Tue, 14 Feb 2023 06:38:09 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id eg21-20020a056402289500b004acb6189693sm5378052edb.83.2023.02.14.06.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 06:38:09 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Georgi Djakov , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 08/12] interconnect: qcom: msm8996: Specify no bus clock scaling on A0NoC Date: Tue, 14 Feb 2023 15:37:16 +0100 Message-Id: <20230214143720.2416762-9-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214143720.2416762-1-konrad.dybcio@linaro.org> References: <20230214143720.2416762-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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 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?1757817753471106393?= X-GMAIL-MSGID: =?utf-8?q?1757817753471106393?= A0NoC only does bus scaling through RPM votes and does not have any ICC clocks. Describe this. Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/msm8996.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/msm8996.c b/drivers/interconnect/qcom/msm8996.c index 1a5e0ad36cc4..45eb8675fb11 100644 --- a/drivers/interconnect/qcom/msm8996.c +++ b/drivers/interconnect/qcom/msm8996.c @@ -1817,6 +1817,7 @@ static const struct qcom_icc_desc msm8996_a0noc = { .type = QCOM_ICC_NOC, .nodes = a0noc_nodes, .num_nodes = ARRAY_SIZE(a0noc_nodes), + .num_bus_clocks = -1, /* No bus clock scaling */ .intf_clocks = a0noc_intf_clocks, .num_intf_clocks = ARRAY_SIZE(a0noc_intf_clocks), .has_bus_pd = true,