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

dt-bindings: net: marvell-bluetooth: Convert txt bindings to yaml

Convert documentation for The Marvell Avastar 88W8897 into YAML syntax.

Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20211009104716.46162-1-david@ixit.cz
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

David Heidelberg and committed by
Rob Herring
33ecdd38 dc1bf1e4

+31 -25
-25
Documentation/devicetree/bindings/net/marvell-bluetooth.txt
··· 1 - Marvell Bluetooth Chips 2 - ----------------------- 3 - 4 - This documents the binding structure and common properties for serial 5 - attached Marvell Bluetooth devices. The following chips are included in 6 - this binding: 7 - 8 - * Marvell 88W8897 Bluetooth devices 9 - 10 - Required properties: 11 - - compatible: should be: 12 - "mrvl,88w8897" 13 - 14 - Optional properties: 15 - None so far 16 - 17 - Example: 18 - 19 - &serial0 { 20 - compatible = "ns16550a"; 21 - ... 22 - bluetooth { 23 - compatible = "mrvl,88w8897"; 24 - }; 25 - };
+31
Documentation/devicetree/bindings/net/marvell-bluetooth.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/net/marvell-bluetooth.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: Marvell Bluetooth chips 8 + 9 + description: | 10 + This documents the binding structure and common properties for serial 11 + attached Marvell Bluetooth devices. 12 + 13 + maintainers: 14 + - Rob Herring <robh@kernel.org> 15 + 16 + properties: 17 + compatible: 18 + const: mrvl,88w8897 19 + 20 + required: 21 + - compatible 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + serial { 28 + bluetooth { 29 + compatible = "mrvl,88w8897"; 30 + }; 31 + };