Linux-Devicetree Archive on lore.kernel.org
 help / color / Atom feed
* [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	[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	[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, back to index

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

Linux-Devicetree Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-devicetree/0 linux-devicetree/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-devicetree linux-devicetree/ https://lore.kernel.org/linux-devicetree \
		devicetree@vger.kernel.org
	public-inbox-index linux-devicetree

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-devicetree


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git