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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.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/mmc/synopsys-dw-mshc.yaml (Architecture sparc) and /Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml (Architecture i386)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/mmc/synopsy      4 $id: http://devicetree.org/schemas/mmc/synopsys-dw-mshc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Synopsys Designware Mobile Storage Host      7 title: Synopsys Designware Mobile Storage Host Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Ulf Hansson <ulf.hansson@linaro.org>            10   - Ulf Hansson <ulf.hansson@linaro.org>
 11                                                    11 
 12 # Everything else is described in the common f     12 # Everything else is described in the common file
 13 properties:                                        13 properties:
 14   compatible:                                      14   compatible:
 15     enum:                                          15     enum:
 16       - altr,socfpga-dw-mshc                       16       - altr,socfpga-dw-mshc
 17       - img,pistachio-dw-mshc                      17       - img,pistachio-dw-mshc
 18       - snps,dw-mshc                               18       - snps,dw-mshc
 19                                                    19 
 20   reg:                                             20   reg:
 21     maxItems: 1                                    21     maxItems: 1
 22                                                    22 
 23   interrupts:                                      23   interrupts:
 24     maxItems: 1                                    24     maxItems: 1
 25                                                    25 
 26   clocks:                                          26   clocks:
 27     minItems: 2                                    27     minItems: 2
 28     maxItems: 2                                    28     maxItems: 2
 29     description:                                   29     description:
 30       Handle to "biu" and "ciu" clocks for the     30       Handle to "biu" and "ciu" clocks for the
 31       bus interface unit clock and the card in     31       bus interface unit clock and the card interface unit clock.
 32                                                    32 
 33   clock-names:                                     33   clock-names:
 34     items:                                         34     items:
 35       - const: biu                                 35       - const: biu
 36       - const: ciu                                 36       - const: ciu
 37                                                    37 
 38   iommus:                                          38   iommus:
 39     maxItems: 1                                    39     maxItems: 1
 40                                                    40 
 41   altr,sysmgr-syscon:                              41   altr,sysmgr-syscon:
 42     $ref: /schemas/types.yaml#/definitions/pha     42     $ref: /schemas/types.yaml#/definitions/phandle-array
 43     items:                                         43     items:
 44       - items:                                     44       - items:
 45           - description: phandle to the sysmgr     45           - description: phandle to the sysmgr node
 46           - description: register offset that      46           - description: register offset that controls the SDMMC clock phase
 47           - description: register shift for th     47           - description: register shift for the smplsel(drive in) setting
 48     description:                                   48     description:
 49       This property is optional. Contains the      49       This property is optional. Contains the phandle to System Manager block
 50       that contains the SDMMC clock-phase cont     50       that contains the SDMMC clock-phase control register. The first value is
 51       the pointer to the sysmgr, the 2nd value     51       the pointer to the sysmgr, the 2nd value is the register offset for the
 52       SDMMC clock phase register, and the 3rd      52       SDMMC clock phase register, and the 3rd value is the bit shift for the
 53       smplsel(drive in) setting.                   53       smplsel(drive in) setting.
 54                                                    54 
 55 allOf:                                             55 allOf:
 56   - $ref: synopsys-dw-mshc-common.yaml#            56   - $ref: synopsys-dw-mshc-common.yaml#
 57                                                    57 
 58   - if:                                            58   - if:
 59       properties:                                  59       properties:
 60         compatible:                                60         compatible:
 61           contains:                                61           contains:
 62             const: altr,socfpga-dw-mshc            62             const: altr,socfpga-dw-mshc
 63     then:                                          63     then:
 64       properties:                                  64       properties:
 65         altr,sysmgr-syscon: true                   65         altr,sysmgr-syscon: true
 66     else:                                          66     else:
 67       properties:                                  67       properties:
 68         iommus: false                              68         iommus: false
 69         altr,sysmgr-syscon: false                  69         altr,sysmgr-syscon: false
 70                                                    70 
 71 required:                                          71 required:
 72   - compatible                                     72   - compatible
 73   - reg                                            73   - reg
 74   - interrupts                                     74   - interrupts
 75   - clocks                                         75   - clocks
 76   - clock-names                                    76   - clock-names
 77                                                    77 
 78 unevaluatedProperties: false                       78 unevaluatedProperties: false
 79                                                    79 
 80 examples:                                          80 examples:
 81   - |                                              81   - |
 82     mmc@12200000 {                                 82     mmc@12200000 {
 83       compatible = "snps,dw-mshc";                 83       compatible = "snps,dw-mshc";
 84       reg = <0x12200000 0x1000>;                   84       reg = <0x12200000 0x1000>;
 85       interrupts = <0 75 0>;                       85       interrupts = <0 75 0>;
 86       clocks = <&clock 351>, <&clock 132>;         86       clocks = <&clock 351>, <&clock 132>;
 87       clock-names = "biu", "ciu";                  87       clock-names = "biu", "ciu";
 88       dmas = <&pdma 12>;                           88       dmas = <&pdma 12>;
 89       dma-names = "rx-tx";                         89       dma-names = "rx-tx";
 90       resets = <&rst 20>;                          90       resets = <&rst 20>;
 91       reset-names = "reset";                       91       reset-names = "reset";
 92       vmmc-supply = <&buck8>;                      92       vmmc-supply = <&buck8>;
 93       #address-cells = <1>;                        93       #address-cells = <1>;
 94       #size-cells = <0>;                           94       #size-cells = <0>;
 95       broken-cd;                                   95       broken-cd;
 96       bus-width = <8>;                             96       bus-width = <8>;
 97       cap-mmc-highspeed;                           97       cap-mmc-highspeed;
 98       cap-sd-highspeed;                            98       cap-sd-highspeed;
 99       card-detect-delay = <200>;                   99       card-detect-delay = <200>;
100       max-frequency = <200000000>;                100       max-frequency = <200000000>;
101       clock-frequency = <400000000>;              101       clock-frequency = <400000000>;
102       data-addr = <0x200>;                        102       data-addr = <0x200>;
103       fifo-depth = <0x80>;                        103       fifo-depth = <0x80>;
104       fifo-watermark-aligned;                     104       fifo-watermark-aligned;
105     };                                            105     };
                                                      

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