Message ID | 20230214095435.2192153-1-konrad.dybcio@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2873524wrn; Tue, 14 Feb 2023 01:57:14 -0800 (PST) X-Google-Smtp-Source: AK7set/ErXf3j0WjV9s6+vyNSaZx9Ht6hXXiSsv97BoB48uu4tvskrk4HPLriQufYbKbNcz6uxXW X-Received: by 2002:a50:d702:0:b0:4ac:da71:2723 with SMTP id t2-20020a50d702000000b004acda712723mr1583574edi.38.1676368633831; Tue, 14 Feb 2023 01:57:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676368633; cv=none; d=google.com; s=arc-20160816; b=AOm0NPL+wIgNpB4vEIcEMnFTRBETGO728yWJblaI/jYdGm/XB0OyKFzPR/5orFT4Z1 kSKyp6ZDzK3x+8rHPH/VMWkfQHme3k/5PcQ0HYNQSqrkKTeF+Zz9Etc4RMoluNTLG/LV vTl+fSHya8J/SX/4Tu8i4rZkdcL99pUzBgw4bbg3mseLGPZrVhdvDGilADcCx8Kad3MY SN/aQ7aWsG8YR5x7Aoxb/6tAOj/LE3EM68vFOt8BMzCp5ipU7Bhkiy2eogudxQvnXrlD 5m5T1tCfkg8cJh8KZhSBhlLE9PzzgqWCXJveknCE2+vFIdxPcrjUGb+ryEsD8pun7VTO HSbg== 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=Swwz0i61XmcyN0eChJbFKDnT0VXzHBOjQLzsplB2lBw=; b=PvyhYSN1MfK518njP1TWoIsSoWHyy05caYuweLUtT7xRpfmFtK6RpWkoGwAYYKiDpC 4M14dkanq5S5ys5PqgF0yBnn5M8Kew9HUFsufRqVC4vRIIbF5rMn63q8TDwyVVPUYNP3 yUnsfGEFAHo6/6AoThelPQj5oJz5qreULVXHhNbL8gTDFIsPF8aITA3V65LDOV9FrJEC StqedW7exz9sT4aXghCPe94t1bttaHjF+zpA9Bl/mA5IHW9DANK465IAPk6ufKRyHB1y 1BhFwwDj4H0ceevBi3EDZCaROWlagaGmhuReGyT0sgOzibfW+8j23IpTA8tMHqxXJWR0 g6JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xfpW5v5O; 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 r13-20020aa7da0d000000b004acd272dc9fsi3464108eds.573.2023.02.14.01.56.49; Tue, 14 Feb 2023 01:57:13 -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=xfpW5v5O; 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 S232198AbjBNJzT (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Tue, 14 Feb 2023 04:55:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231839AbjBNJyr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Feb 2023 04:54:47 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1A224CAD for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 01:54:43 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id k16so7112356ejv.10 for <linux-kernel@vger.kernel.org>; Tue, 14 Feb 2023 01:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Swwz0i61XmcyN0eChJbFKDnT0VXzHBOjQLzsplB2lBw=; b=xfpW5v5Onb1cwdnB7BYYtmOpk5i0yYw9DXeANC+ERy1qqllOZVEd5MgWVO9NRYUahL ABHFs9BX8UeWLEbR2qwp5UPacJF9gbN/xCeBc3WK3E6TWa6eJ5rg1Hx+3Pg0LGLH8CMX zKxyfSG86lnvdAijoLvQDDDcijWfwT1OV6jXd+uPa1BOkHGaOpZ6l6BIxss0Uq8MPGJt MWqiF4Cu5U0MfH2pxRS8wx35uH5o/fsi4rCkBiNE1wlumzSWRkr32dfU5NRKVz778r5E 5hCKNaIzC2sK7vji0rdcuQYHAUhRjdAN39aha6mKSgVGY1pc1yBZ/c01fb8JyaiTwdt9 /tXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Swwz0i61XmcyN0eChJbFKDnT0VXzHBOjQLzsplB2lBw=; b=M1L/AjM3fN1ctyLxk01T2lh/vPsIjx2l3sF1BPPXiehjNWcHpjWlUlPHBgyqphpc/F wRonlqzUAyEsSmSpszUDF1S2MCfiZjz1VoZhQ8d6pUuOcLkXyPQBtbOqP3hvNBFdTvWz 9TtZ78/OxtFpUSOiPvlQ6UnGgU2Ciu6uGWfSeHxC5lqJFva3mUzzz0KBYt+imO4mgE2Y S4EU71YBsmyLeWceV/eVqukisvOxsd4LYSoIt+mx0WldBPVRVoVnCC3lpdX8DLJ4LYtS x0l6fOepyPqQT3GN0+hh2XR45s99YYK7DWsQDbwKXxxrQKe0Uz/wiNKIRDDdnrojgh27 qU6w== X-Gm-Message-State: AO0yUKUYtgtd4uhnuCUJb+SPCol+61oNo76jm8dezJ8/S1ey1fDFz44p C44wqKbVOWUNe08nyDQLmeOclw== X-Received: by 2002:a17:906:5ac9:b0:882:ed4a:f23 with SMTP id x9-20020a1709065ac900b00882ed4a0f23mr2292261ejs.49.1676368481714; Tue, 14 Feb 2023 01:54:41 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id b12-20020a170906038c00b0088f464ac276sm7936172eja.30.2023.02.14.01.54.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 01:54:41 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: power: qcom,rpmpd: Add SA8155P Date: Tue, 14 Feb 2023 10:54:33 +0100 Message-Id: <20230214095435.2192153-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757799916341513823?= X-GMAIL-MSGID: =?utf-8?q?1757799916341513823?= |
Series |
[1/3] dt-bindings: power: qcom,rpmpd: Add SA8155P
|
|
Commit Message
Konrad Dybcio
Feb. 14, 2023, 9:54 a.m. UTC
Add a compatible for SA8155P platforms and relevant defines to the
include file.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
include/dt-bindings/power/qcom-rpmpd.h | 9 +++++++++
2 files changed, 10 insertions(+)
Comments
On 14/02/2023 10:54, Konrad Dybcio wrote: > Add a compatible for SA8155P platforms and relevant defines to the > include file. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Tue, 14 Feb 2023 at 15:25, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > Add a compatible for SA8155P platforms and relevant defines to the > include file. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + > include/dt-bindings/power/qcom-rpmpd.h | 9 +++++++++ > 2 files changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml > index afad3135ed67..f9c211a9a938 100644 > --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml > +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml > @@ -29,6 +29,7 @@ properties: > - qcom,qcm2290-rpmpd > - qcom,qcs404-rpmpd > - qcom,qdu1000-rpmhpd > + - qcom,sa8155p-rpmhpd > - qcom,sa8540p-rpmhpd > - qcom,sa8775p-rpmhpd > - qcom,sdm660-rpmpd > diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h > index 1bf8e87ecd7e..5a6dd5ded087 100644 > --- a/include/dt-bindings/power/qcom-rpmpd.h > +++ b/include/dt-bindings/power/qcom-rpmpd.h > @@ -4,6 +4,15 @@ > #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H > #define _DT_BINDINGS_POWER_QCOM_RPMPD_H > > +/* SA8155P Power Domain Indexes */ > +#define SA8155P_CX 0 > +#define SA8155P_CX_AO 1 > +#define SA8155P_EBI 2 > +#define SA8155P_GFX 3 > +#define SA8155P_MSS 4 > +#define SA8155P_MX 5 > +#define SA8155P_MX_AO 6 > + > /* SA8775P Power Domain Indexes */ > #define SA8775P_CX 0 > #define SA8775P_CX_AO 1 > -- > 2.39.1 Tested on my SA8155p-ADP, so for the series: Reviewed-and-Tested-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> Thanks.
On Tue, 14 Feb 2023 10:54:33 +0100, Konrad Dybcio wrote: > Add a compatible for SA8155P platforms and relevant defines to the > include file. > > Applied, thanks! [3/3] arm64: dts: qcom: Split out SA8155P and use correct RPMh power domains commit: 8c67e554754ca669911625412ae9a6cd8cee1c82 Best regards,
diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index afad3135ed67..f9c211a9a938 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -29,6 +29,7 @@ properties: - qcom,qcm2290-rpmpd - qcom,qcs404-rpmpd - qcom,qdu1000-rpmhpd + - qcom,sa8155p-rpmhpd - qcom,sa8540p-rpmhpd - qcom,sa8775p-rpmhpd - qcom,sdm660-rpmpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 1bf8e87ecd7e..5a6dd5ded087 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -4,6 +4,15 @@ #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H #define _DT_BINDINGS_POWER_QCOM_RPMPD_H +/* SA8155P Power Domain Indexes */ +#define SA8155P_CX 0 +#define SA8155P_CX_AO 1 +#define SA8155P_EBI 2 +#define SA8155P_GFX 3 +#define SA8155P_MSS 4 +#define SA8155P_MX 5 +#define SA8155P_MX_AO 6 + /* SA8775P Power Domain Indexes */ #define SA8775P_CX 0 #define SA8775P_CX_AO 1