Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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) <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

authored by

Rob Herring (Arm) and committed by
Conor Dooley
64d60a02 438d216e

+39 -17
-17
Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt
··· 1 - * Marvell Tauros2 Cache 2 - 3 - Required properties: 4 - - compatible : Should be "marvell,tauros2-cache". 5 - - marvell,tauros2-cache-features : Specify the features supported for the 6 - tauros2 cache. 7 - The features including 8 - CACHE_TAUROS2_PREFETCH_ON (1 << 0) 9 - CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) 10 - The definition can be found at 11 - arch/arm/include/asm/hardware/cache-tauros2.h 12 - 13 - Example: 14 - L2: l2-cache { 15 - compatible = "marvell,tauros2-cache"; 16 - marvell,tauros2-cache-features = <0x3>; 17 - };
+39
Documentation/devicetree/bindings/cache/marvell,tauros2-cache.yaml
··· 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 <andrew@lunn.ch> 11 + - Gregory Clement <gregory.clement@bootlin.com> 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 + };