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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.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 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/mmc/snps,dwcmshc-sdhci.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Synopsys Designware Mobile Storage Host Controller
  8 
  9 maintainers:
 10   - Ulf Hansson <ulf.hansson@linaro.org>
 11   - Jisheng Zhang <Jisheng.Zhang@synaptics.com>
 12 
 13 properties:
 14   compatible:
 15     oneOf:
 16       - items:
 17           - const: rockchip,rk3576-dwcmshc
 18           - const: rockchip,rk3588-dwcmshc
 19       - enum:
 20           - rockchip,rk3568-dwcmshc
 21           - rockchip,rk3588-dwcmshc
 22           - snps,dwcmshc-sdhci
 23           - sophgo,cv1800b-dwcmshc
 24           - sophgo,sg2002-dwcmshc
 25           - sophgo,sg2042-dwcmshc
 26           - thead,th1520-dwcmshc
 27 
 28   reg:
 29     maxItems: 1
 30 
 31   interrupts:
 32     maxItems: 1
 33 
 34   clocks:
 35     minItems: 1
 36     maxItems: 5
 37 
 38   clock-names:
 39     minItems: 1
 40     maxItems: 5
 41 
 42   power-domains:
 43     maxItems: 1
 44 
 45   resets:
 46     maxItems: 5
 47 
 48   reset-names:
 49     items:
 50       - const: core
 51       - const: bus
 52       - const: axi
 53       - const: block
 54       - const: timer
 55 
 56   rockchip,txclk-tapnum:
 57     description: Specify the number of delay for tx sampling.
 58     $ref: /schemas/types.yaml#/definitions/uint8
 59 
 60 required:
 61   - compatible
 62   - reg
 63   - interrupts
 64   - clocks
 65   - clock-names
 66 
 67 allOf:
 68   - $ref: mmc-controller.yaml#
 69 
 70   - if:
 71       properties:
 72         compatible:
 73           contains:
 74             const: sophgo,sg2042-dwcmshc
 75 
 76     then:
 77       properties:
 78         clocks:
 79           items:
 80             - description: core clock
 81             - description: bus clock
 82             - description: timer clock
 83         clock-names:
 84           items:
 85             - const: core
 86             - const: bus
 87             - const: timer
 88     else:
 89       properties:
 90         clocks:
 91           minItems: 1
 92           items:
 93             - description: core clock
 94             - description: bus clock for optional
 95             - description: axi clock for rockchip specified
 96             - description: block clock for rockchip specified
 97             - description: timer clock for rockchip specified
 98         clock-names:
 99           minItems: 1
100           items:
101             - const: core
102             - const: bus
103             - const: axi
104             - const: block
105             - const: timer
106 
107   - if:
108       properties:
109         compatible:
110           contains:
111             const: rockchip,rk3576-dwcmshc
112 
113     then:
114       required:
115         - power-domains
116 
117     else:
118       properties:
119         power-domains: false
120 
121 unevaluatedProperties: false
122 
123 examples:
124   - |
125     mmc@fe310000 {
126       compatible = "rockchip,rk3568-dwcmshc";
127       reg = <0xfe310000 0x10000>;
128       interrupts = <0 25 0x4>;
129       clocks = <&cru 17>, <&cru 18>, <&cru 19>, <&cru 20>, <&cru 21>;
130       clock-names = "core", "bus", "axi", "block", "timer";
131       bus-width = <8>;
132       #address-cells = <1>;
133       #size-cells = <0>;
134     };
135   - |
136     mmc@aa0000 {
137       compatible = "snps,dwcmshc-sdhci";
138       reg = <0xaa000 0x1000>;
139       interrupts = <0 25 0x4>;
140       clocks = <&cru 17>, <&cru 18>;
141       clock-names = "core", "bus";
142       bus-width = <8>;
143       #address-cells = <1>;
144       #size-cells = <0>;
145     };
146 
147 ...

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