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

dt-bindings: ata: Convert ti,dm816-ahci to DT schema

Convert the TI DM816 AHCI SATA Controller to DT schema format. It's a
straight-forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>

authored by

Rob Herring (Arm) and committed by
Damien Le Moal
f07f2b3f 439d4760

+43 -21
-21
Documentation/devicetree/bindings/ata/ahci-dm816.txt
··· 1 - Device tree binding for the TI DM816 AHCI SATA Controller 2 - --------------------------------------------------------- 3 - 4 - Required properties: 5 - - compatible: must be "ti,dm816-ahci" 6 - - reg: physical base address and size of the register region used by 7 - the controller (as defined by the AHCI 1.1 standard) 8 - - interrupts: interrupt specifier (refer to the interrupt binding) 9 - - clocks: list of phandle and clock specifier pairs (or only 10 - phandles for clock providers with '0' defined for 11 - #clock-cells); two clocks must be specified: the functional 12 - clock and an external reference clock 13 - 14 - Example: 15 - 16 - sata: sata@4a140000 { 17 - compatible = "ti,dm816-ahci"; 18 - reg = <0x4a140000 0x10000>; 19 - interrupts = <16>; 20 - clocks = <&sysclk5_ck>, <&sata_refclk>; 21 - };
+43
Documentation/devicetree/bindings/ata/ti,dm816-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,dm816-ahci.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI DM816 AHCI SATA Controller 8 + 9 + maintainers: 10 + - Bartosz Golaszewski <brgl@bgdev.pl> 11 + 12 + allOf: 13 + - $ref: ahci-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: ti,dm816-ahci 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + clocks: 23 + items: 24 + - description: functional clock 25 + - description: external reference clock 26 + 27 + ti,hwmods: 28 + const: sata 29 + 30 + required: 31 + - compatible 32 + - clocks 33 + 34 + unevaluatedProperties: false 35 + 36 + examples: 37 + - | 38 + sata@4a140000 { 39 + compatible = "ti,dm816-ahci"; 40 + reg = <0x4a140000 0x10000>; 41 + interrupts = <16>; 42 + clocks = <&sysclk5_ck>, <&sata_refclk>; 43 + };