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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ata/imx-sata.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/imx-sata.yaml (Architecture alpha) and /Documentation/devicetree/bindings/ata/imx-sata.yaml (Architecture ppc)


  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/imx-sat      4 $id: http://devicetree.org/schemas/ata/imx-sata.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale i.MX AHCI SATA Controller          7 title: Freescale i.MX AHCI SATA Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Shawn Guo <shawn.guo@linaro.org>                10   - Shawn Guo <shawn.guo@linaro.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The Freescale i.MX SATA controller mostly co     13   The Freescale i.MX SATA controller mostly conforms to the AHCI interface
 14   with some special extensions at integration      14   with some special extensions at integration level.
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     enum:                                          18     enum:
 19       - fsl,imx53-ahci                             19       - fsl,imx53-ahci
 20       - fsl,imx6q-ahci                             20       - fsl,imx6q-ahci
 21       - fsl,imx6qp-ahci                            21       - fsl,imx6qp-ahci
 22       - fsl,imx8qm-ahci                            22       - fsl,imx8qm-ahci
 23                                                    23 
 24   reg:                                             24   reg:
 25     maxItems: 1                                    25     maxItems: 1
 26                                                    26 
 27   interrupts:                                      27   interrupts:
 28     maxItems: 1                                    28     maxItems: 1
 29                                                    29 
 30   clocks:                                          30   clocks:
 31     minItems: 2                                    31     minItems: 2
 32     items:                                         32     items:
 33       - description: sata clock                    33       - description: sata clock
 34       - description: sata reference clock          34       - description: sata reference clock
 35       - description: ahb clock                     35       - description: ahb clock
 36                                                    36 
 37   clock-names:                                     37   clock-names:
 38     minItems: 2                                    38     minItems: 2
 39     items:                                         39     items:
 40       - const: sata                                40       - const: sata
 41       - const: sata_ref                            41       - const: sata_ref
 42       - const: ahb                                 42       - const: ahb
 43                                                    43 
 44   fsl,transmit-level-mV:                           44   fsl,transmit-level-mV:
 45     $ref: /schemas/types.yaml#/definitions/uin     45     $ref: /schemas/types.yaml#/definitions/uint32
 46     description: transmit voltage level, in mi     46     description: transmit voltage level, in millivolts.
 47                                                    47 
 48   fsl,transmit-boost-mdB:                          48   fsl,transmit-boost-mdB:
 49     $ref: /schemas/types.yaml#/definitions/uin     49     $ref: /schemas/types.yaml#/definitions/uint32
 50     description: transmit boost level, in mill     50     description: transmit boost level, in milli-decibels.
 51                                                    51 
 52   fsl,transmit-atten-16ths:                        52   fsl,transmit-atten-16ths:
 53     $ref: /schemas/types.yaml#/definitions/uin     53     $ref: /schemas/types.yaml#/definitions/uint32
 54     description: transmit attenuation, in 16th     54     description: transmit attenuation, in 16ths.
 55                                                    55 
 56   fsl,receive-eq-mdB:                              56   fsl,receive-eq-mdB:
 57     $ref: /schemas/types.yaml#/definitions/uin     57     $ref: /schemas/types.yaml#/definitions/uint32
 58     description: receive equalisation, in mill     58     description: receive equalisation, in milli-decibels.
 59                                                    59 
 60   fsl,no-spread-spectrum:                          60   fsl,no-spread-spectrum:
 61     $ref: /schemas/types.yaml#/definitions/fla     61     $ref: /schemas/types.yaml#/definitions/flag
 62     description: if present, disable spread-sp     62     description: if present, disable spread-spectrum clocking on the SATA link.
 63                                                    63 
 64   phys:                                            64   phys:
 65     items:                                         65     items:
 66       - description: phandle to SATA PHY.          66       - description: phandle to SATA PHY.
 67           Since "REXT" pin is only present for     67           Since "REXT" pin is only present for first lane of i.MX8QM PHY, it's
 68           calibration result will be stored, p     68           calibration result will be stored, passed through second lane, and
 69           shared with all three lanes PHY. The     69           shared with all three lanes PHY. The first two lanes PHY are used as
 70           calibration PHYs, although only the      70           calibration PHYs, although only the third lane PHY is used by SATA.
 71       - description: phandle to the first lane     71       - description: phandle to the first lane PHY of i.MX8QM.
 72       - description: phandle to the second lan     72       - description: phandle to the second lane PHY of i.MX8QM.
 73                                                    73 
 74   phy-names:                                       74   phy-names:
 75     items:                                         75     items:
 76       - const: sata-phy                            76       - const: sata-phy
 77       - const: cali-phy0                           77       - const: cali-phy0
 78       - const: cali-phy1                           78       - const: cali-phy1
 79                                                    79 
 80   power-domains:                                   80   power-domains:
 81     maxItems: 1                                    81     maxItems: 1
 82                                                    82 
 83 required:                                          83 required:
 84   - compatible                                     84   - compatible
 85   - reg                                            85   - reg
 86   - interrupts                                     86   - interrupts
 87   - clocks                                         87   - clocks
 88   - clock-names                                    88   - clock-names
 89                                                    89 
 90 allOf:                                             90 allOf:
 91   - if:                                            91   - if:
 92       properties:                                  92       properties:
 93         compatible:                                93         compatible:
 94           contains:                                94           contains:
 95             enum:                                  95             enum:
 96               - fsl,imx53-ahci                     96               - fsl,imx53-ahci
 97               - fsl,imx6q-ahci                     97               - fsl,imx6q-ahci
 98               - fsl,imx6qp-ahci                    98               - fsl,imx6qp-ahci
 99     then:                                          99     then:
100       properties:                                 100       properties:
101         clock-names:                              101         clock-names:
102           minItems: 3                             102           minItems: 3
103                                                   103 
104   - if:                                           104   - if:
105       properties:                                 105       properties:
106         compatible:                               106         compatible:
107           contains:                               107           contains:
108             enum:                                 108             enum:
109               - fsl,imx8qm-ahci                   109               - fsl,imx8qm-ahci
110     then:                                         110     then:
111       properties:                                 111       properties:
112         clock-names:                              112         clock-names:
113           minItems: 2                             113           minItems: 2
114                                                   114 
115 additionalProperties: false                       115 additionalProperties: false
116                                                   116 
117 examples:                                         117 examples:
118   - |                                             118   - |
119     #include <dt-bindings/clock/imx6qdl-clock.    119     #include <dt-bindings/clock/imx6qdl-clock.h>
120     #include <dt-bindings/interrupt-controller    120     #include <dt-bindings/interrupt-controller/arm-gic.h>
121                                                   121 
122     sata@2200000 {                                122     sata@2200000 {
123         compatible = "fsl,imx6q-ahci";            123         compatible = "fsl,imx6q-ahci";
124         reg = <0x02200000 0x4000>;                124         reg = <0x02200000 0x4000>;
125         interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH    125         interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
126         clocks = <&clks IMX6QDL_CLK_SATA>,        126         clocks = <&clks IMX6QDL_CLK_SATA>,
127                  <&clks IMX6QDL_CLK_SATA_REF_1    127                  <&clks IMX6QDL_CLK_SATA_REF_100M>,
128                  <&clks IMX6QDL_CLK_AHB>;         128                  <&clks IMX6QDL_CLK_AHB>;
129         clock-names = "sata", "sata_ref", "ahb    129         clock-names = "sata", "sata_ref", "ahb";
130     };                                            130     };
                                                      

~ [ 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