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 / pata-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/pata-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Common Properties for Parallel AT attachment (PATA) controllers
8
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
11
12 description: |
13   This document defines device tree properties common to most Parallel
14   ATA (PATA, also known as IDE) AT attachment storage devices.
15   It doesn't constitue a device tree binding specification by itself but is
16   meant to be referenced by device tree bindings.
17
18   The PATA (IDE) controller-specific device tree bindings are responsible for
19   defining whether each property is required or optional.
20
21 properties:
22   $nodename:
23     pattern: "^ide(@.*)?$"
24     description:
25       Specifies the host controller node. PATA host controller nodes are named
26       "ide".
27
28   "#address-cells":
29     const: 1
30
31   "#size-cells":
32     const: 0
33
34 patternProperties:
35   "^ide-port@[0-1]$":
36     description: |
37       DT nodes for ports connected on the PATA host. The master drive will have
38       ID number 0 and the slave drive will have ID number 1. The PATA port
39       nodes will be named "ide-port".
40     type: object
41
42     properties:
43       reg:
44         minimum: 0
45         maximum: 1
46         description:
47           The ID number of the drive port, 0 for the master port and 1 for the
48           slave port.
49
50 ...