From patchwork Wed Oct 25 13:55:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 158107 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2617935vqx; Wed, 25 Oct 2023 06:57:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGozV1FgpIEqwCI9DI/D7FEO8fQNSOWw6H6kSOgP+ZirUPWdHqvtS39qFbqkYYhUPba0rbQ X-Received: by 2002:a81:4ac2:0:b0:59b:e449:2d51 with SMTP id x185-20020a814ac2000000b0059be4492d51mr16584047ywa.49.1698242238284; Wed, 25 Oct 2023 06:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242238; cv=none; d=google.com; s=arc-20160816; b=mi4Ji/cGl1H12NuUgpX/u2bI2quaye7LL7qNhI4I/1h0c/TQNfEqNpqXGrMUqoXMHC aBhXx62WH5/AzQw2lS/N6fTc5oxO3fKQRAAEIaXz2qb2nQd7KZSqOpBteHNaxW5hlyZ1 4bgBq2RohqQZJunOkgkTJBGBYpE+LtZV/mmwBm7e6rXWGsbUaIyfvQSNa6Zux893y0JZ vyNRyP4I/zYpYbBrA8DOwsgbd0rotROdJQAIS7cX0/plKrn2M0wLd6SEO/SU7564WnDQ oEmfdAAjUrLiycc3d6D51K8UKWrBWQRHRVMw0g66APjgf3HKqLOUb3iH8QliBhxBkVf+ kk5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YNYMvM3/gNlOzXUsHVJc7msxabi4A33w1FZ4xoX2UOY=; fh=Blos9Lu2UTa8Bf1rSh0efMhWEWkCbQrb+1uekW+/mUk=; b=kzIr6XY+VtC1xyOcaxoCIY0JtyWzAusjq08TKNbXQSSFwFRGsrXD/Ij6uxDnR4zt2P D6crY2QZtntjBf0AEfEze5etC1AvAlZssDMrgitnTAfDKQ3J8hm0IonbWfSJ08d5iftx zZ9T1Sm4wKAo7iUeDunYsgY53gvf71JRa1nklonuqWffrx/RKxhduaz04yuzhmRn40gA v6LAEa048D6DjiUkwtc3hiD3AwJwht9uugB3FKFEi5I3csjYoY7jUTRgN+FmOqMaFiAd GjBnfyG/f9zJIHbpl14HVeyeWuV6loFv+OTCB5d0Fb82IBJqxYBebLGVCD5qA7ZQBtDH zf7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ChAAiXaE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n19-20020a819c53000000b005a7fa6431ccsi10954540ywa.178.2023.10.25.06.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:57:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ChAAiXaE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 735D4802D365; Wed, 25 Oct 2023 06:57:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343986AbjJYN43 (ORCPT + 26 others); Wed, 25 Oct 2023 09:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234762AbjJYN40 (ORCPT ); Wed, 25 Oct 2023 09:56:26 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50A83133; Wed, 25 Oct 2023 06:56:21 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39PCw2IA019358; Wed, 25 Oct 2023 13:56:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=YNYMvM3/gNlOzXUsHVJc7msxabi4A33w1FZ4xoX2UOY=; b=ChAAiXaED3eOWCJJ3WT/4be4UFKDBsq5oIO7xCpTrDY7VobpLCfDx7j2gTCUWpqPr+RI K9W6FC8nH8nNnI5osUPMKh/SERhSvtREK1IFLSlANYMZcLE1MTkkV0GDqrIIK41FBwDf KnxvSLL35HZY7B3ITaoo86xxjNzV0HWO0dQ1jtjlS2+aRMDH/qvm83+cXP2zJ4OEFky6 g6idYIQ0UuEVv0ncevHmQE5vpj186xUu1+q20fPDPHDBC/XIsh4L/HYLVurrXKzPN//z gx1TOqoVGllfXDb9IV4DsyToGS++GPQW1wps4EYU8HDe81pXbdqgc4rwAutvosM+g/BW Uw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tx7r83sr5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 13:56:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39PDuHeN022628 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 13:56:17 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (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.39; Wed, 25 Oct 2023 06:56:11 -0700 From: Sibi Sankar To: , , , , , CC: , , , , , , , , , Sibi Sankar Subject: [PATCH 1/2] dt-bindings: regulator: qcom,rpmh: Add PMC8380 compatible Date: Wed, 25 Oct 2023 19:25:49 +0530 Message-ID: <20231025135550.13162-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025135550.13162-1-quic_sibis@quicinc.com> References: <20231025135550.13162-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: -CSpPTiwsMaR-X7X50PWDHwPGaevAoIk X-Proofpoint-GUID: -CSpPTiwsMaR-X7X50PWDHwPGaevAoIk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_03,2023-10-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=994 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250120 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 06:57:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736053091153237 X-GMAIL-MSGID: 1780736053091153237 From: Rajendra Nayak Add PMC8380 compatibles for PMIC found in SC8380XP platform. Signed-off-by: Rajendra Nayak Signed-off-by: Sibi Sankar Reviewed-by: Krzysztof Kozlowski --- .../bindings/regulator/qcom,rpmh-regulator.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml index 127a6f39b7f0..acd37f28ef53 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -50,6 +50,7 @@ description: | For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2 For PM8998, smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2 For PMI8998, bob + For PMC8380, smps1 - smps8, ldo1 - lodo3 For PMR735A, smps1 - smps3, ldo1 - ldo7 For PMX55, smps1 - smps7, ldo1 - ldo16 For PMX65, smps1 - smps8, ldo1 - ldo21 @@ -78,6 +79,7 @@ properties: - qcom,pm8998-rpmh-regulators - qcom,pmc8180-rpmh-regulators - qcom,pmc8180c-rpmh-regulators + - qcom,pmc8380-rpmh-regulators - qcom,pmg1110-rpmh-regulators - qcom,pmi8998-rpmh-regulators - qcom,pmm8155au-rpmh-regulators @@ -364,6 +366,16 @@ allOf: patternProperties: "^vdd-s([1-9]|1[0-3])-supply$": true + - if: + properties: + compatible: + enum: + - qcom,pmc8380-rpmh-regulators + then: + patternProperties: + "^vdd-l[1-3]-supply$": true + "^vdd-s[1-8]-supply$": true + - if: properties: compatible: From patchwork Wed Oct 25 13:55:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 158106 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2617759vqx; Wed, 25 Oct 2023 06:57:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAsFLZzG2mUgM3eV/5tiPVSGevK8/6CrEMnSrIx7MVFh2r9DsmI5wneZyjBAUiT+rnGiQw X-Received: by 2002:a05:690c:f82:b0:5a7:dad3:cd21 with SMTP id df2-20020a05690c0f8200b005a7dad3cd21mr18995805ywb.10.1698242220803; Wed, 25 Oct 2023 06:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698242220; cv=none; d=google.com; s=arc-20160816; b=l9xJlsXlBXm8t2SNa9CrkXBTkYWBx/DOqDpt0D7XpTpzWiDC4LC9z6XEMgJ1FTD1Gs xSrL3hWU81cYtSByjyD70faIei3T2WANhu4mR32PRqoUyPmqfjM6gPk97q1KJNV374bs zzb6hKOEEzq9Pehp2ZIEFigP2UWKw7bLg/urt5Oer5eZ8KmCzmEtXsNbuF429/sn8n/E E2A2XbqkNxLu8fCJe6kvV4OQe2QuzDVt9ORs69x0QBPBKXFVM6KtIwQezWzxhgQla/v6 tCIlIt2xr67BiHIJAt29IHlicwo/vPVz/YzBJZeXdw1nv7D+3V09nt9r7rdc2E7J3Cuv XRnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=7WlSaupKP8hCNwhw+i+KB9b8miHYOGUUUaNwKGRNWCA=; fh=Blos9Lu2UTa8Bf1rSh0efMhWEWkCbQrb+1uekW+/mUk=; b=pRJud5W/ymVuseMqVaSYre61yhsABcmjilqXTq1J7wAeKKAln+T7K+KghklxoU4QNw SRmQCfPFc+sAPuZWIlTNL+8K9uwgm1URmypyP+okayWlOArTtTlLkQwBardj+yWbwJ8k r2RFnos+/nO04m52ggj4OJ/DsIbUS+v3DR3RZqkgHijRWD3qbIa2PiW5Mc/xrqDkyq7N UZhsyzfIuF8c3I14ZxuEGo6z+mulLr7YqPnx4S2lJiRWmh9z1JM/rXnuCfwkQruaA2aB ceMrZiAQ1LuEjpqonnW2K/UNtspSnDk8iF8wlqfdmYuq4RqSSpkeTiBhySc/AnhhFwdd CHMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bqvskq9W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id r18-20020a81c312000000b005a210c45124si10689118ywk.530.2023.10.25.06.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 06:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bqvskq9W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 72FBD801CED1; Wed, 25 Oct 2023 06:56:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344555AbjJYN4g (ORCPT + 26 others); Wed, 25 Oct 2023 09:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344429AbjJYN4a (ORCPT ); Wed, 25 Oct 2023 09:56:30 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 341FA138; Wed, 25 Oct 2023 06:56:27 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39PDHC7L019594; Wed, 25 Oct 2023 13:56:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=7WlSaupKP8hCNwhw+i+KB9b8miHYOGUUUaNwKGRNWCA=; b=bqvskq9WxCskrAzOuucLTVGbTBWdeQKSRW2MVR/DHMYPj7SGGqzgb0cDNA7bDuJ9YylC oSXS6b/xy6xjJiRFIZpK9QKLO3ue/ThLaNrjI/De485zkKeBX5A1Sh/Jj6rio27e6tfP HbYgKsmQPzX0S/0JNWPzNa6feaGiv+ZjgZjApHNa2ApBhSVFZLtbkcg965VvfPkt+1Ss 1M3dSnDMXXgKWi3elxnXqlp+Oh+pwHUJHq6TksFLG//5KWwX2QWbwa9Oueq2YMwyvMU4 0uqUlcSwnS5JsVmNOGZBA6e+NhV2UOaQrPAs7lNEKuBJmHTfzlfnKCQvbPfmYmhGe613 Xw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3txmhx9sm2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 13:56:23 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39PDuMlf006222 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 13:56:22 GMT Received: from blr-ubuntu-87.ap.qualcomm.com (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.39; Wed, 25 Oct 2023 06:56:17 -0700 From: Sibi Sankar To: , , , , , CC: , , , , , , , , , Sibi Sankar Subject: [PATCH 2/2] regulator: qcom-rpmh: Add regulators support for PMC8380 Date: Wed, 25 Oct 2023 19:25:50 +0530 Message-ID: <20231025135550.13162-3-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025135550.13162-1-quic_sibis@quicinc.com> References: <20231025135550.13162-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: hmmEcG3mI9ZiC2fp752UJEzzzmLUFkKT X-Proofpoint-GUID: hmmEcG3mI9ZiC2fp752UJEzzzmLUFkKT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_03,2023-10-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 impostorscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250120 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 25 Oct 2023 06:56:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780736034879806658 X-GMAIL-MSGID: 1780736034879806658 From: Rajendra Nayak Add support from RPMH regulators found in PMC8380 for SC8380XP platform. Signed-off-by: Rajendra Nayak Signed-off-by: Sibi Sankar Reviewed-by: Dmitry Baryshkov --- drivers/regulator/qcom-rpmh-regulator.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index b2e359ac3169..cf502eec0915 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1106,6 +1106,21 @@ static const struct rpmh_vreg_init_data pm8550ve_vreg_data[] = { {} }; +static const struct rpmh_vreg_init_data pmc8380_vreg_data[] = { + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps525_lv, "vdd-s1"), + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps525_lv, "vdd-s2"), + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps525_lv, "vdd-s3"), + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps525_mv, "vdd-s4"), + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps525_lv, "vdd-s5"), + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps525_lv, "vdd-s6"), + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps525_lv, "vdd-s7"), + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps525_lv, "vdd-s8"), + RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo515, "vdd-l1"), + RPMH_VREG("ldo2", "ldo%s2", &pmic5_nldo515, "vdd-l2"), + RPMH_VREG("ldo3", "ldo%s3", &pmic5_nldo515, "vdd-l3"), + {} +}; + static const struct rpmh_vreg_init_data pm8009_vreg_data[] = { RPMH_VREG("smps1", "smp%s1", &pmic5_hfsmps510, "vdd-s1"), RPMH_VREG("smps2", "smp%s2", &pmic5_hfsmps515, "vdd-s2"), @@ -1511,6 +1526,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = { .compatible = "qcom,pmc8180c-rpmh-regulators", .data = pm8150l_vreg_data, }, + { + .compatible = "qcom,pmc8380-rpmh-regulators", + .data = pmc8380_vreg_data, + }, { .compatible = "qcom,pmm8155au-rpmh-regulators", .data = pmm8155au_vreg_data,