From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2C4BCD5BAA for ; Thu, 5 Sep 2024 11:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MBNubdUo5RBNhan3/8Zh6SrWpiEYIWpDPlQP+7GjT68=; b=CEM5B44u6lRThDR4V6aI9Y6pAm oyaYuO0dCx2KBAdeU5mKtqkHRH8InRiqc5SC53pG/97H6Mg71WYciGkFbcFUXAW5EDnGXKfMT0mUe XJlkkK8f5YxOD1rHUNzUsiC3vsAoNLHmqR6ba+4t1iQ+GyoaOY3NWDVbFtL2sRiMAimSi6heYszJN L/T+iQnlc840iP09geUiP++3ZBovRooxiaiPX5kNQwDALN4+o5dMitMGgjsHpiLKg/67UFVJbQcD0 31FLGrK2jx6R8Y/zESFNtOqULfl81Of0RqC43av1JsUx+tSZTdlDJwz2kMjhKQIjWWkEoWD4zSeD9 e9PPmcrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smAkL-000000088Dr-20ZA; Thu, 05 Sep 2024 11:33:53 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smAif-000000087ic-2E1y; Thu, 05 Sep 2024 11:32:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 72242A416C8; Thu, 5 Sep 2024 11:32:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28182C4CEC3; Thu, 5 Sep 2024 11:31:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725535928; bh=vFGbvJgagX7pycnyLSyGLOXNpMsQbEA2VPqFK/LxMVk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MH3Vu9NkIaVJTQRY9bsxF4XNon84qFN6htU9jBkoaQ7SFxX7RTdsVJB/Q/qf4NI2A jUp9aP4Y+T27yUjaWKGGauYE7M5Si171BzXITROP99aiQ8I/FOGh9FybE+ftgc8kMR lPovjw3wz7+v4ErmLt0m8Wz+dxEpnNU549csr9aNQPt34wO7Rpg/DgNwoXSdbFUvlI jiWAB75ckfrwgUK30aji2MTlbeLSAwHd5EwIydhzaGmqf/ypZCi5HKnqygFhGx0kU0 liahfy3EgC5Qx5ZS9nBBcbxkjJc+Wt7RJJbUhg2pmICo8kAnIZ6yNSY5WzHZztsoqc owEeW++rAZtdA== Message-ID: <8ad6d902-8d19-49a5-b12d-d0d8b0b17cb6@kernel.org> Date: Thu, 5 Sep 2024 13:31:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/19] dt-bindings: power: rpmpd: Add QCS8300 power domains To: Konrad Dybcio , Jingyi Wang , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Andy Gross , Ulf Hansson , Thomas Gleixner , Will Deacon , Robin Murphy , Joerg Roedel , Robert Marko , Das Srinagesh , Jassi Brar , Lee Jones , Srinivas Kandagatla , Catalin Marinas Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Shazad Hussain , Tingguo Cheng References: <20240904-qcs8300_initial_dtsi-v1-0-d0ea9afdc007@quicinc.com> <20240904-qcs8300_initial_dtsi-v1-6-d0ea9afdc007@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240905_043209_822424_864ED71E X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 5.09.2024 1:30 PM, Konrad Dybcio wrote: > On 4.09.2024 10:33 AM, Jingyi Wang wrote: >> From: Shazad Hussain >> >> Add compatible and constants for the power domains exposed by the RPMH >> in the Qualcomm QCS8300 platform. >> >> Signed-off-by: Shazad Hussain >> Signed-off-by: Tingguo Cheng >> Signed-off-by: Jingyi Wang >> --- >> .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + >> include/dt-bindings/power/qcom-rpmpd.h | 19 +++++++++++++++++++ >> 2 files changed, 20 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml >> index 929b7ef9c1bc..be1a9cb71a9b 100644 >> --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml >> +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml >> @@ -32,6 +32,7 @@ properties: >> - qcom,msm8998-rpmpd >> - qcom,qcm2290-rpmpd >> - qcom,qcs404-rpmpd >> + - qcom,qcs8300-rpmhpd >> - qcom,qdu1000-rpmhpd >> - qcom,qm215-rpmpd >> - qcom,sa8155p-rpmhpd >> diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h >> index 608087fb9a3d..7dd7b9ebc480 100644 >> --- a/include/dt-bindings/power/qcom-rpmpd.h >> +++ b/include/dt-bindings/power/qcom-rpmpd.h >> @@ -4,6 +4,25 @@ >> #ifndef _DT_BINDINGS_POWER_QCOM_RPMPD_H >> #define _DT_BINDINGS_POWER_QCOM_RPMPD_H >> >> +/* QCS8300 Power Domain Indexes */ >> +#define QCS8300_CX 0 >> +#define QCS8300_CX_AO 1 >> +#define QCS8300_DDR 2 >> +#define QCS8300_EBI 3 >> +#define QCS8300_GFX 4 >> +#define QCS8300_LCX 5 >> +#define QCS8300_LMX 6 >> +#define QCS8300_MMCX 7 >> +#define QCS8300_MMCX_AO 8 >> +#define QCS8300_MSS 9 >> +#define QCS8300_MX 10 >> +#define QCS8300_MX_AO 11 >> +#define QCS8300_MXC 12 >> +#define QCS8300_MXC_AO 13 >> +#define QCS8300_NSP0 14 >> +#define QCS8300_NSP1 15 >> +#define QCS8300_XO 16 > > Some time ago we moved RPM*h*pd to common defines.. we should > definitely do the same here. Please reuse the RPMPD_xxx definitions > from [1] and credit Rohit in the commit message, as he did some > processing on that to make sure they're ordered based on usage Oh no, this is actually rpmhpd... drop this patch and use RPMHPD_x from include/dt-bindings/power/qcom,rpmhpd.h Konrad