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

dt-bindings: ata: ahci-da850: Convert to dtschema

Convert the ahci-da850 bindings to DT schema.

Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>

authored by

Animesh Agarwal and committed by
Damien Le Moal
dcf2653a 7c6a9783

+39 -18
-18
Documentation/devicetree/bindings/ata/ahci-da850.txt
··· 1 - Device tree binding for the TI DA850 AHCI SATA Controller 2 - --------------------------------------------------------- 3 - 4 - Required properties: 5 - - compatible: must be "ti,da850-ahci" 6 - - reg: physical base addresses and sizes of the two register regions 7 - used by the controller: the register map as defined by the 8 - AHCI 1.1 standard and the Power Down Control Register (PWRDN) 9 - for enabling/disabling the SATA clock receiver 10 - - interrupts: interrupt specifier (refer to the interrupt binding) 11 - 12 - Example: 13 - 14 - sata: sata@218000 { 15 - compatible = "ti,da850-ahci"; 16 - reg = <0x218000 0x2000>, <0x22c018 0x4>; 17 - interrupts = <67>; 18 - };
+39
Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/ata/ti,da850-ahci.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI DA850 AHCI SATA Controller 8 + 9 + maintainers: 10 + - Animesh Agarwal <animeshagarwal28@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + const: ti,da850-ahci 15 + 16 + reg: 17 + items: 18 + - description: Address and size of the register map as defined by the AHCI 1.1 standard. 19 + - description: 20 + Address and size of Power Down Control Register (PWRDN) for enabling/disabling the SATA clock 21 + receiver. 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - interrupts 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + sata@218000 { 36 + compatible = "ti,da850-ahci"; 37 + reg = <0x218000 0x2000>, <0x22c018 0x4>; 38 + interrupts = <67>; 39 + };