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

dt-bindings: firmware: brcm,kona-smc: convert to YAML

Convert Broadcom Kona family Secure Monitor bounce buffer bindings
to DT schema.

Changes during conversion:
- move from misc to firmware subdirectory
- add used, but previously undocumented SoC-specific compatibles
- drop deprecated compatibles (they've been deprecated for ~10 years)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Link: https://lore.kernel.org/r/20230618151308.GA23586@standask-GA-A55M-S2HP
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Stanislav Jakubek and committed by
Florian Fainelli
bf3ca248 752a63b8

+39 -15
+39
Documentation/devicetree/bindings/firmware/brcm,kona-smc.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/firmware/brcm,kona-smc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Broadcom Kona family Secure Monitor bounce buffer 8 + 9 + description: 10 + A bounce buffer used for non-secure to secure communications. 11 + 12 + maintainers: 13 + - Florian Fainelli <f.fainelli@gmail.com> 14 + 15 + properties: 16 + compatible: 17 + items: 18 + - enum: 19 + - brcm,bcm11351-smc 20 + - brcm,bcm21664-smc 21 + - brcm,bcm23550-smc 22 + - const: brcm,kona-smc 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + required: 28 + - compatible 29 + - reg 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + smc@3404c000 { 36 + compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; 37 + reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */ 38 + }; 39 + ...
-15
Documentation/devicetree/bindings/misc/brcm,kona-smc.txt
··· 1 - Broadcom Secure Monitor Bounce buffer 2 - ----------------------------------------------------- 3 - This binding defines the location of the bounce buffer 4 - used for non-secure to secure communications. 5 - 6 - Required properties: 7 - - compatible : "brcm,kona-smc" 8 - - DEPRECATED: compatible : "bcm,kona-smc" 9 - - reg : Location and size of bounce buffer 10 - 11 - Example: 12 - smc@3404c000 { 13 - compatible = "brcm,bcm11351-smc", "brcm,kona-smc"; 14 - reg = <0x3404c000 0x400>; //1 KiB in SRAM 15 - };