From nobody Fri Jul 24 05:23:54 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 265D93515EE; Thu, 23 Jul 2026 14:54:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784818500; cv=none; b=j5ov0Uh94kGSyVw7WPg9eVehyw9FyKCVPARPNJQaX9paYoTgX/J11Y8NXo+xE1zF7nuBX++I6wpiUwx3/vuRzjVuk8XBTup10JfUBGpPKz0hL0xWiBDSc+3wIycDMJtPvWsFmPfeNDYg36sc/6bso0LzHYt51JS3p/TLcdi6nYQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784818500; c=relaxed/simple; bh=nMUYGZpaXyhjmpdHbYasVJteunM+yLVa2mhegOepmm4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Itt3JMQNeNHdKt/Vjov+WieaBNdApqXhm//0xJtOaP/7D3+8YKwRatKJpsgNwWgJmF/FwV55LoY60OEikWjj2ibCV/Irozsbu/rFUMwUFFT03eQFF4KkEEKNPqY3lzXqZ3tEWlYSm2bNUgXkXOuQh7voxuJqDRktm2MJJBla6Y0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SEzC6xTH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SEzC6xTH" Received: by smtp.kernel.org (Postfix) with ESMTPS id B3274C2BCC9; Thu, 23 Jul 2026 14:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784818499; bh=nMUYGZpaXyhjmpdHbYasVJteunM+yLVa2mhegOepmm4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=SEzC6xTHmLgi4o5ln2tTUr2C6fmfyJqSYGhlbClJwmCrka9tdjWbe8S4dmMFAOdBw cyaPaIA6KtRn1IjJYSO+q5mjVunWCSqI/syM983SywzrD9XTmRDdzpQWFtOUDt8PW1 lTLY5ivy4AEkWyzCXHAZuXxh03OHOXfj/43gem9AWZJBKcOSE3AWXK6xkDZP2v4KV7 r5dx17upfE2vZt7S/bV15l+Jh/vAGDDnlz4CRp3VM82lQ3rYdptHkygN1vAmnfrcfQ 5uoNWdxr+3320nkaZEiSMb6SqNtKyAsHliRT6jq99Q8yOX7c4ZhLXdcPdnKoVPsw0v LyreKndDfk0OQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9277FC531F7; Thu, 23 Jul 2026 14:54:59 +0000 (UTC) From: Esteban Urrutia via B4 Relay Date: Thu, 23 Jul 2026 10:53:52 -0400 Subject: [PATCH 1/2] regulator: dt-bindings: qcom,rpmh: Add support for PM8350B Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260723-pm8350b-ldo-v1-1-42b5428a0d3f@proton.me> References: <20260723-pm8350b-ldo-v1-0-42b5428a0d3f@proton.me> In-Reply-To: <20260723-pm8350b-ldo-v1-0-42b5428a0d3f@proton.me> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Esteban Urrutia X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784818498; l=1661; i=esteuwu@proton.me; s=20260622; h=from:subject:message-id; bh=LdzXIMsptuIjQd8m41gLdX8Sp15lL0imXwUrErODm0o=; b=g2TsnYFqdpkODkHzPse5iQVKHcMZ7aNZ6Yw3ZOEWvHECg0X24SITN3F9+PSkAUfiNZ59PYlXN 4fl72+kxXr6B74kdTAOz00IkynKSaop/83cD0MjiuvUAuv4U9Kk9VJB X-Developer-Key: i=esteuwu@proton.me; a=ed25519; pk=wToFt4mOAWkzbqb15Ye1hrhevI13vK9BcMUFiQ/me1M= X-Endpoint-Received: by B4 Relay for esteuwu@proton.me/20260622 with auth_id=835 X-Original-From: Esteban Urrutia Reply-To: esteuwu@proton.me From: Esteban Urrutia The PM8350B has only one LDO, which gets its power from a dedicated input. Add support for it. Signed-off-by: Esteban Urrutia --- .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 11 +++++++= ++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulato= r.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.ya= ml index d93594304651..eed2ce7fa861 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml @@ -47,6 +47,7 @@ description: | For PM8150, smps1 - smps10, ldo1 - ldo18 For PM8150L, smps1 - smps8, ldo1 - ldo11, bob, flash, rgb For PM8350, smps1 - smps12, ldo1 - ldo10 + For PM8350B, ldo1 For PM8350C, smps1 - smps10, ldo1 - ldo13, bob For PM8450, smps1 - smps6, ldo1 - ldo4 For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2 @@ -82,6 +83,7 @@ properties: - qcom,pm8150-rpmh-regulators - qcom,pm8150l-rpmh-regulators - qcom,pm8350-rpmh-regulators + - qcom,pm8350b-rpmh-regulators - qcom,pm8350c-rpmh-regulators - qcom,pm8450-rpmh-regulators - qcom,pm8550-rpmh-regulators @@ -337,6 +339,15 @@ allOf: patternProperties: "^vdd-s([1-9]|1[0-2])-supply$": true =20 + - if: + properties: + compatible: + enum: + - qcom,pm8350b-rpmh-regulators + then: + properties: + vdd-l1-supply: true + - if: properties: compatible: --=20 2.55.0 From nobody Fri Jul 24 05:23:54 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 265373403FA; Thu, 23 Jul 2026 14:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784818500; cv=none; b=FwmjKDL1vcRkl3R1QHRI1Da6vLDHWWOX0fXTpGDs7kD2IHtvGoREU5em2athrtk0VkC0KxOQYw4Lrz4RN/aa78PDL4BCs7xKrU1o79Z/AigSGJtfiDfUHKVMnc/+TeWW23GCczRDEOg4ZJKITl/TLPgpHMWn/pCHx3feyi6MMTk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784818500; c=relaxed/simple; bh=QEAV4U59CqCRV1e+1Daz1vRxOx3T7ZWxXiaETPt8+e0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=X5wP+uZdyeelkGWXSRtL1F3moTTNrD5sMzYei+4Ol0JOX67cVkJuNglO/UcA/2DuGgJqwvH2olkmZevJZfrab5aUdNVt9V/L7jO4Io1JLHaCShxFBTfaA1uZu6McJy6G6Por4dgjafTd4ygvNss3CGdVde7X01pcblOB4G+mMWc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i3q3kr/y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i3q3kr/y" Received: by smtp.kernel.org (Postfix) with ESMTPS id C3126C2BCC6; Thu, 23 Jul 2026 14:54:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1784818499; bh=QEAV4U59CqCRV1e+1Daz1vRxOx3T7ZWxXiaETPt8+e0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=i3q3kr/yawq5rzDWsFjvtAPd6lqyJQj6C0+nK2s7tm+SWKG9sThthsKPdA9YmG6J5 mhpqCEkJ5Pfoz0DzxoZ0q7dmY/aPTA5A1+dUNMf6DIhz4oaSn0wWijoohyqgyqgH/Q 0B7eZjjx5Iv4PkBBCpoKSJAbu7v46l0sKeiF/+JBk8qspWV6IWscJhdQCc1fhSflIC HwhbTIn7ZFFW5EzUTP9qdDV/rpvVvXq8tvhWSR//VlB3SCHQRNhE3bQD4KIDlFkAp4 vYFrSHJKv234I4uHQcTCnrw14md/3xUT3eqMTRF7/hhaRc1NZb6XEFFACc39/G80BR Et6K5+3pnMgBA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2118C531F8; Thu, 23 Jul 2026 14:54:59 +0000 (UTC) From: Esteban Urrutia via B4 Relay Date: Thu, 23 Jul 2026 10:53:53 -0400 Subject: [PATCH 2/2] regulator: qcom-rpmh: Add support for PM8350B Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260723-pm8350b-ldo-v1-2-42b5428a0d3f@proton.me> References: <20260723-pm8350b-ldo-v1-0-42b5428a0d3f@proton.me> In-Reply-To: <20260723-pm8350b-ldo-v1-0-42b5428a0d3f@proton.me> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, Esteban Urrutia X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784818498; l=1295; i=esteuwu@proton.me; s=20260622; h=from:subject:message-id; bh=WpvVHbr3AbWbUS/FGPBN8RtA2Y0Nr6DvrP+keHwhmM0=; b=ajbmyhj5jTzUeAPR+4eB5vPOg9F0Hk8ryp98ysevM7AolBSOvkKyxscMCBksotyWgCsF5fTd7 eV2f7+Dp7ydAYWzcclbkX8U/PKxqSKnAyHGnCSyE3TZaJcvHOxAB+SH X-Developer-Key: i=esteuwu@proton.me; a=ed25519; pk=wToFt4mOAWkzbqb15Ye1hrhevI13vK9BcMUFiQ/me1M= X-Endpoint-Received: by B4 Relay for esteuwu@proton.me/20260622 with auth_id=835 X-Original-From: Esteban Urrutia Reply-To: esteuwu@proton.me From: Esteban Urrutia The PM8350B has only one LDO, which gets its power from a dedicated input. Add support for it. Signed-off-by: Esteban Urrutia --- drivers/regulator/qcom-rpmh-regulator.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qc= om-rpmh-regulator.c index 756a4201225e..73856e3df337 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1269,6 +1269,11 @@ static const struct rpmh_vreg_init_data pm8350_vreg_= data[] =3D { {} }; =20 +static const struct rpmh_vreg_init_data pm8350b_vreg_data[] =3D { + RPMH_VREG("ldo1", LDO, 1, &pmic5_nldo, "vdd-l1"), + {} +}; + static const struct rpmh_vreg_init_data pm8350c_vreg_data[] =3D { RPMH_VREG("smps1", SMPS, 1, &pmic5_hfsmps515, "vdd-s1"), RPMH_VREG("smps2", SMPS, 2, &pmic5_ftsmps510, "vdd-s2"), @@ -1868,6 +1873,10 @@ static const struct of_device_id __maybe_unused rpmh= _regulator_match_table[] =3D { .compatible =3D "qcom,pm8350-rpmh-regulators", .data =3D pm8350_vreg_data, }, + { + .compatible =3D "qcom,pm8350b-rpmh-regulators", + .data =3D pm8350b_vreg_data, + }, { .compatible =3D "qcom,pm8350c-rpmh-regulators", .data =3D pm8350c_vreg_data, --=20 2.55.0