* [PATCH 0/2] arm64: dts: msm8916: Conform to updated PSCI bindings
@ 2020-03-26 10:39 Ulf Hansson
2020-03-26 10:39 ` [PATCH 1/2] arm64: dts: msm8916: Conform to the domain-idle-state binding Ulf Hansson
2020-03-26 10:39 ` [PATCH 2/2] arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Ulf Hansson @ 2020-03-26 10:39 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson
Cc: Rob Herring, Ulf Hansson, linux-arm-msm, linux-kernel, devicetree
The PSCI DT binding was recently updated to fix some errors and so was also the
related domain-idle-state DT binding. Therefore, this series updates the
msm8916 to conform to these updates.
Ulf Hansson (2):
arm64: dts: msm8916: Conform to the domain-idle-state binding
arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes
arch/arm64/boot/dts/qcom/msm8916.dtsi | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
--
2.20.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] arm64: dts: msm8916: Conform to the domain-idle-state binding
2020-03-26 10:39 [PATCH 0/2] arm64: dts: msm8916: Conform to updated PSCI bindings Ulf Hansson
@ 2020-03-26 10:39 ` Ulf Hansson
2020-03-26 10:39 ` [PATCH 2/2] arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2020-03-26 10:39 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson
Cc: Rob Herring, Ulf Hansson, linux-arm-msm, linux-kernel, devicetree
As the domain-idle-state DT binding got converted to the json-schema, a few
minor changes were introduced. For example, the states needs to be
specified within a separate node, named domain-idle-states. Let's conform
to the updated binding.
This also silence the below errors for msm8916 from of 'make dtbs_check':
idle-states: cluster-retention:compatible:0: 'arm,idle-state' was expected
idle-states: cluster-gdhs:compatible:0: 'arm,idle-state' was expected
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index a88a15f2352b..e7ff8701eed3 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -165,6 +165,9 @@
min-residency-us = <2000>;
local-timer-stop;
};
+ };
+
+ domain-idle-states {
CLUSTER_RET: cluster-retention {
compatible = "domain-idle-state";
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes
2020-03-26 10:39 [PATCH 0/2] arm64: dts: msm8916: Conform to updated PSCI bindings Ulf Hansson
2020-03-26 10:39 ` [PATCH 1/2] arm64: dts: msm8916: Conform to the domain-idle-state binding Ulf Hansson
@ 2020-03-26 10:39 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2020-03-26 10:39 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson
Cc: Rob Herring, Ulf Hansson, linux-arm-msm, linux-kernel, devicetree
Subnodes for PSCI should start with "power-domain-", so let's adopt to
this.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index e7ff8701eed3..2fdc6aa61b83 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -191,31 +191,31 @@
compatible = "arm,psci-1.0";
method = "smc";
- CPU_PD0: cpu-pd0 {
+ CPU_PD0: power-domain-cpu0 {
#power-domain-cells = <0>;
power-domains = <&CLUSTER_PD>;
domain-idle-states = <&CPU_SLEEP_0>;
};
- CPU_PD1: cpu-pd1 {
+ CPU_PD1: power-domain-cpu1 {
#power-domain-cells = <0>;
power-domains = <&CLUSTER_PD>;
domain-idle-states = <&CPU_SLEEP_0>;
};
- CPU_PD2: cpu-pd2 {
+ CPU_PD2: power-domain-cpu2 {
#power-domain-cells = <0>;
power-domains = <&CLUSTER_PD>;
domain-idle-states = <&CPU_SLEEP_0>;
};
- CPU_PD3: cpu-pd3 {
+ CPU_PD3: power-domain-cpu3 {
#power-domain-cells = <0>;
power-domains = <&CLUSTER_PD>;
domain-idle-states = <&CPU_SLEEP_0>;
};
- CLUSTER_PD: cluster-pd {
+ CLUSTER_PD: power-domain-cluster {
#power-domain-cells = <0>;
domain-idle-states = <&CLUSTER_RET>, <&CLUSTER_PWRDN>;
};
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-26 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 10:39 [PATCH 0/2] arm64: dts: msm8916: Conform to updated PSCI bindings Ulf Hansson
2020-03-26 10:39 ` [PATCH 1/2] arm64: dts: msm8916: Conform to the domain-idle-state binding Ulf Hansson
2020-03-26 10:39 ` [PATCH 2/2] arm64: dts: msm8916: Conform to the nodename pattern PSCI subnodes Ulf Hansson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.