* [PATCH 1/5] dt-bindings: power: qcom,rpmpd: Add SC8280XP_MXC_AO
2025-11-04 19:31 [PATCH 0/5] Define VDD_MXC for SC8280XP Konrad Dybcio
@ 2025-11-04 19:31 ` Konrad Dybcio
2025-11-04 19:31 ` [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc Konrad Dybcio
` (3 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-04 19:31 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson, Konrad Dybcio,
Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Not sure how useful it's gonna be in practice, but the definition is
missing (unlike the previously-unused SC8280XP_MXC-non-_AO), so add it
to allow the driver to create the corresponding pmdomain.
Fixes: dbfb5f94e084 ("dt-bindings: power: rpmpd: Add sc8280xp RPMh power-domains")
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
include/dt-bindings/power/qcom,rpmhpd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/power/qcom,rpmhpd.h b/include/dt-bindings/power/qcom,rpmhpd.h
index 50e7c886709d..06851363ae0e 100644
--- a/include/dt-bindings/power/qcom,rpmhpd.h
+++ b/include/dt-bindings/power/qcom,rpmhpd.h
@@ -264,5 +264,6 @@
#define SC8280XP_NSP 13
#define SC8280XP_QPHY 14
#define SC8280XP_XO 15
+#define SC8280XP_MXC_AO 16
#endif
--
2.51.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc
2025-11-04 19:31 [PATCH 0/5] Define VDD_MXC for SC8280XP Konrad Dybcio
2025-11-04 19:31 ` [PATCH 1/5] dt-bindings: power: qcom,rpmpd: Add SC8280XP_MXC_AO Konrad Dybcio
@ 2025-11-04 19:31 ` Konrad Dybcio
2025-11-05 9:14 ` Krzysztof Kozlowski
2025-11-04 19:31 ` [PATCH 3/5] dt-bindings: clock: qcom: Allow MXC on SC8280XP CAMCC Konrad Dybcio
` (2 subsequent siblings)
4 siblings, 1 reply; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-04 19:31 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson, Konrad Dybcio,
Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
The power requirements for the CDSP instances on SC8280XP aren't fully
described, with only one of the three present. Fix that.
Fixes: ee651cd1e944 ("dt-bindings: remoteproc: qcom: pas: Add sc8280xp adsp and nsp pair")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
index 96d53baf6e00..5dbda3a55047 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
@@ -91,9 +91,13 @@ allOf:
power-domains:
items:
- description: NSP power domain
+ - description: CX power domain
+ - description: MXC power domain
power-domain-names:
items:
- const: nsp
+ - const: cx
+ - const: mxc
unevaluatedProperties: false
--
2.51.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc
2025-11-04 19:31 ` [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc Konrad Dybcio
@ 2025-11-05 9:14 ` Krzysztof Kozlowski
2025-11-05 9:15 ` Konrad Dybcio
0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2025-11-05 9:14 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson,
Bryan O'Donoghue, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio
On Tue, Nov 04, 2025 at 08:31:07PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> The power requirements for the CDSP instances on SC8280XP aren't fully
> described, with only one of the three present. Fix that.
>
> Fixes: ee651cd1e944 ("dt-bindings: remoteproc: qcom: pas: Add sc8280xp adsp and nsp pair")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
> index 96d53baf6e00..5dbda3a55047 100644
> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
> @@ -91,9 +91,13 @@ allOf:
> power-domains:
> items:
> - description: NSP power domain
> + - description: CX power domain
> + - description: MXC power domain
> power-domain-names:
> items:
> - const: nsp
> + - const: cx
> + - const: mxc
Heh, so if this was described since beginning entire binding would fit
100% into qcom,sm8550-pas.yaml, instead having this now in different
file because of different order. Not great. :(
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc
2025-11-05 9:14 ` Krzysztof Kozlowski
@ 2025-11-05 9:15 ` Konrad Dybcio
0 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-05 9:15 UTC (permalink / raw)
To: Krzysztof Kozlowski, Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson,
Bryan O'Donoghue, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm
On 11/5/25 10:14 AM, Krzysztof Kozlowski wrote:
> On Tue, Nov 04, 2025 at 08:31:07PM +0100, Konrad Dybcio wrote:
>> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>
>> The power requirements for the CDSP instances on SC8280XP aren't fully
>> described, with only one of the three present. Fix that.
>>
>> Fixes: ee651cd1e944 ("dt-bindings: remoteproc: qcom: pas: Add sc8280xp adsp and nsp pair")
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>> ---
>> Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
>> index 96d53baf6e00..5dbda3a55047 100644
>> --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
>> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8280xp-pas.yaml
>> @@ -91,9 +91,13 @@ allOf:
>> power-domains:
>> items:
>> - description: NSP power domain
>> + - description: CX power domain
>> + - description: MXC power domain
>> power-domain-names:
>> items:
>> - const: nsp
>> + - const: cx
>> + - const: mxc
>
> Heh, so if this was described since beginning entire binding would fit
> 100% into qcom,sm8550-pas.yaml, instead having this now in different
> file because of different order. Not great. :(
Yeah I noticed the same.. It's probably not the last conversion like
that which will need to happen either..
Konrad
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/5] dt-bindings: clock: qcom: Allow MXC on SC8280XP CAMCC
2025-11-04 19:31 [PATCH 0/5] Define VDD_MXC for SC8280XP Konrad Dybcio
2025-11-04 19:31 ` [PATCH 1/5] dt-bindings: power: qcom,rpmpd: Add SC8280XP_MXC_AO Konrad Dybcio
2025-11-04 19:31 ` [PATCH 2/5] dt-bindings: remoteproc: qcom,sc8280xp-pas: Fix CDSP power desc Konrad Dybcio
@ 2025-11-04 19:31 ` Konrad Dybcio
2025-11-04 20:28 ` Rob Herring (Arm)
2025-11-04 19:31 ` [PATCH 4/5] pmdomain: qcom: rpmhpd: Add MXC to SC8280XP Konrad Dybcio
2025-11-04 19:31 ` [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links Konrad Dybcio
4 siblings, 1 reply; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-04 19:31 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson, Konrad Dybcio,
Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Move the SC8280XP camera clock controller to the 8450 binding, as their
actual characteristics happen to be closer to that one.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
.../devicetree/bindings/clock/qcom,sa8775p-camcc.yaml | 13 -------------
.../devicetree/bindings/clock/qcom,sm8450-camcc.yaml | 2 ++
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
index f42ccb6627a3..83d891caa658 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.yaml
@@ -17,14 +17,12 @@ description: |
See also:
include/dt-bindings/clock/qcom,qcs8300-camcc.h
include/dt-bindings/clock/qcom,sa8775p-camcc.h
- include/dt-bindings/clock/qcom,sc8280xp-camcc.h
properties:
compatible:
enum:
- qcom,qcs8300-camcc
- qcom,sa8775p-camcc
- - qcom,sc8280xp-camcc
clocks:
items:
@@ -48,17 +46,6 @@ required:
- power-domains
- '#power-domain-cells'
-allOf:
- - $ref: qcom,gcc.yaml#
- - if:
- properties:
- compatible:
- contains:
- const: qcom,sc8280xp-camcc
- then:
- required:
- - required-opps
-
unevaluatedProperties: false
examples:
diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
index c1e06f39431e..7ae245dc4dda 100644
--- a/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-camcc.yaml
@@ -18,10 +18,12 @@ description: |
include/dt-bindings/clock/qcom,sm8450-camcc.h
include/dt-bindings/clock/qcom,sm8550-camcc.h
include/dt-bindings/clock/qcom,sm8650-camcc.h
+ include/dt-bindings/clock/qcom,sc8280xp-camcc.h
properties:
compatible:
enum:
+ - qcom,sc8280xp-camcc
- qcom,sm8450-camcc
- qcom,sm8475-camcc
- qcom,sm8550-camcc
--
2.51.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 3/5] dt-bindings: clock: qcom: Allow MXC on SC8280XP CAMCC
2025-11-04 19:31 ` [PATCH 3/5] dt-bindings: clock: qcom: Allow MXC on SC8280XP CAMCC Konrad Dybcio
@ 2025-11-04 20:28 ` Rob Herring (Arm)
0 siblings, 0 replies; 13+ messages in thread
From: Rob Herring (Arm) @ 2025-11-04 20:28 UTC (permalink / raw)
To: Konrad Dybcio
Cc: linux-pm, linux-remoteproc, Vinod Koul, Bryan O'Donoghue,
Johan Hovold, Taniya Das, Imran Shaik, Conor Dooley,
Mathieu Poirier, Manivannan Sadhasivam, devicetree,
Krzysztof Kozlowski, Michael Turquette, Krzysztof Kozlowski,
Stephen Boyd, Konrad Dybcio, Vladimir Zapolskiy, linux-arm-msm,
Bjorn Andersson, Jagadeesh Kona, linux-clk, Ulf Hansson,
linux-kernel
On Tue, 04 Nov 2025 20:31:08 +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> Move the SC8280XP camera clock controller to the 8450 binding, as their
> actual characteristics happen to be closer to that one.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> .../devicetree/bindings/clock/qcom,sa8775p-camcc.yaml | 13 -------------
> .../devicetree/bindings/clock/qcom,sm8450-camcc.yaml | 2 ++
> 2 files changed, 2 insertions(+), 13 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/clock/qcom,sa8775p-camcc.example.dtb: clock-controller@ade0000 (qcom,sa8775p-camcc): Unevaluated properties are not allowed ('#clock-cells', '#power-domain-cells', '#reset-cells', 'reg' were unexpected)
from schema $id: http://devicetree.org/schemas/clock/qcom,sa8775p-camcc.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20251104-topic-8280_mxc-v1-3-df545af0ef94@oss.qualcomm.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 4/5] pmdomain: qcom: rpmhpd: Add MXC to SC8280XP
2025-11-04 19:31 [PATCH 0/5] Define VDD_MXC for SC8280XP Konrad Dybcio
` (2 preceding siblings ...)
2025-11-04 19:31 ` [PATCH 3/5] dt-bindings: clock: qcom: Allow MXC on SC8280XP CAMCC Konrad Dybcio
@ 2025-11-04 19:31 ` Konrad Dybcio
2025-11-04 19:31 ` [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links Konrad Dybcio
4 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-04 19:31 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson, Konrad Dybcio,
Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio,
Dmitry Baryshkov
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
This was apparently accounted for in dt-bindings, but never made its
way into the driver.
Fix it for SC8280XP and its VDD_GFX-less cousin, SA8540P.
Fixes: f68f1cb3437d ("soc: qcom: rpmhpd: add sc8280xp & sa8540p rpmh power-domains")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
drivers/pmdomain/qcom/rpmhpd.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
index a8b37037c6fe..19849703be4a 100644
--- a/drivers/pmdomain/qcom/rpmhpd.c
+++ b/drivers/pmdomain/qcom/rpmhpd.c
@@ -246,6 +246,8 @@ static struct rpmhpd *sa8540p_rpmhpds[] = {
[SC8280XP_MMCX_AO] = &mmcx_ao,
[SC8280XP_MX] = &mx,
[SC8280XP_MX_AO] = &mx_ao,
+ [SC8280XP_MXC] = &mxc,
+ [SC8280XP_MXC_AO] = &mxc_ao,
[SC8280XP_NSP] = &nsp,
};
@@ -700,6 +702,8 @@ static struct rpmhpd *sc8280xp_rpmhpds[] = {
[SC8280XP_MMCX_AO] = &mmcx_ao,
[SC8280XP_MX] = &mx,
[SC8280XP_MX_AO] = &mx_ao,
+ [SC8280XP_MXC] = &mxc,
+ [SC8280XP_MXC_AO] = &mxc_ao,
[SC8280XP_NSP] = &nsp,
[SC8280XP_QPHY] = &qphy,
};
--
2.51.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
2025-11-04 19:31 [PATCH 0/5] Define VDD_MXC for SC8280XP Konrad Dybcio
` (3 preceding siblings ...)
2025-11-04 19:31 ` [PATCH 4/5] pmdomain: qcom: rpmhpd: Add MXC to SC8280XP Konrad Dybcio
@ 2025-11-04 19:31 ` Konrad Dybcio
2025-11-05 1:00 ` Dmitry Baryshkov
2025-11-05 9:21 ` Imran Shaik
4 siblings, 2 replies; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-04 19:31 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson, Konrad Dybcio,
Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To make sure that power rail is voted for, wire it up to its consumers.
Fixes: 9bd07f2c558f ("arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp")
Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
index 5334adebf278..643a61cc91b4 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
@@ -4586,8 +4586,10 @@ camcc: clock-controller@ad00000 {
<&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
- power-domains = <&rpmhpd SC8280XP_MMCX>;
- required-opps = <&rpmhpd_opp_low_svs>;
+ power-domains = <&rpmhpd SC8280XP_MMCX>,
+ <&rpmhpd SC8280XP_MXC>;
+ required-opps = <&rpmhpd_opp_low_svs>,
+ <&rpmhpd_opp_low_svs>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
@@ -5788,8 +5790,12 @@ remoteproc_nsp0: remoteproc@1b300000 {
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
- power-domains = <&rpmhpd SC8280XP_NSP>;
- power-domain-names = "nsp";
+ power-domains = <&rpmhpd SC8280XP_NSP>,
+ <&rpmhpd SC8280XP_CX>,
+ <&rpmhpd SC8280XP_MXC>;
+ power-domain-names = "nsp",
+ "cx",
+ "mxc";
memory-region = <&pil_nsp0_mem>;
@@ -5919,8 +5925,12 @@ remoteproc_nsp1: remoteproc@21300000 {
clocks = <&rpmhcc RPMH_CXO_CLK>;
clock-names = "xo";
- power-domains = <&rpmhpd SC8280XP_NSP>;
- power-domain-names = "nsp";
+ power-domains = <&rpmhpd SC8280XP_NSP>,
+ <&rpmhpd SC8280XP_CX>,
+ <&rpmhpd SC8280XP_MXC>;
+ power-domain-names = "nsp",
+ "cx",
+ "mxc";
memory-region = <&pil_nsp1_mem>;
--
2.51.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
2025-11-04 19:31 ` [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links Konrad Dybcio
@ 2025-11-05 1:00 ` Dmitry Baryshkov
2025-11-05 9:21 ` Imran Shaik
1 sibling, 0 replies; 13+ messages in thread
From: Dmitry Baryshkov @ 2025-11-05 1:00 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Johan Hovold, Mathieu Poirier, Manivannan Sadhasivam, Vinod Koul,
Michael Turquette, Stephen Boyd, Taniya Das, Imran Shaik,
Vladimir Zapolskiy, Jagadeesh Kona, Ulf Hansson,
Bryan O'Donoghue, Krzysztof Kozlowski, linux-arm-msm,
devicetree, linux-kernel, linux-remoteproc, linux-clk, linux-pm,
Konrad Dybcio
On Tue, Nov 04, 2025 at 08:31:10PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> To make sure that power rail is voted for, wire it up to its consumers.
>
> Fixes: 9bd07f2c558f ("arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp")
> Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 22 ++++++++++++++++------
> 1 file changed, 16 insertions(+), 6 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
2025-11-04 19:31 ` [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links Konrad Dybcio
2025-11-05 1:00 ` Dmitry Baryshkov
@ 2025-11-05 9:21 ` Imran Shaik
2025-11-05 11:02 ` Konrad Dybcio
1 sibling, 1 reply; 13+ messages in thread
From: Imran Shaik @ 2025-11-05 9:21 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bjorn Andersson, Johan Hovold, Mathieu Poirier,
Manivannan Sadhasivam, Vinod Koul, Michael Turquette,
Stephen Boyd, Taniya Das, Imran Shaik, Vladimir Zapolskiy,
Jagadeesh Kona, Ulf Hansson, Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Konrad Dybcio,
Jagadeesh Kona
On 11/5/2025 1:01 AM, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> To make sure that power rail is voted for, wire it up to its consumers.
>
> Fixes: 9bd07f2c558f ("arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp")
> Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 22 ++++++++++++++++------
> 1 file changed, 16 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> index 5334adebf278..643a61cc91b4 100644
> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
> @@ -4586,8 +4586,10 @@ camcc: clock-controller@ad00000 {
> <&rpmhcc RPMH_CXO_CLK>,
> <&rpmhcc RPMH_CXO_CLK_A>,
> <&sleep_clk>;
> - power-domains = <&rpmhpd SC8280XP_MMCX>;
> - required-opps = <&rpmhpd_opp_low_svs>;
> + power-domains = <&rpmhpd SC8280XP_MMCX>,
> + <&rpmhpd SC8280XP_MXC>;
I see that none of the CAMCC PLLs/clocks are on MXC rail on SC8280XP target.
So, MXC support is not required for CAMCC.
Thanks,
Imran
> + required-opps = <&rpmhpd_opp_low_svs>,
> + <&rpmhpd_opp_low_svs>;
> #clock-cells = <1>;
> #reset-cells = <1>;
> #power-domain-cells = <1>;
> @@ -5788,8 +5790,12 @@ remoteproc_nsp0: remoteproc@1b300000 {
> clocks = <&rpmhcc RPMH_CXO_CLK>;
> clock-names = "xo";
>
> - power-domains = <&rpmhpd SC8280XP_NSP>;
> - power-domain-names = "nsp";
> + power-domains = <&rpmhpd SC8280XP_NSP>,
> + <&rpmhpd SC8280XP_CX>,
> + <&rpmhpd SC8280XP_MXC>;
> + power-domain-names = "nsp",
> + "cx",
> + "mxc";
>
> memory-region = <&pil_nsp0_mem>;
>
> @@ -5919,8 +5925,12 @@ remoteproc_nsp1: remoteproc@21300000 {
> clocks = <&rpmhcc RPMH_CXO_CLK>;
> clock-names = "xo";
>
> - power-domains = <&rpmhpd SC8280XP_NSP>;
> - power-domain-names = "nsp";
> + power-domains = <&rpmhpd SC8280XP_NSP>,
> + <&rpmhpd SC8280XP_CX>,
> + <&rpmhpd SC8280XP_MXC>;
> + power-domain-names = "nsp",
> + "cx",
> + "mxc";
>
> memory-region = <&pil_nsp1_mem>;
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
2025-11-05 9:21 ` Imran Shaik
@ 2025-11-05 11:02 ` Konrad Dybcio
2025-11-06 9:14 ` Imran Shaik
0 siblings, 1 reply; 13+ messages in thread
From: Konrad Dybcio @ 2025-11-05 11:02 UTC (permalink / raw)
To: Imran Shaik, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Johan Hovold, Mathieu Poirier,
Manivannan Sadhasivam, Vinod Koul, Michael Turquette,
Stephen Boyd, Taniya Das, Imran Shaik, Vladimir Zapolskiy,
Jagadeesh Kona, Ulf Hansson, Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Jagadeesh Kona
On 11/5/25 10:21 AM, Imran Shaik wrote:
>
>
> On 11/5/2025 1:01 AM, Konrad Dybcio wrote:
>> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>
>> To make sure that power rail is voted for, wire it up to its consumers.
>>
>> Fixes: 9bd07f2c558f ("arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp")
>> Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
>> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 22 ++++++++++++++++------
>> 1 file changed, 16 insertions(+), 6 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>> index 5334adebf278..643a61cc91b4 100644
>> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>> @@ -4586,8 +4586,10 @@ camcc: clock-controller@ad00000 {
>> <&rpmhcc RPMH_CXO_CLK>,
>> <&rpmhcc RPMH_CXO_CLK_A>,
>> <&sleep_clk>;
>> - power-domains = <&rpmhpd SC8280XP_MMCX>;
>> - required-opps = <&rpmhpd_opp_low_svs>;
>> + power-domains = <&rpmhpd SC8280XP_MMCX>,
>> + <&rpmhpd SC8280XP_MXC>;
>
> I see that none of the CAMCC PLLs/clocks are on MXC rail on SC8280XP target.
> So, MXC support is not required for CAMCC.
Hm, to the extent that camss is supported upstream, I could indeed
boot without pd_ignore_unused and the camera actually kept working..
I see in docs that there are links between MXC and various IPs within
camera so I'm a little confused. Would you know more?
I wasn't able to test venus because it locks up either way..
Konrad
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [PATCH 5/5] arm64: dts: qcom: sc8280xp: Add missing VDD_MXC links
2025-11-05 11:02 ` Konrad Dybcio
@ 2025-11-06 9:14 ` Imran Shaik
0 siblings, 0 replies; 13+ messages in thread
From: Imran Shaik @ 2025-11-06 9:14 UTC (permalink / raw)
To: Konrad Dybcio, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Johan Hovold, Mathieu Poirier,
Manivannan Sadhasivam, Vinod Koul, Michael Turquette,
Stephen Boyd, Taniya Das, Imran Shaik, Vladimir Zapolskiy,
Jagadeesh Kona, Ulf Hansson, Bryan O'Donoghue
Cc: Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel,
linux-remoteproc, linux-clk, linux-pm, Jagadeesh Kona
On 11/5/2025 4:32 PM, Konrad Dybcio wrote:
> On 11/5/25 10:21 AM, Imran Shaik wrote:
>>
>>
>> On 11/5/2025 1:01 AM, Konrad Dybcio wrote:
>>> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>>
>>> To make sure that power rail is voted for, wire it up to its consumers.
>>>
>>> Fixes: 9bd07f2c558f ("arm64: dts: qcom: sc8280xp: Add in CAMCC for sc8280xp")
>>> Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform")
>>> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>> ---
>>> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 22 ++++++++++++++++------
>>> 1 file changed, 16 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>>> index 5334adebf278..643a61cc91b4 100644
>>> --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi
>>> @@ -4586,8 +4586,10 @@ camcc: clock-controller@ad00000 {
>>> <&rpmhcc RPMH_CXO_CLK>,
>>> <&rpmhcc RPMH_CXO_CLK_A>,
>>> <&sleep_clk>;
>>> - power-domains = <&rpmhpd SC8280XP_MMCX>;
>>> - required-opps = <&rpmhpd_opp_low_svs>;
>>> + power-domains = <&rpmhpd SC8280XP_MMCX>,
>>> + <&rpmhpd SC8280XP_MXC>;
>>
>> I see that none of the CAMCC PLLs/clocks are on MXC rail on SC8280XP target.
>> So, MXC support is not required for CAMCC.
>
> Hm, to the extent that camss is supported upstream, I could indeed
> boot without pd_ignore_unused and the camera actually kept working..
>
> I see in docs that there are links between MXC and various IPs within
> camera so I'm a little confused. Would you know more?
>
Not sure on the rail requirements from the camera core side, but from the
camera clock controller side, we don't need the MXC support.
Thanks,
Imran
>
> I wasn't able to test venus because it locks up either way..
>
> Konrad
^ permalink raw reply [flat|nested] 13+ messages in thread