Skip to contentSkip to conversation

dt-bindings: thermal: cooling-devices: Add missing cache related properties

PATCH Applied Rob Herring 3 participants 4 messages Nov 4, 2022 – Dec 6, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: thermal: cooling-devices: Add missing cache related properties

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

---
 .../devicetree/bindings/thermal/thermal-cooling-devices.yaml  | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml +4 -0
index 850a9841b110..7bb9327caa13 100644
@@ -76,9 +76,13 @@ examples:
                     next-level-cache = <&L2_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>;
                             };
                     };
           };
Signature · 1 line
2.35.1
Acked-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 5 lines · Rob Herring

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

Quoted 25 lines
---
 .../devicetree/bindings/thermal/thermal-cooling-devices.yaml  | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml +4 -1
index 850a9841b110..7bb9327caa13 100644
@@ -76,9 +76,13 @@ examples:
                     next-level-cache = <&L2_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>;
                             };
                     };
           };
--

2.35.1

author maintainer Applied
#3 lore raw
In reply to Rob Herring
Quoted 8 lines · Rob Herring

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

---
 .../devicetree/bindings/thermal/thermal-cooling-devices.yaml  | 4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks!