Skip to content

Commit f07f2b3

Browse files
robherringdamien-lemoal
authored andcommitted
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>
1 parent 439d476 commit f07f2b3

File tree

2 files changed

+43
-21
lines changed

2 files changed

+43
-21
lines changed

Documentation/devicetree/bindings/ata/ahci-dm816.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
};

0 commit comments

Comments
 (0)