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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.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/rockchip,dwc-ahci.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.yaml (Version linux-6.7.12)


  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/rockchi      4 $id: http://devicetree.org/schemas/ata/rockchip,dwc-ahci.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Synopsys DWC AHCI SATA controller for R      7 title: Synopsys DWC AHCI SATA controller for Rockchip devices
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Serge Semin <fancer.lancer@gmail.com>           10   - Serge Semin <fancer.lancer@gmail.com>
 11                                                    11 
 12 description:                                       12 description:
 13   This document defines device tree bindings f     13   This document defines device tree bindings for the Synopsys DWC
 14   implementation of the AHCI SATA controller f     14   implementation of the AHCI SATA controller found in Rockchip
 15   devices.                                         15   devices.
 16                                                    16 
 17 select:                                            17 select:
 18   properties:                                      18   properties:
 19     compatible:                                    19     compatible:
 20       contains:                                    20       contains:
 21         enum:                                      21         enum:
 22           - rockchip,rk3568-dwc-ahci               22           - rockchip,rk3568-dwc-ahci
 23           - rockchip,rk3588-dwc-ahci               23           - rockchip,rk3588-dwc-ahci
 24   required:                                        24   required:
 25     - compatible                                   25     - compatible
 26                                                    26 
 27 properties:                                        27 properties:
 28   compatible:                                      28   compatible:
 29     items:                                         29     items:
 30       - enum:                                      30       - enum:
 31           - rockchip,rk3568-dwc-ahci               31           - rockchip,rk3568-dwc-ahci
 32           - rockchip,rk3588-dwc-ahci               32           - rockchip,rk3588-dwc-ahci
 33       - const: snps,dwc-ahci                       33       - const: snps,dwc-ahci
 34                                                    34 
 35   ports-implemented:                               35   ports-implemented:
 36     const: 1                                       36     const: 1
 37                                                    37 
 38   power-domains:                               << 
 39     maxItems: 1                                << 
 40                                                << 
 41   sata-port@0:                                     38   sata-port@0:
 42     $ref: /schemas/ata/snps,dwc-ahci-common.ya     39     $ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
 43                                                    40 
 44     properties:                                    41     properties:
 45       reg:                                         42       reg:
 46         const: 0                                   43         const: 0
 47                                                    44 
 48     unevaluatedProperties: false                   45     unevaluatedProperties: false
 49                                                    46 
 50 patternProperties:                                 47 patternProperties:
 51   "^sata-port@[1-9a-e]$": false                    48   "^sata-port@[1-9a-e]$": false
 52                                                    49 
 53 required:                                          50 required:
 54   - compatible                                     51   - compatible
 55   - reg                                            52   - reg
 56   - interrupts                                     53   - interrupts
 57   - clocks                                         54   - clocks
 58   - clock-names                                    55   - clock-names
 59   - ports-implemented                              56   - ports-implemented
 60                                                    57 
 61 allOf:                                             58 allOf:
 62   - $ref: snps,dwc-ahci-common.yaml#               59   - $ref: snps,dwc-ahci-common.yaml#
 63   - if:                                            60   - if:
 64       properties:                                  61       properties:
 65         compatible:                                62         compatible:
 66           contains:                                63           contains:
 67             enum:                                  64             enum:
 68               - rockchip,rk3588-dwc-ahci           65               - rockchip,rk3588-dwc-ahci
 69     then:                                          66     then:
 70       properties:                                  67       properties:
 71         clocks:                                    68         clocks:
 72           maxItems: 5                              69           maxItems: 5
 73         clock-names:                               70         clock-names:
 74           items:                                   71           items:
 75             - const: sata                          72             - const: sata
 76             - const: pmalive                       73             - const: pmalive
 77             - const: rxoob                         74             - const: rxoob
 78             - const: ref                           75             - const: ref
 79             - const: asic                          76             - const: asic
 80   - if:                                            77   - if:
 81       properties:                                  78       properties:
 82         compatible:                                79         compatible:
 83           contains:                                80           contains:
 84             enum:                                  81             enum:
 85               - rockchip,rk3568-dwc-ahci           82               - rockchip,rk3568-dwc-ahci
 86     then:                                          83     then:
 87       properties:                                  84       properties:
 88         clocks:                                    85         clocks:
 89           maxItems: 3                              86           maxItems: 3
 90         clock-names:                               87         clock-names:
 91           items:                                   88           items:
 92             - const: sata                          89             - const: sata
 93             - const: pmalive                       90             - const: pmalive
 94             - const: rxoob                         91             - const: rxoob
 95                                                    92 
 96 unevaluatedProperties: false                       93 unevaluatedProperties: false
 97                                                    94 
 98 examples:                                          95 examples:
 99   - |                                              96   - |
100     #include <dt-bindings/clock/rockchip,rk358     97     #include <dt-bindings/clock/rockchip,rk3588-cru.h>
101     #include <dt-bindings/interrupt-controller     98     #include <dt-bindings/interrupt-controller/arm-gic.h>
102     #include <dt-bindings/ata/ahci.h>              99     #include <dt-bindings/ata/ahci.h>
103     #include <dt-bindings/phy/phy.h>              100     #include <dt-bindings/phy/phy.h>
104                                                   101 
105     sata@fe210000 {                               102     sata@fe210000 {
106       compatible = "rockchip,rk3588-dwc-ahci",    103       compatible = "rockchip,rk3588-dwc-ahci", "snps,dwc-ahci";
107       reg = <0xfe210000 0x1000>;                  104       reg = <0xfe210000 0x1000>;
108       clocks = <&cru ACLK_SATA0>, <&cru CLK_PM    105       clocks = <&cru ACLK_SATA0>, <&cru CLK_PMALIVE0>,
109                <&cru CLK_RXOOB0>, <&cru CLK_PI    106                <&cru CLK_RXOOB0>, <&cru CLK_PIPEPHY0_REF>,
110                <&cru CLK_PIPEPHY0_PIPE_ASIC_G>    107                <&cru CLK_PIPEPHY0_PIPE_ASIC_G>;
111       clock-names = "sata", "pmalive", "rxoob"    108       clock-names = "sata", "pmalive", "rxoob", "ref", "asic";
112       interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL    109       interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH 0>;
113       ports-implemented = <0x1>;                  110       ports-implemented = <0x1>;
114       #address-cells = <1>;                       111       #address-cells = <1>;
115       #size-cells = <0>;                          112       #size-cells = <0>;
116                                                   113 
117       sata-port@0 {                               114       sata-port@0 {
118         reg = <0>;                                115         reg = <0>;
119         hba-port-cap = <HBA_PORT_FBSCP>;          116         hba-port-cap = <HBA_PORT_FBSCP>;
120         phys = <&combphy0_ps PHY_TYPE_SATA>;      117         phys = <&combphy0_ps PHY_TYPE_SATA>;
121         phy-names = "sata-phy";                   118         phy-names = "sata-phy";
122         snps,rx-ts-max = <32>;                    119         snps,rx-ts-max = <32>;
123         snps,tx-ts-max = <32>;                    120         snps,tx-ts-max = <32>;
124       };                                          121       };
125     };                                            122     };
126                                                   123 
127 ...                                               124 ...
                                                      

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