Merge tag 'kvm-s390-next-5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / ata / sata-common.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/sata-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Common Properties for Serial AT attachment (SATA) controllers
8
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
11
12 description: |
13   This document defines device tree properties common to most Serial
14   AT attachment (SATA) storage devices. It doesn't constitute a device tree
15   binding specification by itself but is meant to be referenced by device
16   tree bindings.
17
18   The SATA controller-specific device tree bindings are responsible for
19   defining whether each property is required or optional.
20
21 properties:
22   $nodename:
23     pattern: "^sata(@.*)?$"
24     description:
25       Specifies the host controller node. SATA host controller nodes are named
26       "sata"
27
28   "#address-cells":
29     const: 1
30
31   "#size-cells":
32     const: 0
33
34 patternProperties:
35   "^sata-port@[0-9a-e]$":
36     description: |
37       DT nodes for ports connected on the SATA host. The SATA port
38       nodes will be named "sata-port".
39     type: object
40
41     properties:
42       reg:
43         minimum: 0
44         maximum: 14
45         description:
46           The ID number of the drive port SATA can potentially use a port
47           multiplier making it possible to connect up to 15 disks to a single
48           SATA port.
49
50 ...