]> www.infradead.org Git - users/hch/dma-mapping.git/commitdiff
dt-bindings: thermal: cooling-devices: Add missing cache related properties
authorRob Herring <robh@kernel.org>
Fri, 4 Nov 2022 16:24:50 +0000 (11:24 -0500)
committerRob Herring <robh@kernel.org>
Tue, 6 Dec 2022 20:50:36 +0000 (14:50 -0600)
The examples' cache nodes are incomplete as 'cache-unified' and
'cache-level' are required cache properties.

Acked-by: Amit Kucheria <amitk@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221104162450.1982114-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml

index 850a9841b110e497e931956290851fecc0cd9ebd..7bb9327caa13cc001df1089c23fcf852bf2f9ccc 100644 (file)
@@ -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>;
                             };
                     };
           };