* [PATCH 0/2] Rename LLCC cache-controller to system-cache-controller
@ 2019-11-15 10:59 Sai Prakash Ranjan
2019-11-15 10:59 ` [PATCH 1/2] dt-bindings: msm: Rename " Sai Prakash Ranjan
2019-11-15 10:59 ` [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC Sai Prakash Ranjan
0 siblings, 2 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2019-11-15 10:59 UTC (permalink / raw)
To: Stephen Boyd, bjorn.andersson, Andy Gross, Rob Herring, devicetree
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
DT schema checks for the node name 'cache-controller' and enforces
that there has to be a cache-level associated with it. But LLCC is
a system cache and does not have a cache-level property and hence
the dt binding check fails. So let us rename the LLCC cache-controller
to system-cache-controller which is the proper description and also
makes the schema happy.
Sai Prakash Ranjan (2):
dt-bindings: msm: Rename cache-controller to system-cache-controller
arm64: dts: sdm845: Update the device tree node for LLCC
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 2 +-
arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: msm: Rename cache-controller to system-cache-controller
2019-11-15 10:59 [PATCH 0/2] Rename LLCC cache-controller to system-cache-controller Sai Prakash Ranjan
@ 2019-11-15 10:59 ` Sai Prakash Ranjan
2019-11-15 19:38 ` Stephen Boyd
2019-12-03 17:22 ` Rob Herring
2019-11-15 10:59 ` [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC Sai Prakash Ranjan
1 sibling, 2 replies; 6+ messages in thread
From: Sai Prakash Ranjan @ 2019-11-15 10:59 UTC (permalink / raw)
To: Stephen Boyd, bjorn.andersson, Andy Gross, Rob Herring, devicetree
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
DT schema checks for the node name 'cache-controller' and enforces
that there has to be a cache-level associated with it. But LLCC is
a system cache and does not have a cache-level property and hence
the dt binding check fails. So let us rename the LLCC cache-controller
to system-cache-controller which is the proper description and also
makes the schema happy.
Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
index 558749065b97..79902f470e4b 100644
--- a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
@@ -47,7 +47,7 @@ examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
- cache-controller@1100000 {
+ system-cache-controller@1100000 {
compatible = "qcom,sdm845-llcc";
reg = <0x1100000 0x200000>, <0x1300000 0x50000> ;
reg-names = "llcc_base", "llcc_broadcast_base";
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC
2019-11-15 10:59 [PATCH 0/2] Rename LLCC cache-controller to system-cache-controller Sai Prakash Ranjan
2019-11-15 10:59 ` [PATCH 1/2] dt-bindings: msm: Rename " Sai Prakash Ranjan
@ 2019-11-15 10:59 ` Sai Prakash Ranjan
2019-11-15 19:38 ` Stephen Boyd
1 sibling, 1 reply; 6+ messages in thread
From: Sai Prakash Ranjan @ 2019-11-15 10:59 UTC (permalink / raw)
To: Stephen Boyd, bjorn.andersson, Andy Gross, Rob Herring, devicetree
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
LLCC cache-controller was renamed to system-cache-controller
to make schema pass the dt binding check. Update the device
tree node to reflect this change.
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
---
arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index ddb1f23c936f..250b65e8f7e5 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1357,7 +1357,7 @@
};
};
- cache-controller@1100000 {
+ system-cache-controller@1100000 {
compatible = "qcom,sdm845-llcc";
reg = <0 0x01100000 0 0x200000>, <0 0x01300000 0 0x50000>;
reg-names = "llcc_base", "llcc_broadcast_base";
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: msm: Rename cache-controller to system-cache-controller
2019-11-15 10:59 ` [PATCH 1/2] dt-bindings: msm: Rename " Sai Prakash Ranjan
@ 2019-11-15 19:38 ` Stephen Boyd
2019-12-03 17:22 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2019-11-15 19:38 UTC (permalink / raw)
To: Andy Gross, Rob Herring, Sai Prakash Ranjan, bjorn.andersson, devicetree
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
Quoting Sai Prakash Ranjan (2019-11-15 02:59:11)
> DT schema checks for the node name 'cache-controller' and enforces
> that there has to be a cache-level associated with it. But LLCC is
> a system cache and does not have a cache-level property and hence
> the dt binding check fails. So let us rename the LLCC cache-controller
> to system-cache-controller which is the proper description and also
> makes the schema happy.
>
> Suggested-by: Stephen Boyd <swboyd@chromium.org>
> Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC
2019-11-15 10:59 ` [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC Sai Prakash Ranjan
@ 2019-11-15 19:38 ` Stephen Boyd
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2019-11-15 19:38 UTC (permalink / raw)
To: Andy Gross, Rob Herring, Sai Prakash Ranjan, bjorn.andersson, devicetree
Cc: linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
Quoting Sai Prakash Ranjan (2019-11-15 02:59:12)
> LLCC cache-controller was renamed to system-cache-controller
> to make schema pass the dt binding check. Update the device
> tree node to reflect this change.
>
> Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: msm: Rename cache-controller to system-cache-controller
2019-11-15 10:59 ` [PATCH 1/2] dt-bindings: msm: Rename " Sai Prakash Ranjan
2019-11-15 19:38 ` Stephen Boyd
@ 2019-12-03 17:22 ` Rob Herring
1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring @ 2019-12-03 17:22 UTC (permalink / raw)
To: Sai Prakash Ranjan
Cc: Stephen Boyd, bjorn.andersson, Andy Gross, devicetree,
linux-kernel, linux-arm-msm, linux-arm-kernel, Rajendra Nayak,
Rishabh Bhatnagar, Doug Anderson, Sai Prakash Ranjan
On Fri, 15 Nov 2019 16:29:11 +0530, Sai Prakash Ranjan wrote:
> DT schema checks for the node name 'cache-controller' and enforces
> that there has to be a cache-level associated with it. But LLCC is
> a system cache and does not have a cache-level property and hence
> the dt binding check fails. So let us rename the LLCC cache-controller
> to system-cache-controller which is the proper description and also
> makes the schema happy.
>
> Suggested-by: Stephen Boyd <swboyd@chromium.org>
> Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
> ---
> Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-03 17:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 10:59 [PATCH 0/2] Rename LLCC cache-controller to system-cache-controller Sai Prakash Ranjan
2019-11-15 10:59 ` [PATCH 1/2] dt-bindings: msm: Rename " Sai Prakash Ranjan
2019-11-15 19:38 ` Stephen Boyd
2019-12-03 17:22 ` Rob Herring
2019-11-15 10:59 ` [PATCH 2/2] arm64: dts: sdm845: Update the device tree node for LLCC Sai Prakash Ranjan
2019-11-15 19:38 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).