* [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-28 7:07 ` Krzysztof Kozlowski
2025-04-30 9:07 ` Lee Jones
2025-04-25 17:47 ` [PATCH v3 02/11] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
` (11 subsequent siblings)
12 siblings, 2 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
For some reason Lee has mis-squashed two commits, picking up one chunk
from the first patch and one chunk from the second one. Rather than
trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
Add qcom,apq8064-mmss-sfpb").
Fixes: 2c8de7df7418 ("dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 71741f06d2fddd2d4fb6b69c1cfd2d449ce73f64..c6bbb19c3e3e2245b4a823df06e7f361da311000 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -98,7 +98,6 @@ select:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
- - qcom,apq8064-mmss-sfpb
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
@@ -202,7 +201,6 @@ properties:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
- - qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-25 17:47 ` [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb" Dmitry Baryshkov
@ 2025-04-28 7:07 ` Krzysztof Kozlowski
2025-04-28 7:09 ` Dmitry Baryshkov
2025-04-28 7:09 ` Krzysztof Kozlowski
2025-04-30 9:07 ` Lee Jones
1 sibling, 2 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28 7:07 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
> For some reason Lee has mis-squashed two commits, picking up one chunk
> from the first patch and one chunk from the second one. Rather than
> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
> Add qcom,apq8064-mmss-sfpb").
I don't understand: that commit looks like direct, proper result for
https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
so where is squashing two commits? The diff markers have offset by few
lines, but it's still just few lines and they do not matter - there is
no diff/patch mismatch from that point of view.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-28 7:07 ` Krzysztof Kozlowski
@ 2025-04-28 7:09 ` Dmitry Baryshkov
2025-04-28 7:09 ` Krzysztof Kozlowski
1 sibling, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-28 7:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On 28/04/2025 10:07, Krzysztof Kozlowski wrote:
> On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
>> For some reason Lee has mis-squashed two commits, picking up one chunk
>> from the first patch and one chunk from the second one. Rather than
>> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
>> Add qcom,apq8064-mmss-sfpb").
>
> I don't understand: that commit looks like direct, proper result for
> https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
> so where is squashing two commits? The diff markers have offset by few
> lines, but it's still just few lines and they do not matter - there is
> no diff/patch mismatch from that point of view.
The first chunk is about "qcom,apq8064-mmss-sfpb", while the second
chunk is about "qcom,apq8064-sps-sic".
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-28 7:07 ` Krzysztof Kozlowski
2025-04-28 7:09 ` Dmitry Baryshkov
@ 2025-04-28 7:09 ` Krzysztof Kozlowski
2025-04-28 10:49 ` Dmitry Baryshkov
1 sibling, 1 reply; 25+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28 7:09 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On 28/04/2025 09:07, Krzysztof Kozlowski wrote:
> On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
>> For some reason Lee has mis-squashed two commits, picking up one chunk
>> from the first patch and one chunk from the second one. Rather than
>> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
>> Add qcom,apq8064-mmss-sfpb").
>
> I don't understand: that commit looks like direct, proper result for
> https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
> so where is squashing two commits? The diff markers have offset by few
> lines, but it's still just few lines and they do not matter - there is
> no diff/patch mismatch from that point of view.
Ah, difference in compatibles. I see the error. Anyway, I don't think
revert is correct. Just add missing compatibles.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-28 7:09 ` Krzysztof Kozlowski
@ 2025-04-28 10:49 ` Dmitry Baryshkov
2025-04-28 17:50 ` Krzysztof Kozlowski
0 siblings, 1 reply; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-28 10:49 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On Mon, 28 Apr 2025 at 10:09, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 28/04/2025 09:07, Krzysztof Kozlowski wrote:
> > On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
> >> For some reason Lee has mis-squashed two commits, picking up one chunk
> >> from the first patch and one chunk from the second one. Rather than
> >> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
> >> Add qcom,apq8064-mmss-sfpb").
> >
> > I don't understand: that commit looks like direct, proper result for
> > https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
> > so where is squashing two commits? The diff markers have offset by few
> > lines, but it's still just few lines and they do not matter - there is
> > no diff/patch mismatch from that point of view.
>
> Ah, difference in compatibles. I see the error. Anyway, I don't think
> revert is correct. Just add missing compatibles.
Why? The commit that went in is invalid, didn't come from my patches
and was produced in some weird way.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-28 10:49 ` Dmitry Baryshkov
@ 2025-04-28 17:50 ` Krzysztof Kozlowski
2025-04-29 12:23 ` Dmitry Baryshkov
0 siblings, 1 reply; 25+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28 17:50 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On 28/04/2025 12:49, Dmitry Baryshkov wrote:
> On Mon, 28 Apr 2025 at 10:09, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 28/04/2025 09:07, Krzysztof Kozlowski wrote:
>>> On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
>>>> For some reason Lee has mis-squashed two commits, picking up one chunk
>>>> from the first patch and one chunk from the second one. Rather than
>>>> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
>>>> Add qcom,apq8064-mmss-sfpb").
>>>
>>> I don't understand: that commit looks like direct, proper result for
>>> https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
>>> so where is squashing two commits? The diff markers have offset by few
>>> lines, but it's still just few lines and they do not matter - there is
>>> no diff/patch mismatch from that point of view.
>>
>> Ah, difference in compatibles. I see the error. Anyway, I don't think
>> revert is correct. Just add missing compatibles.
>
> Why? The commit that went in is invalid, didn't come from my patches
> and was produced in some weird way.
And revert is pointless if you immediately add the same changes. Just
make the changes.
When we see a bug, we do not revert the feature and then re-add that
feature corrected.
Instead we correct the feature.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-28 17:50 ` Krzysztof Kozlowski
@ 2025-04-29 12:23 ` Dmitry Baryshkov
0 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-29 12:23 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel
On Mon, Apr 28, 2025 at 07:50:04PM +0200, Krzysztof Kozlowski wrote:
> On 28/04/2025 12:49, Dmitry Baryshkov wrote:
> > On Mon, 28 Apr 2025 at 10:09, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> >>
> >> On 28/04/2025 09:07, Krzysztof Kozlowski wrote:
> >>> On Fri, Apr 25, 2025 at 08:47:01PM GMT, Dmitry Baryshkov wrote:
> >>>> For some reason Lee has mis-squashed two commits, picking up one chunk
> >>>> from the first patch and one chunk from the second one. Rather than
> >>>> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
> >>>> Add qcom,apq8064-mmss-sfpb").
> >>>
> >>> I don't understand: that commit looks like direct, proper result for
> >>> https://lore.kernel.org/all/20250318-fix-nexus-4-v2-5-bcedd1406790@oss.qualcomm.com/
> >>> so where is squashing two commits? The diff markers have offset by few
> >>> lines, but it's still just few lines and they do not matter - there is
> >>> no diff/patch mismatch from that point of view.
> >>
> >> Ah, difference in compatibles. I see the error. Anyway, I don't think
> >> revert is correct. Just add missing compatibles.
> >
> > Why? The commit that went in is invalid, didn't come from my patches
> > and was produced in some weird way.
> And revert is pointless if you immediately add the same changes. Just
> make the changes.
>
> When we see a bug, we do not revert the feature and then re-add that
> feature corrected.
That depends. If the original patch went really bad, we sometimes revert
it and add a clear implementation rather than just trying to fix the
damaged state.
>
> Instead we correct the feature.
>
> Best regards,
> Krzysztof
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb"
2025-04-25 17:47 ` [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb" Dmitry Baryshkov
2025-04-28 7:07 ` Krzysztof Kozlowski
@ 2025-04-30 9:07 ` Lee Jones
1 sibling, 0 replies; 25+ messages in thread
From: Lee Jones @ 2025-04-30 9:07 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Suzuki K Poulose, Mike Leach,
James Clark, Mathieu Poirier, Leo Yan, David Heidelberg,
linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
On Fri, 25 Apr 2025, Dmitry Baryshkov wrote:
> For some reason Lee has mis-squashed two commits, picking up one chunk
> from the first patch and one chunk from the second one. Rather than
> trying to fix it, revert commit 2c8de7df7418 ("dt-bindings: mfd: syscon:
> Add qcom,apq8064-mmss-sfpb").
Ah yes. Looks like I took patch 5 before patch 4, then fudged the
conflict resolution. No need to submit a revert, I have removed the
patch.
> Fixes: 2c8de7df7418 ("dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/mfd/syscon.yaml | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
> index 71741f06d2fddd2d4fb6b69c1cfd2d449ce73f64..c6bbb19c3e3e2245b4a823df06e7f361da311000 100644
> --- a/Documentation/devicetree/bindings/mfd/syscon.yaml
> +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
> @@ -98,7 +98,6 @@ select:
> - mstar,msc313-pmsleep
> - nuvoton,ma35d1-sys
> - nuvoton,wpcm450-shm
> - - qcom,apq8064-mmss-sfpb
> - rockchip,px30-qos
> - rockchip,rk3036-qos
> - rockchip,rk3066-qos
> @@ -202,7 +201,6 @@ properties:
> - mstar,msc313-pmsleep
> - nuvoton,ma35d1-sys
> - nuvoton,wpcm450-shm
> - - qcom,apq8064-sps-sic
> - rockchip,px30-qos
> - rockchip,rk3036-qos
> - rockchip,rk3066-qos
>
> --
> 2.39.5
>
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v3 02/11] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb" Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 03/11] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic Dmitry Baryshkov
` (10 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Add compat string for Qualcomm MultiMedia SubSystem System FPB.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index c6bbb19c3e3e2245b4a823df06e7f361da311000..0004878dd0da7e9c84675afcfad7a246c561eee4 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -98,6 +98,7 @@ select:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
+ - qcom,apq8064-mmss-sfpb
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
@@ -201,6 +202,7 @@ properties:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
+ - qcom,apq8064-mmss-sfpb
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 03/11] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 01/11] Revert "dt-bindings: mfd: syscon: Add qcom,apq8064-mmss-sfpb" Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 02/11] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 04/11] dt-bindings: soc: qcom,rpm: add missing clock-controller node Dmitry Baryshkov
` (9 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Add compat for Smart Peripheral System (SPS) Interrupt Controller (SIC)
present on Qualcomm APQ8064 SoC.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 0004878dd0da7e9c84675afcfad7a246c561eee4..b600edbeb56a5d1a95e3bd23daba677fd1437356 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -99,6 +99,7 @@ select:
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
- qcom,apq8064-mmss-sfpb
+ - qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
@@ -203,6 +204,7 @@ properties:
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
- qcom,apq8064-mmss-sfpb
+ - qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 04/11] dt-bindings: soc: qcom,rpm: add missing clock-controller node
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (2 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 03/11] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 05/11] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties Dmitry Baryshkov
` (8 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel, Krzysztof Kozlowski
On Qualcomm platforms in addition to regulators the RPM also provides
clocks via the child clock-controller node. Describe it properly in the
schema.
Fixes: 872f91b5ea72 ("clk: qcom: Add support for RPM Clocks")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
index b00be9e01206d1c61802dee9f9ec777c4b946b7b..10956240df0856a4241d6032d3aff7d447af9ce6 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
@@ -46,6 +46,14 @@ properties:
description:
Three entries specifying the outgoing ipc bit used for signaling the RPM.
+ clock-controller:
+ type: object
+ additionalProperties: true
+ properties:
+ compatible:
+ contains:
+ const: qcom,rpmcc
+
patternProperties:
"^regulators(-[01])?$":
type: object
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 05/11] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (3 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 04/11] dt-bindings: soc: qcom,rpm: add missing clock-controller node Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
` (7 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Qualcomm MSM8660 and IPQ0864 platforms use additional clock for the RPM
device. Document it in the schema.
Fixes: aa0c4b815045 ("mfd: devicetree: bindings: Add Qualcomm RPM DT binding")
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
index 10956240df0856a4241d6032d3aff7d447af9ce6..3e8d99cb4dc368ab6b31e3e60eb5f7e082cd312d 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
@@ -36,6 +36,13 @@ properties:
- const: err
- const: wakeup
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: ram
+
qcom,ipc:
$ref: /schemas/types.yaml#/definitions/phandle-array
items:
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (4 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 05/11] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-28 9:06 ` Suzuki K Poulose
2025-04-25 17:47 ` [PATCH v3 07/11] ARM: dts: qcom: apq8064: add missing clocks to the timer node Dmitry Baryshkov
` (6 subsequent siblings)
12 siblings, 1 reply; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
As most other CoreSight devices the replicator can use either of the
optional clocks. Document those optional clocks in the schema.
Additionally document the one-off case of Zynq-7000 platforms which uses
apb_pclk and two additional debug clocks.
Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema")
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
.../bindings/arm/arm,coresight-static-replicator.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
index a6f793ea03b6c193fc0ff72a45e0249a63a2ba3c..0c1017affbad2f03892b250ad864d9a5dc8d02f1 100644
--- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
+++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
@@ -30,6 +30,19 @@ properties:
power-domains:
maxItems: 1
+ clocks:
+ minItems: 1
+ maxItems: 3
+
+ clock-names:
+ oneOf:
+ - items:
+ - enum: [apb_pclk, atclk]
+ - items: # Zynq-700
+ - const: apb_pclk
+ - const: dbg_trc
+ - const: dbg_apb
+
in-ports:
$ref: /schemas/graph.yaml#/properties/ports
additionalProperties: false
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
2025-04-25 17:47 ` [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
@ 2025-04-28 9:06 ` Suzuki K Poulose
2025-04-28 10:17 ` Dmitry Baryshkov
0 siblings, 1 reply; 25+ messages in thread
From: Suzuki K Poulose @ 2025-04-28 9:06 UTC (permalink / raw)
To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Georgi Djakov, Lee Jones,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Hi Dmitry
On 25/04/2025 18:47, Dmitry Baryshkov wrote:
> As most other CoreSight devices the replicator can use either of the
> optional clocks. Document those optional clocks in the schema.
> Additionally document the one-off case of Zynq-7000 platforms which uses
> apb_pclk and two additional debug clocks.
What is the plan for merging this series ? I am happy to pick this patch
via coresight tree.
>
> Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema")
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Otherwise,
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Suzuki
> ---
> .../bindings/arm/arm,coresight-static-replicator.yaml | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> index a6f793ea03b6c193fc0ff72a45e0249a63a2ba3c..0c1017affbad2f03892b250ad864d9a5dc8d02f1 100644
> --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> @@ -30,6 +30,19 @@ properties:
> power-domains:
> maxItems: 1
>
> + clocks:
> + minItems: 1
> + maxItems: 3
> +
> + clock-names:
> + oneOf:
> + - items:
> + - enum: [apb_pclk, atclk]
> + - items: # Zynq-700
> + - const: apb_pclk
> + - const: dbg_trc
> + - const: dbg_apb
> +
> in-ports:
> $ref: /schemas/graph.yaml#/properties/ports
> additionalProperties: false
>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
2025-04-28 9:06 ` Suzuki K Poulose
@ 2025-04-28 10:17 ` Dmitry Baryshkov
0 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-28 10:17 UTC (permalink / raw)
To: Suzuki K Poulose
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Mike Leach, James Clark,
Mathieu Poirier, Leo Yan, David Heidelberg, linux-arm-msm,
devicetree, linux-kernel, coresight, linux-arm-kernel
On Mon, 28 Apr 2025 at 12:06, Suzuki K Poulose <suzuki.poulose@arm.com> wrote:
>
> Hi Dmitry
>
> On 25/04/2025 18:47, Dmitry Baryshkov wrote:
> > As most other CoreSight devices the replicator can use either of the
> > optional clocks. Document those optional clocks in the schema.
> > Additionally document the one-off case of Zynq-7000 platforms which uses
> > apb_pclk and two additional debug clocks.
>
> What is the plan for merging this series ? I am happy to pick this patch
> via coresight tree.
Please pick up coresight-related patch. Each of the maintainers is
expected to pick relevant parts.
>
> >
> > Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema")
> > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> Otherwise,
>
>
> Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
>
> Suzuki
>
>
>
> > ---
> > .../bindings/arm/arm,coresight-static-replicator.yaml | 13 +++++++++++++
> > 1 file changed, 13 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > index a6f793ea03b6c193fc0ff72a45e0249a63a2ba3c..0c1017affbad2f03892b250ad864d9a5dc8d02f1 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > +++ b/Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml
> > @@ -30,6 +30,19 @@ properties:
> > power-domains:
> > maxItems: 1
> >
> > + clocks:
> > + minItems: 1
> > + maxItems: 3
> > +
> > + clock-names:
> > + oneOf:
> > + - items:
> > + - enum: [apb_pclk, atclk]
> > + - items: # Zynq-700
> > + - const: apb_pclk
> > + - const: dbg_trc
> > + - const: dbg_apb
> > +
> > in-ports:
> > $ref: /schemas/graph.yaml#/properties/ports
> > additionalProperties: false
> >
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v3 07/11] ARM: dts: qcom: apq8064: add missing clocks to the timer node
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (5 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 08/11] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
` (5 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel, Konrad Dybcio
In order to fix DT schema warning and describe hardware properly, add
missing sleep clock to the timer node.
Fixes: f335b8af4fd5 ("ARM: dts: qcom: Add initial APQ8064 SoC and IFC6410 board device trees")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
index 5f1a6b4b764492486df1a2610979f56c0a37b64a..ba99e794dcd2236f65f2f3d8c49213cfdaee5f6e 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
@@ -326,6 +326,8 @@ timer@200a000 {
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
reg = <0x0200a000 0x100>;
clock-frequency = <27000000>;
+ clocks = <&sleep_clk>;
+ clock-names = "sleep";
cpu-offset = <0x80000>;
};
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 08/11] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (6 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 07/11] ARM: dts: qcom: apq8064: add missing clocks to the timer node Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 17:47 ` [PATCH v3 09/11] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
` (4 subsequent siblings)
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel, Konrad Dybcio
Follow up the expected way of describing the SFPB hwspinlock and merge
hwspinlock node into corresponding syscon node, fixing several dt-schema
warnings.
Fixes: 24a9baf933dc ("ARM: dts: qcom: apq8064: Add hwmutex and SMEM nodes")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
index ba99e794dcd2236f65f2f3d8c49213cfdaee5f6e..41f8dcde20819b3134c38dcb3e45b9e5cc24920f 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
@@ -213,12 +213,6 @@ sleep_clk: sleep_clk {
};
};
- sfpb_mutex: hwmutex {
- compatible = "qcom,sfpb-mutex";
- syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
- #hwlock-cells = <1>;
- };
-
smem {
compatible = "qcom,smem";
memory-region = <&smem_region>;
@@ -305,9 +299,10 @@ tlmm_pinmux: pinctrl@800000 {
pinctrl-0 = <&ps_hold_default_state>;
};
- sfpb_wrapper_mutex: syscon@1200000 {
- compatible = "syscon";
- reg = <0x01200000 0x8000>;
+ sfpb_mutex: hwmutex@1200600 {
+ compatible = "qcom,sfpb-mutex";
+ reg = <0x01200600 0x100>;
+ #hwlock-cells = <1>;
};
intc: interrupt-controller@2000000 {
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [PATCH v3 09/11] ARM: dts: qcom: apq8064: use new compatible for SFPB device
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (7 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 08/11] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 19:49 ` Konrad Dybcio
2025-04-25 17:47 ` [PATCH v3 10/11] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
` (3 subsequent siblings)
12 siblings, 1 reply; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Use new SoC-specific compatible for the SFPB device node in addition to
the "syscon" compatible.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
index 41f8dcde20819b3134c38dcb3e45b9e5cc24920f..a5aad4f145dd368aabed44cf520ffc037018b37e 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
@@ -1086,7 +1086,7 @@ opp-27000000 {
};
mmss_sfpb: syscon@5700000 {
- compatible = "syscon";
+ compatible = "qcom,apq8064-mmss-sfpb", "syscon";
reg = <0x5700000 0x70>;
};
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v3 09/11] ARM: dts: qcom: apq8064: use new compatible for SFPB device
2025-04-25 17:47 ` [PATCH v3 09/11] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
@ 2025-04-25 19:49 ` Konrad Dybcio
0 siblings, 0 replies; 25+ messages in thread
From: Konrad Dybcio @ 2025-04-25 19:49 UTC (permalink / raw)
To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Georgi Djakov, Lee Jones,
Suzuki K Poulose, Mike Leach, James Clark, Mathieu Poirier,
Leo Yan, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
On 4/25/25 7:47 PM, Dmitry Baryshkov wrote:
> Use new SoC-specific compatible for the SFPB device node in addition to
> the "syscon" compatible.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> index 41f8dcde20819b3134c38dcb3e45b9e5cc24920f..a5aad4f145dd368aabed44cf520ffc037018b37e 100644
> --- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> @@ -1086,7 +1086,7 @@ opp-27000000 {
> };
>
> mmss_sfpb: syscon@5700000 {
> - compatible = "syscon";
> + compatible = "qcom,apq8064-mmss-sfpb", "syscon";
> reg = <0x5700000 0x70>;
Would have been nice to pad the address but let's not drag this
series on
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v3 10/11] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (8 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 09/11] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-25 19:51 ` Konrad Dybcio
2025-04-25 17:47 ` [PATCH v3 11/11] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
` (2 subsequent siblings)
12 siblings, 1 reply; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
Use new SoC-specific compatible to the SPS SIC in addition to the
"syscon" compatible and rename the node to follow the purpose of it.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
index a5aad4f145dd368aabed44cf520ffc037018b37e..b6533630e347c8fc5e3f0791778cd05760b3f3c8 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
@@ -402,8 +402,8 @@ saw3_vreg: regulator {
};
};
- sps_sic_non_secure: sps-sic-non-secure@12100000 {
- compatible = "syscon";
+ sps_sic_non_secure: interrupt-controller@12100000 {
+ compatible = "qcom,apq8064-sps-sic", "syscon";
reg = <0x12100000 0x10000>;
};
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v3 10/11] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device
2025-04-25 17:47 ` [PATCH v3 10/11] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
@ 2025-04-25 19:51 ` Konrad Dybcio
0 siblings, 0 replies; 25+ messages in thread
From: Konrad Dybcio @ 2025-04-25 19:51 UTC (permalink / raw)
To: Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Georgi Djakov, Lee Jones,
Suzuki K Poulose, Mike Leach, James Clark, Mathieu Poirier,
Leo Yan, David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel
On 4/25/25 7:47 PM, Dmitry Baryshkov wrote:
> Use new SoC-specific compatible to the SPS SIC in addition to the
> "syscon" compatible and rename the node to follow the purpose of it.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> index a5aad4f145dd368aabed44cf520ffc037018b37e..b6533630e347c8fc5e3f0791778cd05760b3f3c8 100644
> --- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
> @@ -402,8 +402,8 @@ saw3_vreg: regulator {
> };
> };
>
> - sps_sic_non_secure: sps-sic-non-secure@12100000 {
> - compatible = "syscon";
> + sps_sic_non_secure: interrupt-controller@12100000 {
> + compatible = "qcom,apq8064-sps-sic", "syscon";
> reg = <0x12100000 0x10000>;
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 25+ messages in thread
* [PATCH v3 11/11] ARM: dts: qcom: apq8064: move replicator out of soc node
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (9 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 10/11] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
@ 2025-04-25 17:47 ` Dmitry Baryshkov
2025-04-29 17:53 ` [PATCH v3 00/11] (subset) ARM: qcom: fix APQ8064 schema warnings Suzuki K Poulose
2025-05-01 13:17 ` (subset) [PATCH v3 00/11] " Lee Jones
12 siblings, 0 replies; 25+ messages in thread
From: Dmitry Baryshkov @ 2025-04-25 17:47 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel, Konrad Dybcio
The CoreSight static replicator device isn't a part of the system MMIO
bus, as such it should not be a part of the soc node. Follow the example
of other platforms and move it out of the soc bus to the top-level (and
reoder ports to follow alphabetic order).
Fixes: 7a5c275fd821 ("ARM: dts: qcom: Add apq8064 CoreSight components")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 67 ++++++++++++++++----------------
1 file changed, 34 insertions(+), 33 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
index b6533630e347c8fc5e3f0791778cd05760b3f3c8..b02e6739ccb20a287095d8c3e212040e4ac50fdd 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-apq8064.dtsi
@@ -278,6 +278,40 @@ scm {
};
};
+ replicator {
+ compatible = "arm,coresight-static-replicator";
+
+ clocks = <&rpmcc RPM_QDSS_CLK>;
+ clock-names = "apb_pclk";
+
+ in-ports {
+ port {
+ replicator_in: endpoint {
+ remote-endpoint = <&funnel_out>;
+ };
+ };
+ };
+
+ out-ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ replicator_out0: endpoint {
+ remote-endpoint = <&etb_in>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ replicator_out1: endpoint {
+ remote-endpoint = <&tpiu_in>;
+ };
+ };
+ };
+ };
+
soc: soc {
#address-cells = <1>;
#size-cells = <1>;
@@ -1529,39 +1563,6 @@ tpiu_in: endpoint {
};
};
- replicator {
- compatible = "arm,coresight-static-replicator";
-
- clocks = <&rpmcc RPM_QDSS_CLK>;
- clock-names = "apb_pclk";
-
- out-ports {
- #address-cells = <1>;
- #size-cells = <0>;
-
- port@0 {
- reg = <0>;
- replicator_out0: endpoint {
- remote-endpoint = <&etb_in>;
- };
- };
- port@1 {
- reg = <1>;
- replicator_out1: endpoint {
- remote-endpoint = <&tpiu_in>;
- };
- };
- };
-
- in-ports {
- port {
- replicator_in: endpoint {
- remote-endpoint = <&funnel_out>;
- };
- };
- };
- };
-
funnel@1a04000 {
compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
reg = <0x1a04000 0x1000>;
--
2.39.5
^ permalink raw reply related [flat|nested] 25+ messages in thread
* Re: [PATCH v3 00/11] (subset) ARM: qcom: fix APQ8064 schema warnings
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (10 preceding siblings ...)
2025-04-25 17:47 ` [PATCH v3 11/11] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
@ 2025-04-29 17:53 ` Suzuki K Poulose
2025-05-01 13:17 ` (subset) [PATCH v3 00/11] " Lee Jones
12 siblings, 0 replies; 25+ messages in thread
From: Suzuki K Poulose @ 2025-04-29 17:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Mike Leach, James Clark,
Mathieu Poirier, Leo Yan, David Heidelberg, Dmitry Baryshkov
Cc: Suzuki K Poulose, linux-arm-msm, devicetree, linux-kernel,
coresight, linux-arm-kernel, Krzysztof Kozlowski, Konrad Dybcio
On Fri, 25 Apr 2025 20:47:00 +0300, Dmitry Baryshkov wrote:
> Rob's bot has reported [1] several warnings for Nexus 4 submisson,
> however none of those warnings are specific to that device. Fix all
> those warnings for all APQ8064 platforms by extending existing schemas,
> adding missing schemas and making APQ8064 DT follow all the schema
> files.
>
> [1]: https://lore.kernel.org/linux-arm-msm/174221818190.3957236.3364090534153729086.robh@kernel.org/
>
> [...]
Applied, thanks!
[06/11] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
https://git.kernel.org/coresight/c/13e3a882
Best regards,
--
Suzuki K Poulose <suzuki.poulose@arm.com>
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: (subset) [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings
2025-04-25 17:47 [PATCH v3 00/11] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (11 preceding siblings ...)
2025-04-29 17:53 ` [PATCH v3 00/11] (subset) ARM: qcom: fix APQ8064 schema warnings Suzuki K Poulose
@ 2025-05-01 13:17 ` Lee Jones
12 siblings, 0 replies; 25+ messages in thread
From: Lee Jones @ 2025-05-01 13:17 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Georgi Djakov, Lee Jones, Suzuki K Poulose,
Mike Leach, James Clark, Mathieu Poirier, Leo Yan,
David Heidelberg, Dmitry Baryshkov
Cc: linux-arm-msm, devicetree, linux-kernel, coresight,
linux-arm-kernel, Krzysztof Kozlowski, Konrad Dybcio
On Fri, 25 Apr 2025 20:47:00 +0300, Dmitry Baryshkov wrote:
> Rob's bot has reported [1] several warnings for Nexus 4 submisson,
> however none of those warnings are specific to that device. Fix all
> those warnings for all APQ8064 platforms by extending existing schemas,
> adding missing schemas and making APQ8064 DT follow all the schema
> files.
>
> [1]: https://lore.kernel.org/linux-arm-msm/174221818190.3957236.3364090534153729086.robh@kernel.org/
>
> [...]
Applied, thanks!
[02/11] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
commit: 137d4ebdf6bd86ca6aa26ec4f9a1c5b579905c6c
[03/11] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic
commit: 9f8af721495e04b6c3a3a5293fd8afa7e38bee1f
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 25+ messages in thread