From patchwork Fri Jun 23 12:50:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 696128 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0731C0015E for ; Fri, 23 Jun 2023 12:51:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231743AbjFWMvT (ORCPT ); Fri, 23 Jun 2023 08:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjFWMvO (ORCPT ); Fri, 23 Jun 2023 08:51:14 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C55842130 for ; Fri, 23 Jun 2023 05:50:55 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3113306a595so681608f8f.1 for ; Fri, 23 Jun 2023 05:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687524654; x=1690116654; 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=GYdp75VAJ765a2DkcylWB3P153YCeO8g/iykuAM8Pgs=; b=bikJxea1Yk1J3T5KYNMQApfPvaGH74ADu2BxV0CNf+XOYt5OtyJVvIJC9wYFXXLXo2 S1PDVkLW3XYIOWlUFwhYjZjqQEPlftarS2tz3ynAVSIC8yX/AzOMP+7HyJMCY0QLPzxG 9qnl94f2gUApQvgtdvTj03jcoYsTbm8vHZ7Mj9suRpwnwbQt2UY+EBSxcRZeUzaD0Nls cRug7w2qVPJvgc9vTnKCIlBHCQJDakd64iFIncRAkTky3dR/nppwHSlEs8QzXKGCNsAr Wm0bzjsH4mQPFLl3eiQQwJKvH0BFJVKqR33metaCfxSbDUaKSCQozuQTxUa2lZ9bfdJh MFUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687524654; x=1690116654; 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=GYdp75VAJ765a2DkcylWB3P153YCeO8g/iykuAM8Pgs=; b=YRmmJZn4m859yQWoLHsbEAabLFYrbWubGJypxJQxu3C8NtXz16WW/B6au2Q8o/8dxX WkjWC3HxlG3mkL0r+PjHIPeBWQrAz84/utyBXDjm+/XqE59sp0/ZQDgTlbmvx6pxVi7l MIwlWijNP8s4j/aC0HcLXTIfNk3jMB/TqIhTAwf/VOn263h/m9OiHpSMc1wC3LMx7Rk5 lkkDJ9r6L0ycrtdRAj6ZEppVE6p7aH1LDq9RrVTYnmJ1FdbXUgJ1U+9qogIVQXvBY6+R qnW4hADhfYkKxEbjHNbbJagbtzQtsJ5ECD34qBGuQ4HREY8aNUf7uDC2y62vsEOG8jrc 53mA== X-Gm-Message-State: AC+VfDwl1jd7O0501M2/2DueYDKmo8duhjrh4HF41dCWuJTLo/Qkg7vW CmrASFke2kzG7lKOue+xr9nb6w== X-Google-Smtp-Source: ACHHUZ7qAc5EKkLfCusMiH7xwYSijIrrBDzdRNP/YHHAqobl4iyafrfQtwOZA7O8+0tQc5Txvm/tYQ== X-Received: by 2002:adf:e585:0:b0:30a:f36e:72a3 with SMTP id l5-20020adfe585000000b0030af36e72a3mr20991627wrm.0.1687524654342; Fri, 23 Jun 2023 05:50:54 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id m5-20020adffe45000000b002fae7408544sm9455350wrs.108.2023.06.23.05.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 05:50:53 -0700 (PDT) From: Neil Armstrong Date: Fri, 23 Jun 2023 14:50:45 +0200 Subject: [PATCH v2 4/4] interconnect: qcom: sa8775p: add enable_mask for bcm nodes MIME-Version: 1.0 Message-Id: <20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-4-709474b151cc@linaro.org> References: <20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-0-709474b151cc@linaro.org> In-Reply-To: <20230619-topic-sm8550-upstream-interconnect-mask-vote-v2-0-709474b151cc@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=871; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=T0OCke3zU0kw5rM6EOGl8ujcJr6B7UbkFHa+/zvY2yY=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBklZUlAw0ZOrFFJdxA2MlOVSR2x2/u+WWMqwGAroEz KBdhuSGJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZJWVJQAKCRB33NvayMhJ0Yg4EA DO41iwRa2L9Mh4dQM+rNxAt/O4LwF8KTM5Z7SYrycTMC+hO8I2zyPwGaGH/WOJhBt9KMyYSXxccu+H w4UkP2BfStArd5qsC18sHYDQxIary7rt2/N8RxfJjAeTe2saSVrI/5Kd3DOqVhG/N1wz4kGzyPGzhT H7/lS+ajV6jt3JH0uO4DbwCVMzDkR/qa2eTj5plcYAMgbTwXIVJUGaads3eet9Fqa5b5gUo6N1giRJ HkhpkGMh6KAbsL37HB63jSWFoeEAkYpZpyLbKUuopNqRsw68MMFvgteXxbkx3difOL0RAJAecJw2Uo nehy+yVZTDytzFQkX7rP5ctSHN1RNcbr/5wdD9RgyiTo+vRQ+2X4R0i/wOv6NOdPxbclWsWcAQ9sZh fv0FYAhCMJAP/k3T9Sj2GMnmXmrRVpSQG3t8PQcnt44meGjyUyoGKJBEj0kWvPokq2NefjhrmWYkMj +yzDbdbBzUtabcUT7ZoBOTUMpRyr8czV/MMWES3908S08qeEws+hAPAv8T/0EURKE3zyWVbYHDwLMu CrBi8CQ+t7oJoH4yIRpg+YGvw+Ie242k5MdeEMuyrScGj44pLuWFxhEbkBwBCTISf7fjtKKeutwqgI yJ6mNSeOZebcjV06t6Zs5wAN6YvEBvUvr+Gd+C1GsaZgGmsJDM3F3pzZH1Cg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Set the proper enable_mask the ACV node requiring such value to be used instead of a bandwidth when voting. The masks was copied from the downstream implementation at [1]. [1] https://git.codelinaro.org/clo/la/kernel/msm-5.15/-/blob/kernel.lnx.5.15.r32-rel/drivers/interconnect/qcom/lemans.c Signed-off-by: Neil Armstrong --- drivers/interconnect/qcom/sa8775p.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sa8775p.c b/drivers/interconnect/qcom/sa8775p.c index da21cc31a580..f56538669de0 100644 --- a/drivers/interconnect/qcom/sa8775p.c +++ b/drivers/interconnect/qcom/sa8775p.c @@ -1873,6 +1873,7 @@ static struct qcom_icc_node srvc_snoc = { static struct qcom_icc_bcm bcm_acv = { .name = "ACV", + .enable_mask = 0x8, .num_nodes = 1, .nodes = { &ebi }, };