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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mmc/sdhci-pxa.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/sdhci-pxa.yaml (Architecture ppc) and /Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/mmc/sdhci-p      4 $id: http://devicetree.org/schemas/mmc/sdhci-pxa.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Marvell PXA SDHCI v1/v2/v3                   7 title: Marvell PXA SDHCI v1/v2/v3
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Ulf Hansson <ulf.hansson@linaro.org>            10   - Ulf Hansson <ulf.hansson@linaro.org>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: mmc-controller.yaml#                     13   - $ref: mmc-controller.yaml#
 14   - if:                                            14   - if:
 15       properties:                                  15       properties:
 16         compatible:                                16         compatible:
 17           contains:                                17           contains:
 18             const: marvell,armada-380-sdhci        18             const: marvell,armada-380-sdhci
 19     then:                                          19     then:
 20       properties:                                  20       properties:
 21         reg:                                       21         reg:
 22           minItems: 3                              22           minItems: 3
 23         reg-names:                                 23         reg-names:
 24           minItems: 3                              24           minItems: 3
 25       required:                                    25       required:
 26         - reg-names                                26         - reg-names
 27     else:                                          27     else:
 28       properties:                                  28       properties:
 29         reg:                                       29         reg:
 30           maxItems: 1                              30           maxItems: 1
 31         reg-names:                                 31         reg-names:
 32           maxItems: 1                              32           maxItems: 1
 33                                                    33 
 34 properties:                                        34 properties:
 35   compatible:                                      35   compatible:
 36     enum:                                          36     enum:
 37       - mrvl,pxav1-mmc                             37       - mrvl,pxav1-mmc
 38       - mrvl,pxav2-mmc                             38       - mrvl,pxav2-mmc
 39       - mrvl,pxav3-mmc                             39       - mrvl,pxav3-mmc
 40       - marvell,armada-380-sdhci                   40       - marvell,armada-380-sdhci
 41                                                    41 
 42   reg:                                             42   reg:
 43     minItems: 1                                    43     minItems: 1
 44     maxItems: 3                                    44     maxItems: 3
 45                                                    45 
 46   reg-names:                                       46   reg-names:
 47     items:                                         47     items:
 48       - const: sdhci                               48       - const: sdhci
 49       - const: mbus                                49       - const: mbus
 50       - const: conf-sdio3                          50       - const: conf-sdio3
 51                                                    51 
 52   interrupts:                                      52   interrupts:
 53     maxItems: 1                                    53     maxItems: 1
 54                                                    54 
 55   clocks:                                          55   clocks:
 56     minItems: 1                                    56     minItems: 1
 57     maxItems: 2                                    57     maxItems: 2
 58                                                    58 
 59   clock-names:                                     59   clock-names:
 60     minItems: 1                                    60     minItems: 1
 61     items:                                         61     items:
 62       - const: io                                  62       - const: io
 63       - const: core                                63       - const: core
 64                                                    64 
 65   pinctrl-names:                                   65   pinctrl-names:
 66     description:                                   66     description:
 67       Optional for supporting PXA168 SDIO IRQ      67       Optional for supporting PXA168 SDIO IRQ errata to switch CMD pin between
 68       SDIO CMD and GPIO mode.                      68       SDIO CMD and GPIO mode.
 69     items:                                         69     items:
 70       - const: default                             70       - const: default
 71       - const: state_cmd_gpio                      71       - const: state_cmd_gpio
 72                                                    72 
 73   pinctrl-0:                                       73   pinctrl-0:
 74     description:                                   74     description:
 75       Should contain default pinctrl.              75       Should contain default pinctrl.
 76                                                    76 
 77   pinctrl-1:                                       77   pinctrl-1:
 78     description:                                   78     description:
 79       Should switch CMD pin to GPIO mode as a      79       Should switch CMD pin to GPIO mode as a high output.
 80                                                    80 
 81   mrvl,clk-delay-cycles:                           81   mrvl,clk-delay-cycles:
 82     description: Specify a number of cycles to     82     description: Specify a number of cycles to delay for tuning.
 83     $ref: /schemas/types.yaml#/definitions/uin     83     $ref: /schemas/types.yaml#/definitions/uint32
 84                                                    84 
 85 required:                                          85 required:
 86   - compatible                                     86   - compatible
 87   - reg                                            87   - reg
 88   - interrupts                                     88   - interrupts
 89   - clocks                                         89   - clocks
 90   - clock-names                                    90   - clock-names
 91                                                    91 
 92 unevaluatedProperties: false                       92 unevaluatedProperties: false
 93                                                    93 
 94 examples:                                          94 examples:
 95   - |                                              95   - |
 96     #include <dt-bindings/clock/berlin2.h>         96     #include <dt-bindings/clock/berlin2.h>
 97     mmc@d4280800 {                                 97     mmc@d4280800 {
 98         compatible = "mrvl,pxav3-mmc";             98         compatible = "mrvl,pxav3-mmc";
 99         reg = <0xd4280800 0x800>;                  99         reg = <0xd4280800 0x800>;
100         bus-width = <8>;                          100         bus-width = <8>;
101         interrupts = <27>;                        101         interrupts = <27>;
102         clocks = <&chip CLKID_SDIO1XIN>, <&chi    102         clocks = <&chip CLKID_SDIO1XIN>, <&chip CLKID_SDIO1>;
103         clock-names = "io", "core";               103         clock-names = "io", "core";
104         non-removable;                            104         non-removable;
105         mrvl,clk-delay-cycles = <31>;             105         mrvl,clk-delay-cycles = <31>;
106     };                                            106     };
107   - |                                             107   - |
108     mmc@d8000 {                                   108     mmc@d8000 {
109         compatible = "marvell,armada-380-sdhci    109         compatible = "marvell,armada-380-sdhci";
110         reg-names = "sdhci", "mbus", "conf-sdi    110         reg-names = "sdhci", "mbus", "conf-sdio3";
111         reg = <0xd8000 0x1000>,                   111         reg = <0xd8000 0x1000>,
112               <0xdc000 0x100>,                    112               <0xdc000 0x100>,
113               <0x18454 0x4>;                      113               <0x18454 0x4>;
114         interrupts = <0 25 0x4>;                  114         interrupts = <0 25 0x4>;
115         clocks = <&gateclk 17>;                   115         clocks = <&gateclk 17>;
116         clock-names = "io";                       116         clock-names = "io";
117         mrvl,clk-delay-cycles = <0x1F>;           117         mrvl,clk-delay-cycles = <0x1F>;
118     };                                            118     };
119                                                   119 
120 ...                                               120 ...
                                                      

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