From patchwork Thu Jul 20 18:24:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123434 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3324512vqt; Thu, 20 Jul 2023 12:08:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyrYO8iswPQTlTq7JGf/7f4qEwgjcIN+EiStWTuTEhoia4ynIlM59Tpqowyikr1cO4PRlA X-Received: by 2002:a05:6a00:2e14:b0:67a:8f2a:2cb2 with SMTP id fc20-20020a056a002e1400b0067a8f2a2cb2mr25976944pfb.20.1689880102181; Thu, 20 Jul 2023 12:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689880102; cv=none; d=google.com; s=arc-20160816; b=pxKfa77vuxDE483NrMbw7w4BWzBQr2YWqHnqHZ9ABXYdK+k+lx/Zz6ZPr4bp52phCF qRYBxsMbljqmYxHLZE48hNGdqsH2ACU22+AaO4WjJVRJ9BdEd3nomqcvIVleLTaS5W5n YKgw+H/RkYsF3796XeoQkuHOR7QQ/trXCFnSSbi/rO/FafctxTtWOO4nMBeFmcfIbV+C +oYmolUnXm7lF7UuZm332YAUq5vCs2hzxPLpqgCmrPBY3PZ4XbhragvH8xnIdJ7uuQNU QGr1YrjacQGwayqZT/nAhBfxhhduiRlTApsKqjQNCNXsYQB4Qv2SG+e9Rr4/W2eopxr6 tT7Q== 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=tspcZNQVAOG/ieMod7hnD09w/Zkh9+fCIQ92xXCkBLc=; fh=6UEh9QsRZB+5SiKTsumfrAyaQ8JNOoFIZEeWUCZ7Tqk=; b=LbDF5jCRbloB9YNm4mgjb43AArHRdOzOtM1eD1qEotffRhIaBuRFHXr9PHxdDCtkeM NU2G235fKPawS9hOGSQCVZbUUO85P60nCOCVOYwzY7p4WCZ/jZxcVVhG3LdJ4x2z2C4Q X2FAgmcn011oHtT3urXawKH3qXGEjMIz1+BZ2AOC8gUIGVhp/iU5+Fe1q/IPx6niuCV+ Sed9JNfFV6b38/ZoyLKRWj9yr6BDQRh9px2IPnRg/C5WnC07M9Arls2WkwWiiErA6m5u 5CqIWtZ4kzeOYF+ARxV5YjF/4PEu9pKg0/Me6VST5qkKiJ6y3p6hSHHtNTb5Vqcvb6Bx p+2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vg8+1CRH; 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 d20-20020a056a0024d400b006650ccb39e9si1489677pfv.294.2023.07.20.12.08.09; Thu, 20 Jul 2023 12:08:22 -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=vg8+1CRH; 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 S231883AbjGTSYb (ORCPT + 99 others); Thu, 20 Jul 2023 14:24:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbjGTSY2 (ORCPT ); Thu, 20 Jul 2023 14:24:28 -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 1F55C30C4 for ; Thu, 20 Jul 2023 11:24:08 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b95efb9d89so17495431fa.0 for ; Thu, 20 Jul 2023 11:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689877446; x=1690482246; 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=tspcZNQVAOG/ieMod7hnD09w/Zkh9+fCIQ92xXCkBLc=; b=vg8+1CRHxoL5vxPCuBwVapRXpUEpKouHaWSXqSYFr1/UTLahqqiduUJRN0PlZLXR2p Xi/MadEmVMIb6OftU03VnQYYbj6Iy1LEFWQ8ub5fG4P6vN8ZQ91zGt5bryw13HixFkzO FX8qdF/Ld4WFCrBha152saeZ4QghGZflEG3fBBGSVpHh+7utFbCYb8qvFT/9Tgj7zfxq TCISjA1kC7ytMv8uEd0gKzP/MZsQ4B6WVJDqZ/aQlaWUhj6AYjxvckvDKd91NO4x8nMY UCg+F90Mhz/QDubqGOzm016kgkvb4fY2zhOeIZrfVIn1vVVJeQqKWQQln8J+Tnu5UbU3 vdIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689877446; x=1690482246; 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=tspcZNQVAOG/ieMod7hnD09w/Zkh9+fCIQ92xXCkBLc=; b=k//7MVI+CUZciMnuk63w6uouHZ0MUHQnVzD2hFzWxBlIcKyJdnux5dnIceYutL4ZEz rdKwO8L0CQ+Djz4XC4dn7h82lJ1yMVlSlc55zwyyUfUdA8/pHV3Ttsj2+PfOlFpmiANz CBQEJERBDKIIc/KIUOtp8qs2pulxz5ED6Ps1pXbHF5SXulyPC+wBK5fbCAYjmjMMYZmx TDIO+85ploTuYRlWcZCVqr4wJk5Pd0BMTwJB1DB0/oyh/dKuBUEPE3os4h8VKDoP72F0 Je/inGKNkxGdLH5PIdsMWsQrCpKoPXzrLRyQSQOXKAwe5V33ZQXrlVPGRG+hBHm4e9jj 7K6w== X-Gm-Message-State: ABy/qLaJX7qgE+NXfnDC8DsGiztW0yOaxjvQ5f6qTzOihc94GJKx1xhW A9YOJkMOHi7hkARVvtoNE3Cgd9FkuNJ9MdHmPhX8JA== X-Received: by 2002:a2e:9989:0:b0:2b1:c1ae:73e3 with SMTP id w9-20020a2e9989000000b002b1c1ae73e3mr2947830lji.15.1689877446252; Thu, 20 Jul 2023 11:24:06 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id g23-20020a2e9397000000b002b31ec01c97sm428304ljh.15.2023.07.20.11.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 11:24:05 -0700 (PDT) From: Konrad Dybcio Date: Thu, 20 Jul 2023 20:24:00 +0200 Subject: [PATCH 1/2] interconnect: qcom: qcm2290: Enable keep_alive on all buses MIME-Version: 1.0 Message-Id: <20230720-topic-qcm2290_icc-v1-1-7f67f2e259c1@linaro.org> References: <20230720-topic-qcm2290_icc-v1-0-7f67f2e259c1@linaro.org> In-Reply-To: <20230720-topic-qcm2290_icc-v1-0-7f67f2e259c1@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Shawn Guo Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689877443; l=2327; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=M+tTNuP99ZlFEyDR5+8/cKdgpuX5eZVJzdsdG4DBXsU=; b=+hkuq62A1BXLSpnGgub7KQFGH1nrKkS85Db+gSeHpEYzRKijuNd8LBM/pqroBcGtZE52dwU0E NYdDt8T8LO0Bs4PDPwMhfPDs5dNPCfeG/Kgp1MyMx1eoGViYIV/4sz1 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1771967717870637891 X-GMAIL-MSGID: 1771967717870637891 QCM2290 expects all buses to be up at all times when the CPU is active. Enable keep_alive on all of them to achieve that. Fixes: 1a14b1ac3935 ("interconnect: qcom: Add QCM2290 driver support") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/qcm2290.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/interconnect/qcom/qcm2290.c b/drivers/interconnect/qcom/qcm2290.c index 3c3b24264a5b..c22354f3e667 100644 --- a/drivers/interconnect/qcom/qcm2290.c +++ b/drivers/interconnect/qcom/qcm2290.c @@ -1196,6 +1196,7 @@ static const struct qcom_icc_desc qcm2290_bimc = { .num_nodes = ARRAY_SIZE(qcm2290_bimc_nodes), .bus_clk_desc = &bimc_clk, .regmap_cfg = &qcm2290_bimc_regmap_config, + .keep_alive = true, /* M_REG_BASE() in vendor msm_bus_bimc_adhoc driver */ .qos_offset = 0x8000, }; @@ -1252,6 +1253,7 @@ static const struct qcom_icc_desc qcm2290_cnoc = { .num_nodes = ARRAY_SIZE(qcm2290_cnoc_nodes), .bus_clk_desc = &bus_1_clk, .regmap_cfg = &qcm2290_cnoc_regmap_config, + .keep_alive = true, }; static struct qcom_icc_node * const qcm2290_snoc_nodes[] = { @@ -1294,6 +1296,7 @@ static const struct qcom_icc_desc qcm2290_snoc = { .num_nodes = ARRAY_SIZE(qcm2290_snoc_nodes), .bus_clk_desc = &bus_2_clk, .regmap_cfg = &qcm2290_snoc_regmap_config, + .keep_alive = true, /* Vendor DT node fab-sys_noc property 'qcom,base-offset' */ .qos_offset = 0x15000, }; @@ -1308,6 +1311,7 @@ static const struct qcom_icc_desc qcm2290_qup_virt = { .nodes = qcm2290_qup_virt_nodes, .num_nodes = ARRAY_SIZE(qcm2290_qup_virt_nodes), .bus_clk_desc = &qup_clk, + .keep_alive = true, }; static struct qcom_icc_node * const qcm2290_mmnrt_virt_nodes[] = { @@ -1323,6 +1327,7 @@ static const struct qcom_icc_desc qcm2290_mmnrt_virt = { .num_nodes = ARRAY_SIZE(qcm2290_mmnrt_virt_nodes), .bus_clk_desc = &mmaxi_0_clk, .regmap_cfg = &qcm2290_snoc_regmap_config, + .keep_alive = true, .qos_offset = 0x15000, }; @@ -1338,6 +1343,7 @@ static const struct qcom_icc_desc qcm2290_mmrt_virt = { .num_nodes = ARRAY_SIZE(qcm2290_mmrt_virt_nodes), .bus_clk_desc = &mmaxi_1_clk, .regmap_cfg = &qcm2290_snoc_regmap_config, + .keep_alive = true, .qos_offset = 0x15000, }; From patchwork Thu Jul 20 18:24:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123425 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3306973vqt; Thu, 20 Jul 2023 11:32:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFWaG0bwF62CUcw9Vm1QTqSiW9LnWaQ7L8QvK0EzTx4FGgYQLXDLuy1xCxmZUsOZZCgX/+V X-Received: by 2002:ac2:4f0d:0:b0:4fd:d3a8:f5b2 with SMTP id k13-20020ac24f0d000000b004fdd3a8f5b2mr3323238lfr.5.1689877936910; Thu, 20 Jul 2023 11:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689877936; cv=none; d=google.com; s=arc-20160816; b=B8BG8PNsejz+pgjPYs1ZhXjPLOln/VMNJm28TYKOLG4v47T90O0snRapNIgWJLzpQ9 1f5GvTuN2MXwQSJ7L03Gd8i0Az8uH3zT9MNQ6bhvwmS123JTbaOnImSCVM+yZZNa+nX7 9BnFRimhaXowl4PXtkhAqaVCHCz7UYi2zJKSUjGmxIuu10zhwHGIHOYaNjWBx84jPe5I zeSj2oCaaco/pGWf4gAyv5ivYKGn/TuXEjSRDyFrVGJZVvphTD0AD3qWcqnr8R8BYuJJ zi5ZL7jLpYJWWYEqNnLypcQFOjsC14805+aH4Sgeu1UDiGqZcfUofSEMV6ixjLgoFhst Ynxw== 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=yJbGKInlejV3VBpG5lEDNq2UlayrlJtje9RzPRt66/k=; fh=6UEh9QsRZB+5SiKTsumfrAyaQ8JNOoFIZEeWUCZ7Tqk=; b=k0too+OzrW6T7FfDDdl+IYGk41YMOo/ifR/ajzpUzzhszjw+saNocwNfasuli8ifNs Bk9kyAXRGhHaDwWqMC/t59f2Svwe/OpbBZV7kzopINEMApT0sNhZC0DuXb1iJcfbzeLf ksXkOc9Gghs0MXPOsWZ8yeOB96BxHY2ZwR6aW77uMfLtp7tL86Lo6pVrkI5veyWYpWpY FtX32wjY1zI3C+glooidnKp/ajs132AaOJIvw8fxEAtQSsC1MO25Vbh0suI1rxxWWWvB ZE0Z2y1SUSdZhWDDW4KRtMxc2oPbR6JWyahKEGUbfAvaRWZLAxUglfToDHENqDyildf1 6krw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="lUXvfFB/"; 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 f23-20020a05640214d700b0051df5d3d1ecsi1149711edx.254.2023.07.20.11.31.52; Thu, 20 Jul 2023 11:32:16 -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="lUXvfFB/"; 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 S232005AbjGTSYf (ORCPT + 99 others); Thu, 20 Jul 2023 14:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231719AbjGTSY3 (ORCPT ); Thu, 20 Jul 2023 14:24:29 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41BDF270C for ; Thu, 20 Jul 2023 11:24:10 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b703a0453fso16776631fa.3 for ; Thu, 20 Jul 2023 11:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689877448; x=1690482248; 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=yJbGKInlejV3VBpG5lEDNq2UlayrlJtje9RzPRt66/k=; b=lUXvfFB/TUTP9i4ubj+/XnDoC2z0EeSV4kj8IPHoFxmNTzAZ2sOtVt6ZjpD4AK/Jtr P9yoiJnwNdDYtgeUSadSscna6eWzWoWdj+lT4h+sqUalqPpyf/NtUqpvGxiUMEYiqSc0 e/naKrZE3sJM27pDBT5OEewYfnx7PeO7RsA9veLGYX+9AEeyJY3F4XGVtBNV5vUGkR/C Fz4uD+WVdU+8qH66tX0QJLDnkTv/xV8ohza82S7kTfRDC0pUKH9eS6cKM1g/KRhiaJ7o TaEjOThGah/45S6sfsa8UZdU2XLAmv+CdFt/Z0H0a+0oMMC4a0IxccPphGEpcYst68ST FKGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689877448; x=1690482248; 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=yJbGKInlejV3VBpG5lEDNq2UlayrlJtje9RzPRt66/k=; b=ftGmcGgjlyy1Op0z9y0/JX0viyXIokzJ0e5w0cxnBlrbEKRL2fGJjDBIO8+1gu/s04 eqTy0YruuSjGuD0b+0O6fa9y+J3aafI7h+DcOVEK/3IwLwEzwkTz1uifBmjFwICZjW/i Im/kz55JMyQMHezTSYeXmyJQc0j6NDjRw9Fe90X7Xn25UmN8OXZdHHUcG97kDVn6YHHy MXIOXCX/UxmnG+f8mFYpiuSV5rCsH71xBqzAsWkRp1KuDtkLRyvsNvXBsmQMJJZXJf7v +TNsrjq+GDxZY6LmLDTCdwqddRfn39FMAJlaRXF+iDTi9OfEAOxQx5GPZHiQ3/D41qct 515w== X-Gm-Message-State: ABy/qLbHrDuGgKT01w2D8zeQ8uqc+U+7GddfZe2J09xCHdYM4s+1E1AN yu+bVslEMElhVuUg89+VYaSVRtV9qRHIM/jfMpmggw== X-Received: by 2002:a05:651c:d7:b0:2b4:6eb0:2a27 with SMTP id 23-20020a05651c00d700b002b46eb02a27mr3212817ljr.17.1689877448302; Thu, 20 Jul 2023 11:24:08 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id g23-20020a2e9397000000b002b31ec01c97sm428304ljh.15.2023.07.20.11.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 11:24:08 -0700 (PDT) From: Konrad Dybcio Date: Thu, 20 Jul 2023 20:24:01 +0200 Subject: [PATCH 2/2] interconnect: qcom: qcm2290: Enable sync state MIME-Version: 1.0 Message-Id: <20230720-topic-qcm2290_icc-v1-2-7f67f2e259c1@linaro.org> References: <20230720-topic-qcm2290_icc-v1-0-7f67f2e259c1@linaro.org> In-Reply-To: <20230720-topic-qcm2290_icc-v1-0-7f67f2e259c1@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Shawn Guo Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689877443; l=848; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2/Oo4HuXZdKRBcTWrVM14eHjkhJTowhQs8f0byzlaxA=; b=2gODwk7mWvcrH5TQAE0U2G2K/SvZ95dPHXuYPuK3g+M4nAEtnVC0r7SxHnKOKLbIiCVrjsW36 WuqFs51GY1ADgmVf+qN+a2iYVWXF4g5plMugYznKlk5iAxPCiI/xHId 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1771965447643779825 X-GMAIL-MSGID: 1771965447643779825 Very surprisingly, qcm2290 does not seem to require any interface clocks. It's therefore safe to enable sync_state to park unused devices. Do so. Fixes: 1a14b1ac3935 ("interconnect: qcom: Add QCM2290 driver support") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/qcm2290.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/qcm2290.c b/drivers/interconnect/qcom/qcm2290.c index c22354f3e667..5bc4b7516608 100644 --- a/drivers/interconnect/qcom/qcm2290.c +++ b/drivers/interconnect/qcom/qcm2290.c @@ -1364,6 +1364,7 @@ static struct platform_driver qcm2290_noc_driver = { .driver = { .name = "qnoc-qcm2290", .of_match_table = qcm2290_noc_of_match, + .sync_state = icc_sync_state, }, }; module_platform_driver(qcm2290_noc_driver);