devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties
@ 2022-11-04 16:24 Rob Herring
  2022-11-06 10:31 ` Krzysztof Kozlowski
  2022-11-07  5:49 ` Viresh Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2022-11-04 16:24 UTC (permalink / raw)
  To: Rafael J. Wysocki, Viresh Kumar, Krzysztof Kozlowski,
	Manivannan Sadhasivam
  Cc: linux-pm, devicetree, linux-kernel

The examples' cache nodes are incomplete as 'cache-unified' and
'cache-level' are required cache properties.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../bindings/cpufreq/cpufreq-qcom-hw.yaml      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
index 24fa3d87a40b..e58c55f78aaa 100644
--- a/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
+++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-qcom-hw.yaml
@@ -85,9 +85,13 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 0>;
         L2_0: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
           L3_0: l3-cache {
             compatible = "cache";
+            cache-unified;
+            cache-level = <3>;
           };
         };
       };
@@ -101,6 +105,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 0>;
         L2_100: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -114,6 +120,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 0>;
         L2_200: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -127,6 +135,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 0>;
         L2_300: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -140,6 +150,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 1>;
         L2_400: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -153,6 +165,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 1>;
         L2_500: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -166,6 +180,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 1>;
         L2_600: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
@@ -179,6 +195,8 @@ examples:
         qcom,freq-domain = <&cpufreq_hw 1>;
         L2_700: l2-cache {
           compatible = "cache";
+          cache-unified;
+          cache-level = <2>;
           next-level-cache = <&L3_0>;
         };
       };
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties
  2022-11-04 16:24 [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties Rob Herring
@ 2022-11-06 10:31 ` Krzysztof Kozlowski
  2022-11-07  5:49 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-06 10:31 UTC (permalink / raw)
  To: Rob Herring, Rafael J. Wysocki, Viresh Kumar, Krzysztof Kozlowski,
	Manivannan Sadhasivam
  Cc: linux-pm, devicetree, linux-kernel

On 04/11/2022 17:24, Rob Herring wrote:
> The examples' cache nodes are incomplete as 'cache-unified' and
> 'cache-level' are required cache properties.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>



Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties
  2022-11-04 16:24 [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties Rob Herring
  2022-11-06 10:31 ` Krzysztof Kozlowski
@ 2022-11-07  5:49 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2022-11-07  5:49 UTC (permalink / raw)
  To: Rob Herring
  Cc: Rafael J. Wysocki, Krzysztof Kozlowski, Manivannan Sadhasivam,
	linux-pm, devicetree, linux-kernel

On 04-11-22, 11:24, Rob Herring wrote:
> The examples' cache nodes are incomplete as 'cache-unified' and
> 'cache-level' are required cache properties.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/cpufreq/cpufreq-qcom-hw.yaml      | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-07  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 16:24 [PATCH] dt-bindings: cpufreq: qcom: Add missing cache related properties Rob Herring
2022-11-06 10:31 ` Krzysztof Kozlowski
2022-11-07  5:49 ` Viresh Kumar

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).