~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ata/ahci-common.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/ata/ahci-common.yaml (Architecture sparc) and /Documentation/devicetree/bindings/ata/ahci-common.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/ata/ahci-co      4 $id: http://devicetree.org/schemas/ata/ahci-common.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Common Properties for Serial ATA AHCI c      7 title: Common Properties for Serial ATA AHCI controllers
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Hans de Goede <hdegoede@redhat.com>             10   - Hans de Goede <hdegoede@redhat.com>
 11   - Damien Le Moal <dlemoal@kernel.org>             11   - Damien Le Moal <dlemoal@kernel.org>
 12                                                    12 
 13 description:                                       13 description:
 14   This document defines device tree properties     14   This document defines device tree properties for a common AHCI SATA
 15   controller implementation. It's hardware int     15   controller implementation. It's hardware interface is supposed to
 16   conform to the technical standard defined by     16   conform to the technical standard defined by Intel (see Serial ATA
 17   Advanced Host Controller Interface specifica     17   Advanced Host Controller Interface specification for details). The
 18   document doesn't constitute a DT-node bindin     18   document doesn't constitute a DT-node binding by itself but merely
 19   defines a set of common properties for the A     19   defines a set of common properties for the AHCI-compatible devices.
 20                                                    20 
 21 select: false                                      21 select: false
 22                                                    22 
 23 allOf:                                             23 allOf:
 24   - $ref: sata-common.yaml#                        24   - $ref: sata-common.yaml#
 25                                                    25 
 26 properties:                                        26 properties:
 27   reg:                                             27   reg:
 28     description:                                   28     description:
 29       Generic AHCI registers space conforming      29       Generic AHCI registers space conforming to the Serial ATA AHCI
 30       specification.                               30       specification.
 31                                                    31 
 32   reg-names:                                       32   reg-names:
 33     description: CSR space IDs                     33     description: CSR space IDs
 34     contains:                                      34     contains:
 35       const: ahci                                  35       const: ahci
 36                                                    36 
 37   interrupts:                                      37   interrupts:
 38     description:                                   38     description:
 39       Generic AHCI state change interrupt. Can     39       Generic AHCI state change interrupt. Can be implemented either as a
 40       single line attached to the controller o     40       single line attached to the controller or as a set of the signals
 41       indicating the particular port events.       41       indicating the particular port events.
 42     minItems: 1                                    42     minItems: 1
 43     maxItems: 32                                   43     maxItems: 32
 44                                                    44 
 45   ahci-supply:                                     45   ahci-supply:
 46     description: Power regulator for AHCI cont     46     description: Power regulator for AHCI controller
 47                                                    47 
 48   target-supply:                                   48   target-supply:
 49     description: Power regulator for SATA targ     49     description: Power regulator for SATA target device
 50                                                    50 
 51   phy-supply:                                      51   phy-supply:
 52     description: Power regulator for SATA PHY      52     description: Power regulator for SATA PHY
 53                                                    53 
 54   phys:                                            54   phys:
 55     description: Reference to the SATA PHY nod     55     description: Reference to the SATA PHY node
 56     maxItems: 1                                    56     maxItems: 1
 57                                                    57 
 58   phy-names:                                       58   phy-names:
 59     const: sata-phy                                59     const: sata-phy
 60                                                    60 
 61   hba-cap:                                         61   hba-cap:
 62     $ref: /schemas/types.yaml#/definitions/uin     62     $ref: /schemas/types.yaml#/definitions/uint32
 63     description:                                   63     description:
 64       Bitfield of the HBA generic platform cap     64       Bitfield of the HBA generic platform capabilities like Staggered
 65       Spin-up or Mechanical Presence Switch su     65       Spin-up or Mechanical Presence Switch support. It can be used to
 66       appropriately initialize the HWinit fiel     66       appropriately initialize the HWinit fields of the HBA CAP register
 67       in case if the system firmware hasn't do     67       in case if the system firmware hasn't done it.
 68                                                    68 
 69   ports-implemented:                               69   ports-implemented:
 70     $ref: /schemas/types.yaml#/definitions/uin     70     $ref: /schemas/types.yaml#/definitions/uint32
 71     description:                                   71     description:
 72       Mask that indicates which ports the HBA      72       Mask that indicates which ports the HBA supports. Useful if PI is not
 73       programmed by the BIOS, which is true fo     73       programmed by the BIOS, which is true for some embedded SoC's.
 74                                                    74 
 75 patternProperties:                                 75 patternProperties:
 76   "^sata-port@[0-9a-f]+$":                         76   "^sata-port@[0-9a-f]+$":
 77     $ref: '#/$defs/ahci-port'                      77     $ref: '#/$defs/ahci-port'
 78     description:                                   78     description:
 79       It is optionally possible to describe th     79       It is optionally possible to describe the ports as sub-nodes so
 80       to enable each port independently when d     80       to enable each port independently when dealing with multiple PHYs.
 81                                                    81 
 82 required:                                          82 required:
 83   - reg                                            83   - reg
 84   - interrupts                                     84   - interrupts
 85                                                    85 
 86 additionalProperties: true                         86 additionalProperties: true
 87                                                    87 
 88 $defs:                                             88 $defs:
 89   ahci-port:                                       89   ahci-port:
 90     $ref: /schemas/ata/sata-common.yaml#/$defs     90     $ref: /schemas/ata/sata-common.yaml#/$defs/sata-port
 91                                                    91 
 92     properties:                                    92     properties:
 93       reg:                                         93       reg:
 94         description:                               94         description:
 95           AHCI SATA port identifier. By design     95           AHCI SATA port identifier. By design AHCI controller can't have
 96           more than 32 ports due to the CAP.NP     96           more than 32 ports due to the CAP.NP fields and PI register size
 97           constraints.                             97           constraints.
 98         minimum: 0                                 98         minimum: 0
 99         maximum: 31                                99         maximum: 31
100                                                   100 
101       phys:                                       101       phys:
102         description: Individual AHCI SATA port    102         description: Individual AHCI SATA port PHY
103         maxItems: 1                               103         maxItems: 1
104                                                   104 
105       phy-names:                                  105       phy-names:
106         description: AHCI SATA port PHY ID        106         description: AHCI SATA port PHY ID
107         const: sata-phy                           107         const: sata-phy
108                                                   108 
109       target-supply:                              109       target-supply:
110         description: Power regulator for SATA     110         description: Power regulator for SATA port target device
111                                                   111 
112       hba-port-cap:                               112       hba-port-cap:
113         $ref: /schemas/types.yaml#/definitions    113         $ref: /schemas/types.yaml#/definitions/uint32
114         description:                              114         description:
115           Bitfield of the HBA port-specific pl    115           Bitfield of the HBA port-specific platform capabilities like Hot
116           plugging, eSATA, FIS-based Switching    116           plugging, eSATA, FIS-based Switching, etc (see AHCI specification
117           for details). It can be used to init    117           for details). It can be used to initialize the HWinit fields of
118           the PxCMD register in case if the sy    118           the PxCMD register in case if the system firmware hasn't done it.
119                                                   119 
120     required:                                     120     required:
121       - reg                                       121       - reg
122                                                   122 
123 ...                                               123 ...
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php