* [PATCH v5 0/2] monaco: Add PMM8654AU PON support
@ 2026-07-13 11:58 Rakesh Kota
2026-07-13 11:58 ` [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU Rakesh Kota
2026-07-13 11:58 ` [PATCH v5 2/2] arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs Rakesh Kota
0 siblings, 2 replies; 5+ messages in thread
From: Rakesh Kota @ 2026-07-13 11:58 UTC (permalink / raw)
To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul, Bjorn Andersson, Konrad Dybcio
Cc: linux-pm, devicetree, linux-kernel, linux-arm-msm, Rakesh Kota,
Kamal Wadhwa, Jishnu Prakash, Dmitry Baryshkov, Konrad Dybcio
This patch series updates the PON power and reset dt-bindings and
device tree to add support for PON power and reset keys on the
Monaco platform.
Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
---
Changes in v5:
- Set minItems: 2 for reg in the PMK8350 if/then block to enforce that both hlos
and pbs address spaces are required for GEN3 PON peripherals.
- Link to v4: https://lore.kernel.org/r/20260323-b4-add_pwrkey_and_resin-v4-0-abef4e4dcc3d@oss.qualcomm.com
Changes in v4:
- Remove the contain for PMK8350 and new if:then for PMM8654AU as suggested by Krzysztof Kozlowski
- Link to v3: https://lore.kernel.org/r/20260227-b4-add_pwrkey_and_resin-v3-0-61c5bb2cdda9@oss.qualcomm.com
Changes in v3:
- Drop the dt-bindings of PMM8654AU qcom,pm8941-pwrkey as this
patch was picked - https://lore.kernel.org/all/20260209-add_pwrkey_and_resin-v2-2-f944d87b9a93@oss.qualcomm.com
- Update Commit message and disable the resin as suggested by Konrad Dybcio
- Link to v2: https://lore.kernel.org/r/20260209-add_pwrkey_and_resin-v2-0-f944d87b9a93@oss.qualcomm.com
Changes in v2:
- Introduces PMM8654AU compatible strings as suggested by Konrad Dybcio.
- Link to v1: https://lore.kernel.org/all/20260122-add_pwrkey_and_resin-v1-1-a9fe87537816@oss.qualcomm.com
---
Rakesh Kota (2):
dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU
arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs
.../devicetree/bindings/power/reset/qcom,pon.yaml | 19 +++++++++++--------
arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 20 ++++++++++++++++++++
2 files changed, 31 insertions(+), 8 deletions(-)
---
base-commit: bee763d5f341b99cf472afeb508d4988f62a6ca1
change-id: 20260226-b4-add_pwrkey_and_resin-2c04d8d53f5d
Best regards,
--
Rakesh Kota <rakesh.kota@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU
2026-07-13 11:58 [PATCH v5 0/2] monaco: Add PMM8654AU PON support Rakesh Kota
@ 2026-07-13 11:58 ` Rakesh Kota
2026-07-21 6:53 ` Krzysztof Kozlowski
2026-07-13 11:58 ` [PATCH v5 2/2] arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs Rakesh Kota
1 sibling, 1 reply; 5+ messages in thread
From: Rakesh Kota @ 2026-07-13 11:58 UTC (permalink / raw)
To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul, Bjorn Andersson, Konrad Dybcio
Cc: linux-pm, devicetree, linux-kernel, linux-arm-msm, Rakesh Kota,
Kamal Wadhwa, Jishnu Prakash, Dmitry Baryshkov
PMM8654AU is a distinct PMIC variant from PMM8650AU despite sharing the
same PMIC subtype. PMM8654AU implements additional registers added to
the "hlos" register address spaces, so add qcom,pmm8654au-pon as a
fallback to qcom,pmk8350-pon to distinguish it from the baseline
PMK8350 PON implementation.
The GEN3 PON peripheral requires two register address spaces: "hlos"
for the primary PON block and "pbs" for the address needs to be
specified to facilitate software debouncing. Set minItems: 2 for reg
in the qcom,pmk8350-pon if/then constraint to enforce that both
address spaces are always present.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
---
Changes in v5:
- Set minItems: 2 for reg in the PMK8350 if/then block to enforce that
both hlos and pbs address spaces are required for GEN3 PON peripherals.
Changes in v4:
- Remove the contain for PMK8350 and new if:then for PMM8654AU as
suggested by Krzysztof Kozlowski
Changes in v3:
- Update the commit message.
Changes in v2:
- Introduces PMM8654AU compatible strings as suggested by Konrad Dybcio.
---
.../devicetree/bindings/power/reset/qcom,pon.yaml | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
index 979a377cb4ffd577bfa51b9a3cd089acc202de0c..09eea48c709e5e42c45c1949ee1d06298dea1f91 100644
--- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
+++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
@@ -17,12 +17,16 @@ description: |
properties:
compatible:
- enum:
- - qcom,pm8916-pon
- - qcom,pm8941-pon
- - qcom,pms405-pon
- - qcom,pm8998-pon
- - qcom,pmk8350-pon
+ oneOf:
+ - enum:
+ - qcom,pm8916-pon
+ - qcom,pm8941-pon
+ - qcom,pms405-pon
+ - qcom,pm8998-pon
+ - qcom,pmk8350-pon
+ - items:
+ - const: qcom,pmm8654au-pon
+ - const: qcom,pmk8350-pon
reg:
description: |
@@ -105,10 +109,9 @@ allOf:
then:
properties:
reg:
- minItems: 1
+ minItems: 2
maxItems: 2
reg-names:
- minItems: 1
items:
- const: hlos
- const: pbs
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v5 2/2] arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs
2026-07-13 11:58 [PATCH v5 0/2] monaco: Add PMM8654AU PON support Rakesh Kota
2026-07-13 11:58 ` [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU Rakesh Kota
@ 2026-07-13 11:58 ` Rakesh Kota
1 sibling, 0 replies; 5+ messages in thread
From: Rakesh Kota @ 2026-07-13 11:58 UTC (permalink / raw)
To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul, Bjorn Andersson, Konrad Dybcio
Cc: linux-pm, devicetree, linux-kernel, linux-arm-msm, Rakesh Kota,
Kamal Wadhwa, Jishnu Prakash, Konrad Dybcio
Add the Power On (PON) peripheral with power key and reset input
support for the PMM8654AU PMIC on Monaco platforms.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
---
Changes in v3:
- Disable the resin as suggested by the Konrad.
Changes in v2:
- Add new PMM8654AU compatible strings as suggested by the Konrad.
---
arch/arm64/boot/dts/qcom/monaco-pmics.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi b/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi
index e990d7367719beaa9e0cea87d9c183ae18c3ebc8..af4c38309efae89479f9a11fcb970a4c18f03a91 100644
--- a/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi
+++ b/arch/arm64/boot/dts/qcom/monaco-pmics.dtsi
@@ -13,6 +13,26 @@ pmm8620au_0: pmic@0 {
#address-cells = <1>;
#size-cells = <0>;
+ pmm8654au_0_pon: pon@1200 {
+ compatible = "qcom,pmm8654au-pon", "qcom,pmk8350-pon";
+ reg = <0x1200>, <0x800>;
+ reg-names = "hlos", "pbs";
+
+ pmm8654au_0_pon_pwrkey: pwrkey {
+ compatible = "qcom,pmm8654au-pwrkey", "qcom,pmk8350-pwrkey";
+ interrupts-extended = <&spmi_bus 0x0 0x12 0x7 IRQ_TYPE_EDGE_BOTH>;
+ linux,code = <KEY_POWER>;
+ debounce = <15625>;
+ };
+
+ pmm8654au_0_pon_resin: resin {
+ compatible = "qcom,pmm8654au-resin", "qcom,pmk8350-resin";
+ interrupts-extended = <&spmi_bus 0x0 0x12 0x6 IRQ_TYPE_EDGE_BOTH>;
+ debounce = <15625>;
+ status = "disabled";
+ };
+ };
+
pmm8620au_0_rtc: rtc@6100 {
compatible = "qcom,pmk8350-rtc";
reg = <0x6100>, <0x6200>;
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU
2026-07-13 11:58 ` [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU Rakesh Kota
@ 2026-07-21 6:53 ` Krzysztof Kozlowski
2026-07-22 11:00 ` Rakesh Kota
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-07-21 6:53 UTC (permalink / raw)
To: Rakesh Kota
Cc: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul, Bjorn Andersson, Konrad Dybcio, linux-pm, devicetree,
linux-kernel, linux-arm-msm, Kamal Wadhwa, Jishnu Prakash,
Dmitry Baryshkov
On Mon, Jul 13, 2026 at 05:28:14PM +0530, Rakesh Kota wrote:
> PMM8654AU is a distinct PMIC variant from PMM8650AU despite sharing the
> same PMIC subtype. PMM8654AU implements additional registers added to
> the "hlos" register address spaces, so add qcom,pmm8654au-pon as a
> fallback to qcom,pmk8350-pon to distinguish it from the baseline
> PMK8350 PON implementation.
>
> The GEN3 PON peripheral requires two register address spaces: "hlos"
What is gen3 pon here? It is the first time this appears in the commit
msg.
> for the primary PON block and "pbs" for the address needs to be
> specified to facilitate software debouncing. Set minItems: 2 for reg
> in the qcom,pmk8350-pon if/then constraint to enforce that both
> address spaces are always present.
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
> ---
> Changes in v5:
> - Set minItems: 2 for reg in the PMK8350 if/then block to enforce that
> both hlos and pbs address spaces are required for GEN3 PON peripherals.
>
> Changes in v4:
> - Remove the contain for PMK8350 and new if:then for PMM8654AU as
> suggested by Krzysztof Kozlowski
>
> Changes in v3:
> - Update the commit message.
>
> Changes in v2:
> - Introduces PMM8654AU compatible strings as suggested by Konrad Dybcio.
> ---
> .../devicetree/bindings/power/reset/qcom,pon.yaml | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> index 979a377cb4ffd577bfa51b9a3cd089acc202de0c..09eea48c709e5e42c45c1949ee1d06298dea1f91 100644
> --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> @@ -17,12 +17,16 @@ description: |
>
> properties:
> compatible:
> - enum:
> - - qcom,pm8916-pon
> - - qcom,pm8941-pon
> - - qcom,pms405-pon
> - - qcom,pm8998-pon
> - - qcom,pmk8350-pon
> + oneOf:
> + - enum:
> + - qcom,pm8916-pon
> + - qcom,pm8941-pon
> + - qcom,pms405-pon
> + - qcom,pm8998-pon
> + - qcom,pmk8350-pon
> + - items:
> + - const: qcom,pmm8654au-pon
> + - const: qcom,pmk8350-pon
>
> reg:
> description: |
> @@ -105,10 +109,9 @@ allOf:
> then:
> properties:
> reg:
> - minItems: 1
> + minItems: 2
You wrote that PMM8654AU has additional registers. This implies pmk8350
does not have them, so why are you changing this?
Also, that's an ABI break and I see no relation to the goal of adding
PMM8654AU. Don't combine independent works into one commit.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU
2026-07-21 6:53 ` Krzysztof Kozlowski
@ 2026-07-22 11:00 ` Rakesh Kota
0 siblings, 0 replies; 5+ messages in thread
From: Rakesh Kota @ 2026-07-22 11:00 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Vinod Koul, Bjorn Andersson, Konrad Dybcio, linux-pm, devicetree,
linux-kernel, linux-arm-msm, Kamal Wadhwa, Jishnu Prakash,
Dmitry Baryshkov
On Tue, Jul 21, 2026 at 08:53:16AM +0200, Krzysztof Kozlowski wrote:
> On Mon, Jul 13, 2026 at 05:28:14PM +0530, Rakesh Kota wrote:
> > PMM8654AU is a distinct PMIC variant from PMM8650AU despite sharing the
> > same PMIC subtype. PMM8654AU implements additional registers added to
> > the "hlos" register address spaces, so add qcom,pmm8654au-pon as a
> > fallback to qcom,pmk8350-pon to distinguish it from the baseline
> > PMK8350 PON implementation.
> >
> > The GEN3 PON peripheral requires two register address spaces: "hlos"
>
> What is gen3 pon here? It is the first time this appears in the commit
> msg.
>
GEN3 refers to the PON peripheral generation, as described in the reg
description in qcom,pon.yaml.
> > for the primary PON block and "pbs" for the address needs to be
> > specified to facilitate software debouncing. Set minItems: 2 for reg
> > in the qcom,pmk8350-pon if/then constraint to enforce that both
> > address spaces are always present.
> >
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> > Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
> > ---
> > Changes in v5:
> > - Set minItems: 2 for reg in the PMK8350 if/then block to enforce that
> > both hlos and pbs address spaces are required for GEN3 PON peripherals.
> >
> > Changes in v4:
> > - Remove the contain for PMK8350 and new if:then for PMM8654AU as
> > suggested by Krzysztof Kozlowski
> >
> > Changes in v3:
> > - Update the commit message.
> >
> > Changes in v2:
> > - Introduces PMM8654AU compatible strings as suggested by Konrad Dybcio.
> > ---
> > .../devicetree/bindings/power/reset/qcom,pon.yaml | 19 +++++++++++--------
> > 1 file changed, 11 insertions(+), 8 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> > index 979a377cb4ffd577bfa51b9a3cd089acc202de0c..09eea48c709e5e42c45c1949ee1d06298dea1f91 100644
> > --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> > +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
> > @@ -17,12 +17,16 @@ description: |
> >
> > properties:
> > compatible:
> > - enum:
> > - - qcom,pm8916-pon
> > - - qcom,pm8941-pon
> > - - qcom,pms405-pon
> > - - qcom,pm8998-pon
> > - - qcom,pmk8350-pon
> > + oneOf:
> > + - enum:
> > + - qcom,pm8916-pon
> > + - qcom,pm8941-pon
> > + - qcom,pms405-pon
> > + - qcom,pm8998-pon
> > + - qcom,pmk8350-pon
> > + - items:
> > + - const: qcom,pmm8654au-pon
> > + - const: qcom,pmk8350-pon
> >
> > reg:
> > description: |
> > @@ -105,10 +109,9 @@ allOf:
> > then:
> > properties:
> > reg:
> > - minItems: 1
> > + minItems: 2
>
> You wrote that PMM8654AU has additional registers. This implies pmk8350
> does not have them, so why are you changing this?
>
> Also, that's an ABI break and I see no relation to the goal of adding
> PMM8654AU. Don't combine independent works into one commit.
>
Agreed, will split the minItems: 2 fix into a separate patch in the same
series.
regards
Rakesh Kota
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-07-22 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 11:58 [PATCH v5 0/2] monaco: Add PMM8654AU PON support Rakesh Kota
2026-07-13 11:58 ` [PATCH v5 1/2] dt-bindings: power: reset: qcom-pon: Add new compatible PMM8654AU Rakesh Kota
2026-07-21 6:53 ` Krzysztof Kozlowski
2026-07-22 11:00 ` Rakesh Kota
2026-07-13 11:58 ` [PATCH v5 2/2] arm64: dts: qcom: monaco-pmics: Add PON power key and reset inputs Rakesh Kota
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox