Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2334425pxm; Thu, 24 Feb 2022 23:07:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJzp3o5oRRlIiZkRrHTp8QM+ZJU2IgFAhOQwDWRBDK0fbor+NueNeEI+0gRWUUC4GFaNNIea X-Received: by 2002:a05:6402:438e:b0:410:a8bd:fee0 with SMTP id o14-20020a056402438e00b00410a8bdfee0mr5742355edc.426.1645772827350; Thu, 24 Feb 2022 23:07:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645772827; cv=none; d=google.com; s=arc-20160816; b=Hsl/HTq8BWXrBbmtngb7AefomdVNWyrqjBzk0FGD671jYCmnWcpaNCJSm3tOpF9CBc 7Lmav6GKSmeI1cxAtaUNPUr6EwbIhU+jwPIYqf3xK4hcnOe5dqjTOOAQUuDrzorUpFfj pdGItAMp0ju4uar+7IjMduoqn7QeY7gtzIKNZ+Uwj4o0/Bd+a805BwmJfugxLHdJHU4m FZjUg1jTEkKw07jkir5bCxYz31bSQbjtqfpErhWBDKWMyaXT4JkishfLbEp8Fpnj9KQO W+HxHKg7LFRDfgy8guCldgQlxli34tvJzqrBzP08AdJsnM/cA+33xaopLsC+GPiariQe tZ7g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=P5HeReME+GcfH6o+5ceejN/BoRY5Qn6Q2pZMieR6LwY=; b=H3+oXiCOu1LTNbAiUYFRaaZKstCckQvS/P6/XjDphfvO9xbzXBqnON1AJFNWJd/UOM S6ndxOw5IJSUN9ZJjTa6rbLNiMShvwjoHRsTcj8IEb0whCgzfj7ZpDyBYOW3BUwbA74G nQCB4FXpe7D06+EvzMU/al1Ao9UUd1Zik3wp6P0McRyli+v0Tn+z6OyGPhNdh0YQo9Em +Fr59kpYrvFvwnKCwB+w6hUork7Z8HKKsQkEMtc3w3+EBJ97Xtb/Df20ss1zyE2PLK/m RaJZiVXeM63u/XC+sA4OlmoJVtYl0exdzhW7ACTxUh7szzGgsEy1sFUP66zk1e0GBdiF lw3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I87yVDO9; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a50d6cb000000b00410d2767811si1262720edj.254.2022.02.24.23.06.11; Thu, 24 Feb 2022 23:07:07 -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=I87yVDO9; 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 S237606AbiBYFmW (ORCPT + 99 others); Fri, 25 Feb 2022 00:42:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237599AbiBYFmT (ORCPT ); Fri, 25 Feb 2022 00:42:19 -0500 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4CAE2DA9E for ; Thu, 24 Feb 2022 21:41:47 -0800 (PST) Received: by mail-ot1-x32e.google.com with SMTP id a7-20020a9d5c87000000b005ad1467cb59so2947394oti.5 for ; Thu, 24 Feb 2022 21:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=P5HeReME+GcfH6o+5ceejN/BoRY5Qn6Q2pZMieR6LwY=; b=I87yVDO9cMlGPge/X6fJr1hxFp+dXwLYYTMb117hYBqwZH22wERp4ZmTSwpNhyZEv+ TYlTikjN3jlnUaw/pIfYsvu+bhjMzYFGfxA48KPW0YGo9e6y5iiPSjm9LtWMF/rtKPUh sGtuGlo2iBYVJrljCpNDzyiokdDwhld6bAI4Fd0gsovvrvxFGustV/6nh9wiZALT+Wme MpHTILQjpA7dOfsAiLkIlmu7ro89vmztzOBPm+H/fUUrwCT4F0/l6kzcOghcb8WAPAGS ww0V6mGmf8hmIsHxfnJcl1VUFCfch0FdqR9gzZ7VL1MZrnF4bfO9npD9xT+YTUUUiO4s GApA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=P5HeReME+GcfH6o+5ceejN/BoRY5Qn6Q2pZMieR6LwY=; b=Zkbmg6mYEgZzyK+IH9UPggyZKA8eq1/ZpYicUq6VdZwqsdwuZMngNZgT0peaIVZVv/ DrmAJKV+e6STgMZr0PjYda0ULL590zksv1h/acOyol/GoNKfPL73JCFFOOQvskFQhCTL ght/t5ftzS8WkE/Yp0nvN+Q0ChuPzmVbNfbrWy/ub90MR43c0a1qECIy7WYylQot10zy 8AMHn5mf3TsgQe5CXeH7TOXl/i6NXLcA1QDpEjtfQ0Ikq2mZlHUdTBDCPVFW8wTBiqpM DC/ctDDhHmV6lEExvuY4ZO1GnmdTpTitrenZEAAtLTs+rHngpPd4m5nmmms02F6NnZhI oZuQ== X-Gm-Message-State: AOAM530JHFFky7xJ7+EiZ2xSH8mk/gY2mPE8g4XrxT7RoyPIj5lAEVNN sZvI/mF/7Vc6Wx1lXLdI2JIUEw== X-Received: by 2002:a9d:18f:0:b0:5ad:9728:ecc3 with SMTP id e15-20020a9d018f000000b005ad9728ecc3mr2246856ote.309.1645767707008; Thu, 24 Feb 2022 21:41:47 -0800 (PST) Received: from ripper.. ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id bd32-20020a056870d7a000b000d43d4d2de1sm863567oab.5.2022.02.24.21.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 21:41:46 -0800 (PST) From: Bjorn Andersson To: Bjorn Andersson , Rajendra Nayak Cc: Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RESEND 1/2] dt-bindings: power: rpmpd: Add sc8280xp RPMh power-domains Date: Thu, 24 Feb 2022 21:43:44 -0800 Message-Id: <20220225054345.2479565-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 The sc8280xp has 8 power-domains controlled through the RPMh, document the compatible and provide definitions for the power-domains - and their active-only variants where applicable. Acked-by: Krzysztof Kozlowski Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index f48bc41d81ec..377162279455 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -30,6 +30,7 @@ properties: - qcom,sc7180-rpmhpd - qcom,sc7280-rpmhpd - qcom,sc8180x-rpmhpd + - qcom,sc8280xp-rpmhpd - qcom,sdm845-rpmhpd - qcom,sdx55-rpmhpd - qcom,sm6115-rpmpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index edfc1ff2acb3..aea23b929f12 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -117,6 +117,19 @@ #define SC8180X_MX 9 #define SC8180X_MX_AO 10 +/* SC8280XP Power Domain Indexes */ +#define SC8280XP_CX 0 +#define SC8280XP_CX_AO 1 +#define SC8280XP_MX 2 +#define SC8280XP_MX_AO 3 +#define SC8280XP_EBI 4 +#define SC8280XP_LCX 5 +#define SC8280XP_LMX 6 +#define SC8280XP_GFX 7 +#define SC8280XP_MMCX 8 +#define SC8280XP_MMCX_AO 9 +#define SC8280XP_NSP 10 + /* SDM845 Power Domain performance levels */ #define RPMH_REGULATOR_LEVEL_RETENTION 16 #define RPMH_REGULATOR_LEVEL_MIN_SVS 48 -- 2.33.1