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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7CCAC00528 for ; Wed, 2 Aug 2023 13:18:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233971AbjHBNSL (ORCPT ); Wed, 2 Aug 2023 09:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234080AbjHBNR6 (ORCPT ); Wed, 2 Aug 2023 09:17:58 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8986A8F; Wed, 2 Aug 2023 06:17:57 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3724SKLC011341; Wed, 2 Aug 2023 13:17:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=YQwFtflFU+gtRANzzMchYbTOVPe2ZX8ckXXE1WTcnng=; b=loZXFRJSVC8nz5EWpTG3c4kTCNbJ0wyW2UBjjkmAlYkT8/9pKlPTrq3zfgICmux4F8M0 s4W0GjVAiY/KGViN95mix9XuDp7/2xPVz2DJWlIr/+dzePnaJJlMyLNLRuzGX/de6JrE C4/20B8l62CBQiBDlHxmfu1jwyDC+B2iK30DVDRW+/SE0RWO57XDiTN9Qp4IXa2KAfBF Z9zSN89CE1QVsZXKOkt/ZxUc2fwGZx39ViudDVXcqvL+5FdDAMvKSVRLiBOhRqs5H1RO YVt/i4ILtImUQmrvmjvbLTNpf0m+qBYQ01MXyYk2puV2ks3hafdr56aop6PZ4QOEFZgN og== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s75b32fjb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 13:17:54 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 372DHrGd016898 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Aug 2023 13:17:53 GMT Received: from [10.214.66.58] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 2 Aug 2023 06:17:50 -0700 Message-ID: <92232e94-7a32-bd59-1016-877758441c8c@quicinc.com> Date: Wed, 2 Aug 2023 18:47:47 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH 7/8] arm64: dts: qcom: sdx75: Add rpmhpd node Content-Language: en-US To: Konrad Dybcio , , , , , CC: , , References: <1690970366-30982-1-git-send-email-quic_rohiagar@quicinc.com> <1690970366-30982-8-git-send-email-quic_rohiagar@quicinc.com> <67ec1707-5cad-fa9f-e700-d47376be1fef@linaro.org> From: Rohit Agarwal In-Reply-To: <67ec1707-5cad-fa9f-e700-d47376be1fef@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 0Pl4DfeqBkLS7mNm8xJ9h6XBkd7F4NbA X-Proofpoint-ORIG-GUID: 0Pl4DfeqBkLS7mNm8xJ9h6XBkd7F4NbA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_09,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 mlxlogscore=850 bulkscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020118 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/2/2023 6:18 PM, Konrad Dybcio wrote: > On 2.08.2023 11:59, Rohit Agarwal wrote: >> Add rpmhpd node and opps for this node to the SDX75 dts. >> >> Signed-off-by: Rohit Agarwal >> --- >> arch/arm64/boot/dts/qcom/sdx75.dtsi | 51 +++++++++++++++++++++++++++++++++++++ >> 1 file changed, 51 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi >> index 5e9602cd..3a1d37a 100644 >> --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi >> @@ -9,6 +9,7 @@ >> #include >> #include >> #include >> +#include >> #include >> >> / { >> @@ -666,6 +667,56 @@ >> clock-names = "xo"; >> #clock-cells = <1>; >> }; >> + >> + rpmhpd: power-controller { >> + compatible = "qcom,sdx75-rpmhpd"; >> + #power-domain-cells = <1>; >> + operating-points-v2 = <&rpmhpd_opp_table>; >> + >> + rpmhpd_opp_table: opp-table { >> + compatible = "operating-points-v2"; >> + >> + rpmhpd_opp_ret: opp1 { > Please use opp-(value-of-opp-level) here, we've hit a few cases > where introducing levels inbetween was necessary and this would > limit the diff if that was the case again, so opp-16 etc. Will update this as well Thanks, Rohit. > > Konrad