* [PATCH v2 01/10] dt-bindings: soc: qcom,rpm: add missing clock-controller node
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 13:21 ` [PATCH v2 02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties Dmitry Baryshkov
` (10 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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 [flat|nested] 21+ messages in thread* [PATCH v2 02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
2025-03-18 13:21 ` [PATCH v2 01/10] dt-bindings: soc: qcom,rpm: add missing clock-controller node Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 17:40 ` Rob Herring (Arm)
2025-03-18 13:21 ` [PATCH v2 03/10] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
` (9 subsequent siblings)
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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")
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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties
2025-03-18 13:21 ` [PATCH v2 02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties Dmitry Baryshkov
@ 2025-03-18 17:40 ` Rob Herring (Arm)
0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring (Arm) @ 2025-03-18 17:40 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: linux-arm-kernel, Georgi Djakov, James Clark, linux-arm-msm,
linux-kernel, Conor Dooley, David Heidelberg, Leo Yan,
devicetree, coresight, Lee Jones, Bjorn Andersson, Mike Leach,
Krzysztof Kozlowski, Mathieu Poirier, Suzuki K Poulose,
Konrad Dybcio
On Tue, 18 Mar 2025 15:21:55 +0200, Dmitry Baryshkov wrote:
> 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")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 03/10] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
2025-03-18 13:21 ` [PATCH v2 01/10] dt-bindings: soc: qcom,rpm: add missing clock-controller node Dmitry Baryshkov
2025-03-18 13:21 ` [PATCH v2 02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 17:40 ` Rob Herring (Arm)
2025-03-18 13:21 ` [PATCH v2 04/10] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic Dmitry Baryshkov
` (8 subsequent siblings)
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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")
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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 03/10] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks
2025-03-18 13:21 ` [PATCH v2 03/10] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
@ 2025-03-18 17:40 ` Rob Herring (Arm)
0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring (Arm) @ 2025-03-18 17:40 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Georgi Djakov, coresight, Krzysztof Kozlowski, James Clark,
Mike Leach, David Heidelberg, linux-kernel, Leo Yan, Lee Jones,
linux-arm-kernel, devicetree, Suzuki K Poulose, Mathieu Poirier,
Konrad Dybcio, Bjorn Andersson, Conor Dooley, linux-arm-msm
On Tue, 18 Mar 2025 15:21:56 +0200, 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.
>
> Fixes: 3c15fddf3121 ("dt-bindings: arm: Convert CoreSight bindings to DT schema")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> .../bindings/arm/arm,coresight-static-replicator.yaml | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 04/10] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (2 preceding siblings ...)
2025-03-18 13:21 ` [PATCH v2 03/10] dt-bindings: arm: arm,coresight-static-replicator: add optional clocks Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 17:42 ` Rob Herring (Arm)
2025-03-18 13:21 ` [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
` (7 subsequent siblings)
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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.
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 2836e4793afc918067d3ef93baf5bc7096f72f12..0d2530bd05b8c114232926e3ba8b0fed99e276f9 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -95,6 +95,7 @@ select:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
+ - qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
- rockchip,rk3066-qos
@@ -195,6 +196,7 @@ 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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 04/10] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic
2025-03-18 13:21 ` [PATCH v2 04/10] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic Dmitry Baryshkov
@ 2025-03-18 17:42 ` Rob Herring (Arm)
0 siblings, 0 replies; 21+ messages in thread
From: Rob Herring (Arm) @ 2025-03-18 17:42 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Conor Dooley, Mathieu Poirier, linux-arm-msm, James Clark,
Mike Leach, coresight, Konrad Dybcio, Georgi Djakov,
Suzuki K Poulose, devicetree, linux-arm-kernel, David Heidelberg,
Bjorn Andersson, Krzysztof Kozlowski, Leo Yan, Lee Jones,
linux-kernel
On Tue, 18 Mar 2025 15:21:57 +0200, Dmitry Baryshkov wrote:
> Add compat for Smart Peripheral System (SPS) Interrupt Controller (SIC)
> present on Qualcomm APQ8064 SoC.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (3 preceding siblings ...)
2025-03-18 13:21 ` [PATCH v2 04/10] dt-bindings: mfd: syscon: add qcom,apq8064-sps-sic Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 17:42 ` Rob Herring (Arm)
2025-04-04 12:49 ` (subset) " Lee Jones
2025-03-18 13:21 ` [PATCH v2 06/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node Dmitry Baryshkov
` (6 subsequent siblings)
11 siblings, 2 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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.
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 0d2530bd05b8c114232926e3ba8b0fed99e276f9..60f153cb57d56b00813cf65070fc4636141c5b52 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -95,6 +95,7 @@ select:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
+ - qcom,apq8064-mmss-sfpb
- qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
@@ -196,6 +197,7 @@ properties:
- mstar,msc313-pmsleep
- nuvoton,ma35d1-sys
- nuvoton,wpcm450-shm
+ - qcom,apq8064-mmss-sfpb
- qcom,apq8064-sps-sic
- rockchip,px30-qos
- rockchip,rk3036-qos
--
2.39.5
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
2025-03-18 13:21 ` [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
@ 2025-03-18 17:42 ` Rob Herring (Arm)
2025-04-04 12:49 ` (subset) " Lee Jones
1 sibling, 0 replies; 21+ messages in thread
From: Rob Herring (Arm) @ 2025-03-18 17:42 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Konrad Dybcio, Suzuki K Poulose, James Clark, linux-arm-kernel,
devicetree, Conor Dooley, Mike Leach, Leo Yan, linux-arm-msm,
Georgi Djakov, David Heidelberg, linux-kernel, coresight,
Mathieu Poirier, Bjorn Andersson, Lee Jones, Krzysztof Kozlowski
On Tue, 18 Mar 2025 15:21:58 +0200, Dmitry Baryshkov wrote:
> Add compat string for Qualcomm MultiMedia SubSystem System FPB.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: (subset) [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
2025-03-18 13:21 ` [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
2025-03-18 17:42 ` Rob Herring (Arm)
@ 2025-04-04 12:49 ` Lee Jones
1 sibling, 0 replies; 21+ messages in thread
From: Lee Jones @ 2025-04-04 12:49 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
On Tue, 18 Mar 2025 15:21:58 +0200, Dmitry Baryshkov wrote:
> Add compat string for Qualcomm MultiMedia SubSystem System FPB.
>
>
Applied, thanks!
[05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb
commit: 8a5d347da6ab0208ca348c91d598070bf763fcab
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 06/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (4 preceding siblings ...)
2025-03-18 13:21 ` [PATCH v2 05/10] dt-bindings: mfd: syscon: add qcom,apq8064-mmss-sfpb Dmitry Baryshkov
@ 2025-03-18 13:21 ` Dmitry Baryshkov
2025-03-18 14:36 ` Konrad Dybcio
2025-03-18 13:22 ` [PATCH v2 07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
` (5 subsequent siblings)
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:21 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
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")
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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 06/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node
2025-03-18 13:21 ` [PATCH v2 06/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node Dmitry Baryshkov
@ 2025-03-18 14:36 ` Konrad Dybcio
0 siblings, 0 replies; 21+ messages in thread
From: Konrad Dybcio @ 2025-03-18 14:36 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 3/18/25 2:21 PM, Dmitry Baryshkov wrote:
> 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")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
This is not strictly related to this patch, but this node/binding:
* clock-frequency seems unused
* "qcom,msm-timer" seems to have never been present in drivers/watchdog,
arch/arm/mach-qcom or arch/arm/mach-msm
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (5 preceding siblings ...)
2025-03-18 13:21 ` [PATCH v2 06/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node Dmitry Baryshkov
@ 2025-03-18 13:22 ` Dmitry Baryshkov
2025-03-18 14:37 ` Konrad Dybcio
2025-03-18 13:22 ` [PATCH v2 08/10] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
` (4 subsequent siblings)
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:22 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
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")
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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device
2025-03-18 13:22 ` [PATCH v2 07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
@ 2025-03-18 14:37 ` Konrad Dybcio
0 siblings, 0 replies; 21+ messages in thread
From: Konrad Dybcio @ 2025-03-18 14:37 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 3/18/25 2:22 PM, Dmitry Baryshkov wrote:
> 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")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 08/10] ARM: dts: qcom: apq8064: use new compatible for SFPB device
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (6 preceding siblings ...)
2025-03-18 13:22 ` [PATCH v2 07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device Dmitry Baryshkov
@ 2025-03-18 13:22 ` Dmitry Baryshkov
2025-03-18 13:22 ` [PATCH v2 09/10] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
` (3 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:22 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 [flat|nested] 21+ messages in thread* [PATCH v2 09/10] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (7 preceding siblings ...)
2025-03-18 13:22 ` [PATCH v2 08/10] ARM: dts: qcom: apq8064: use new compatible for SFPB device Dmitry Baryshkov
@ 2025-03-18 13:22 ` Dmitry Baryshkov
2025-03-18 13:22 ` [PATCH v2 10/10] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
` (2 subsequent siblings)
11 siblings, 0 replies; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:22 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 [flat|nested] 21+ messages in thread* [PATCH v2 10/10] ARM: dts: qcom: apq8064: move replicator out of soc node
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (8 preceding siblings ...)
2025-03-18 13:22 ` [PATCH v2 09/10] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device Dmitry Baryshkov
@ 2025-03-18 13:22 ` Dmitry Baryshkov
2025-03-18 14:37 ` Konrad Dybcio
2025-05-09 22:13 ` (subset) [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Bjorn Andersson
2025-05-13 20:46 ` Bjorn Andersson
11 siblings, 1 reply; 21+ messages in thread
From: Dmitry Baryshkov @ 2025-03-18 13:22 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
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")
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 [flat|nested] 21+ messages in thread* Re: [PATCH v2 10/10] ARM: dts: qcom: apq8064: move replicator out of soc node
2025-03-18 13:22 ` [PATCH v2 10/10] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
@ 2025-03-18 14:37 ` Konrad Dybcio
0 siblings, 0 replies; 21+ messages in thread
From: Konrad Dybcio @ 2025-03-18 14:37 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 3/18/25 2:22 PM, Dmitry Baryshkov wrote:
> 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")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: (subset) [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (9 preceding siblings ...)
2025-03-18 13:22 ` [PATCH v2 10/10] ARM: dts: qcom: apq8064: move replicator out of soc node Dmitry Baryshkov
@ 2025-05-09 22:13 ` Bjorn Andersson
2025-05-13 20:46 ` Bjorn Andersson
11 siblings, 0 replies; 21+ messages in thread
From: Bjorn Andersson @ 2025-05-09 22:13 UTC (permalink / raw)
To: 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
On Tue, 18 Mar 2025 15:21:53 +0200, 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!
[01/10] dt-bindings: soc: qcom,rpm: add missing clock-controller node
commit: dc4ec780313c698dd75f685250f98f98e07f9f17
[02/10] dt-bindings: soc: qcom: qcom,rpm: add missing clock/-names properties
commit: 3022ae40e92b1458901867a114472cff76dd3531
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: (subset) [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings
2025-03-18 13:21 [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Dmitry Baryshkov
` (10 preceding siblings ...)
2025-05-09 22:13 ` (subset) [PATCH v2 00/10] ARM: qcom: fix APQ8064 schema warnings Bjorn Andersson
@ 2025-05-13 20:46 ` Bjorn Andersson
11 siblings, 0 replies; 21+ messages in thread
From: Bjorn Andersson @ 2025-05-13 20:46 UTC (permalink / raw)
To: 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
On Tue, 18 Mar 2025 15:21:53 +0200, 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/10] ARM: dts: qcom: apq8064: add missing clocks to the timer node
commit: 4b0eb149df58b6750cd8113e5ee5b3ac7cc51743
[07/10] ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device
commit: 325c6a441ae1f8fcb1db9bb945b8bdbd3142141e
[08/10] ARM: dts: qcom: apq8064: use new compatible for SFPB device
commit: 2a1282861b73a4b8e45904e079ed3279c3f1c93f
[09/10] ARM: dts: qcom: apq8064: use new compatible for SPS SIC device
commit: 92c377bcafcddd43d4dca1aa60c865cdd2d1dbbb
[10/10] ARM: dts: qcom: apq8064: move replicator out of soc node
commit: f2420037d90a8354594b3da541e19dcbb60c75e1
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 21+ messages in thread