Skip to content

Commit dcf2653

Browse files
AnimeshAgarwal28damien-lemoal
authored andcommitted
dt-bindings: ata: ahci-da850: Convert to dtschema
Convert the ahci-da850 bindings to DT schema. Signed-off-by: Animesh Agarwal <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 7c6a978 commit dcf2653

File tree

2 files changed

+39
-18
lines changed

2 files changed

+39
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 <[email protected]>
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+
};

0 commit comments

Comments
 (0)