Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7740678rwp; Tue, 18 Jul 2023 22:34:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlGMYr/bvxe0QS97hWmRCXU0iWBOTlTSGnkIMV7su2bG+0366/kHjNNmAu+jM0sKkgcjYEfH X-Received: by 2002:a17:903:124d:b0:1b8:9cf2:35b0 with SMTP id u13-20020a170903124d00b001b89cf235b0mr1765705plh.41.1689744872130; Tue, 18 Jul 2023 22:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689744872; cv=none; d=google.com; s=arc-20160816; b=I+I9+OiMx2VUO8ViBR6a2FxIArGikO8A0RA8c/ZW1zMrbyhKhg1OHdf+BwOSTcpjtU JJh0ZQ1UAXn24Fc0WL/lCGiQ6T7RE3a13qqP1TXamPAiKVJDMdehYiBN6ePcA2LPCz2T C3DK5xoeXv3D7DhSZSjjcWU7gbYV0F8fQZ0a/M018RCxGcK4eDnTbWwrPsZe0sEPHnKo AOx9hoQQLVEKgK1yP1tRFL3lTvsFlXuwwa6rMo6FKYWeELh6xgtswQbyyML2ZCOIUhQA HED+HOgb9zmOTrJovHWvIDDiOitCwjkQMPSnCZ1ZqW1p2soP4Eq5HJA+EI2vqVe+dpOV AvlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=9sdma6h/PNEEnVYANsAJDM7osuVLGkzVAlBbfHfhmIM=; fh=kDXaRzljwGaQ36uqjz2o6QpvnAwju2vn5jjddbj+zrQ=; b=sYvBM+bqcp+Z0bw0ZaRwQYYP351Y3ozxICKycx+s1q0XguxfOf5nsuUhbH+cguRR1f 2XvYtYM/FHxi6fDFgEe0rIUIkZv21/nsEuwTuRBK3k4uybDrbvVLNLtPBoavrGiVo8zh efmhpj8L1pWlmcbuG0dK2GkQqvtgwKXi/4JiEGTieZphK190maIdCba1ad5Dw2cgDIYD QHlTigvKTlBM4TWEQFCAn7bcAy+Mrjv0n6Fn4UxWl6n0JEWFubOd5OAe6PNkZHTBOwHO AQG2KnshHcFaETLUBjRHNxzp02rZ7IM4eXDTzwK8E7S2ecVuNnEL7RU7/hzR2vTPQxMn /WHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mLbBny+x; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lf12-20020a170902fb4c00b001b9e922ca36si2672448plb.520.2023.07.18.22.34.19; Tue, 18 Jul 2023 22:34:32 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=mLbBny+x; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230159AbjGSFXF (ORCPT + 99 others); Wed, 19 Jul 2023 01:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbjGSFWx (ORCPT ); Wed, 19 Jul 2023 01:22:53 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FE23D2; Tue, 18 Jul 2023 22:22:51 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J4ktQ9012458; Wed, 19 Jul 2023 05:22:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id; s=qcppdkim1; bh=9sdma6h/PNEEnVYANsAJDM7osuVLGkzVAlBbfHfhmIM=; b=mLbBny+xGyi9wz7iD0sFMQwlkccDX05UAIyuexphYI7obP0epjFdflwRoSixnKRjcMIj weuk01RU1vJH6XuBhKbvcJCpFD5wfsWJZFNoaDeMxK6csf0E4yMVH+yOVXwri+y91kLE 2mPcn8HY8LkEr4HmIegeiYao2HGHeOF8PwDcIc4TtNEr/zxovdT443Sz7gC8mf5a55QP WrO6zwHozMJejb/bmAHnRgQRLTVP2q26qD9ez9y9PWZM6h0pmUvJLlNegIc/lGZxZabF s/vDi9iZqEXfVRnC3hEIPhUeDJElCj1aMMCWAl0Ml9Is/taAaPptU9UzWP4qzdPzjaV4 9Q== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rwxkns4fm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 05:22:47 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 36J5Mixh004733; Wed, 19 Jul 2023 05:22:44 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3rumhm1bc4-1; Wed, 19 Jul 2023 05:22:44 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 36J5Mi7d004723; Wed, 19 Jul 2023 05:22:44 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 36J5MiOG004720; Wed, 19 Jul 2023 05:22:44 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 4E32DD96; Wed, 19 Jul 2023 10:52:43 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Rohit Agarwal Subject: [PATCH 0/2] Introduce new generic bindings for RPMHPD Date: Wed, 19 Jul 2023 10:52:40 +0530 Message-Id: <1689744162-9421-1-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 3gp-J0P94HE2AuGJsUcWgQMu40xZePOb X-Proofpoint-GUID: 3gp-J0P94HE2AuGJsUcWgQMu40xZePOb 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-07-19_02,2023-07-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 spamscore=0 malwarescore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=369 suspectscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190049 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 Hi, This series introduces a new generic bindings for Qualcomm SoCs to be used instead of creating new SoC specific bindings each time. The order of the bindings is kept according to the order in Qualcomm SoC like SM8[2345]50 so that it can be reused in these SoC without breaking the ABI. This was suggested as per the discussions in [1]. I will create a followup series of DT updates according to the new bindings. Separating this series from the original [1] since this involves refactoring and no new support addition. [1] https://lore.kernel.org/all/1689054169-10800-1-git-send-email-quic_rohiagar@quicinc.com/ Thanks, Rohit. Rohit Agarwal (2): dt-bindings: power: qcom,rpmhpd: Add Generic RPMh PD indexes soc: qcom: rpmhpd: Use the newly created generic RPMHPD bindings drivers/soc/qcom/rpmhpd.c | 101 ++++++++++++++++---------------- include/dt-bindings/power/qcom,rpmhpd.h | 30 ++++++++++ 2 files changed, 81 insertions(+), 50 deletions(-) create mode 100644 include/dt-bindings/power/qcom,rpmhpd.h -- 2.7.4