Skip to content

Commit 64d60a0

Browse files
robherringConchuOD
authored andcommitted
dt-bindings: cache: Convert marvell,tauros2-cache to DT schema
Convert the Marvell Tauros2 Cache binding to DT schema. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 438d216 commit 64d60a0

File tree

2 files changed

+39
-17
lines changed

2 files changed

+39
-17
lines changed

Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/cache/marvell,tauros2-cache.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell Tauros2 Cache
8+
9+
maintainers:
10+
- Andrew Lunn <[email protected]>
11+
- Gregory Clement <[email protected]>
12+
13+
properties:
14+
compatible:
15+
const: marvell,tauros2-cache
16+
17+
marvell,tauros2-cache-features:
18+
description: >
19+
Specify the features supported for the tauros2 cache. The features include:
20+
21+
- CACHE_TAUROS2_PREFETCH_ON (1 << 0)
22+
- CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1)
23+
24+
The definition can be found at arch/arm/include/asm/hardware/cache-tauros2.h
25+
$ref: /schemas/types.yaml#/definitions/uint32
26+
maximum: 0x3
27+
28+
required:
29+
- compatible
30+
- marvell,tauros2-cache-features
31+
32+
additionalProperties: false
33+
34+
examples:
35+
- |
36+
l2-cache {
37+
compatible = "marvell,tauros2-cache";
38+
marvell,tauros2-cache-features = <0x3>;
39+
};

0 commit comments

Comments
 (0)