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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.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/mtd/st,stm32-fmc2-nand.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/mtd/st,stm32-fmc2-nand.yaml (Version linux-6.0.19)


  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/mtd/st,stm3      4 $id: http://devicetree.org/schemas/mtd/st,stm32-fmc2-nand.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: STMicroelectronics Flexible Memory Cont !!   7 title: STMicroelectronics Flexible Memory Controller 2 (FMC2) Bindings
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Christophe Kerello <christophe.kerello@foss     10   - Christophe Kerello <christophe.kerello@foss.st.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - st,stm32mp15-fmc2                          15       - st,stm32mp15-fmc2
 16       - st,stm32mp1-fmc2-nfc                       16       - st,stm32mp1-fmc2-nfc
 17       - st,stm32mp25-fmc2-nfc                  << 
 18                                                    17 
 19   reg:                                             18   reg:
 20     minItems: 6                                    19     minItems: 6
 21     maxItems: 12                               !!  20     maxItems: 7
 22                                                    21 
 23   interrupts:                                      22   interrupts:
 24     maxItems: 1                                    23     maxItems: 1
 25                                                    24 
 26   dmas:                                            25   dmas:
 27     items:                                         26     items:
 28       - description: tx DMA channel                27       - description: tx DMA channel
 29       - description: rx DMA channel                28       - description: rx DMA channel
 30       - description: ecc DMA channel               29       - description: ecc DMA channel
 31                                                    30 
 32   dma-names:                                       31   dma-names:
 33     items:                                         32     items:
 34       - const: tx                                  33       - const: tx
 35       - const: rx                                  34       - const: rx
 36       - const: ecc                                 35       - const: ecc
 37                                                    36 
 38 patternProperties:                                 37 patternProperties:
 39   "^nand@[a-f0-9]$":                               38   "^nand@[a-f0-9]$":
 40     type: object                                   39     type: object
 41     $ref: raw-nand-chip.yaml                   << 
 42     properties:                                    40     properties:
 43       nand-ecc-step-size:                          41       nand-ecc-step-size:
 44         const: 512                                 42         const: 512
 45                                                    43 
 46       nand-ecc-strength:                           44       nand-ecc-strength:
 47         enum: [1, 4, 8]                            45         enum: [1, 4, 8]
 48                                                    46 
 49     unevaluatedProperties: false               << 
 50                                                << 
 51 allOf:                                             47 allOf:
 52   - $ref: nand-controller.yaml#                !!  48   - $ref: "nand-controller.yaml#"
 53                                                    49 
 54   - if:                                            50   - if:
 55       properties:                                  51       properties:
 56         compatible:                                52         compatible:
 57           contains:                                53           contains:
 58             const: st,stm32mp15-fmc2               54             const: st,stm32mp15-fmc2
 59     then:                                          55     then:
 60       properties:                                  56       properties:
 61         reg:                                       57         reg:
 62           items:                                   58           items:
 63             - description: Registers               59             - description: Registers
 64             - description: Chip select 0 data      60             - description: Chip select 0 data
 65             - description: Chip select 0 comma     61             - description: Chip select 0 command
 66             - description: Chip select 0 addre     62             - description: Chip select 0 address space
 67             - description: Chip select 1 data      63             - description: Chip select 1 data
 68             - description: Chip select 1 comma     64             - description: Chip select 1 command
 69             - description: Chip select 1 addre     65             - description: Chip select 1 address space
 70                                                    66 
 71         clocks:                                    67         clocks:
 72           maxItems: 1                              68           maxItems: 1
 73                                                    69 
 74         resets:                                    70         resets:
 75           maxItems: 1                              71           maxItems: 1
 76                                                    72 
 77       required:                                    73       required:
 78         - clocks                                   74         - clocks
 79                                                    75 
 80   - if:                                            76   - if:
 81       properties:                                  77       properties:
 82         compatible:                                78         compatible:
 83           contains:                                79           contains:
 84             const: st,stm32mp1-fmc2-nfc            80             const: st,stm32mp1-fmc2-nfc
 85     then:                                          81     then:
 86       properties:                                  82       properties:
 87         reg:                                       83         reg:
 88           items:                                   84           items:
 89             - description: Chip select 0 data      85             - description: Chip select 0 data
 90             - description: Chip select 0 comma     86             - description: Chip select 0 command
 91             - description: Chip select 0 addre     87             - description: Chip select 0 address space
 92             - description: Chip select 1 data      88             - description: Chip select 1 data
 93             - description: Chip select 1 comma     89             - description: Chip select 1 command
 94             - description: Chip select 1 addre     90             - description: Chip select 1 address space
 95                                                    91 
 96   - if:                                        << 
 97       properties:                              << 
 98         compatible:                            << 
 99           contains:                            << 
100             const: st,stm32mp25-fmc2-nfc       << 
101     then:                                      << 
102       properties:                              << 
103         reg:                                   << 
104           items:                               << 
105             - description: Chip select 0 data  << 
106             - description: Chip select 0 comma << 
107             - description: Chip select 0 addre << 
108             - description: Chip select 1 data  << 
109             - description: Chip select 1 comma << 
110             - description: Chip select 1 addre << 
111             - description: Chip select 2 data  << 
112             - description: Chip select 2 comma << 
113             - description: Chip select 2 addre << 
114             - description: Chip select 3 data  << 
115             - description: Chip select 3 comma << 
116             - description: Chip select 3 addre << 
117                                                << 
118 required:                                          92 required:
119   - compatible                                     93   - compatible
120   - reg                                            94   - reg
121   - interrupts                                     95   - interrupts
122                                                    96 
123 unevaluatedProperties: false                       97 unevaluatedProperties: false
124                                                    98 
125 examples:                                          99 examples:
126   - |                                             100   - |
127     #include <dt-bindings/interrupt-controller    101     #include <dt-bindings/interrupt-controller/arm-gic.h>
128     #include <dt-bindings/clock/stm32mp1-clks.    102     #include <dt-bindings/clock/stm32mp1-clks.h>
129     #include <dt-bindings/reset/stm32mp1-reset    103     #include <dt-bindings/reset/stm32mp1-resets.h>
130                                                << 
131     nand-controller@58002000 {                    104     nand-controller@58002000 {
132         compatible = "st,stm32mp15-fmc2";      !! 105       compatible = "st,stm32mp15-fmc2";
133         reg = <0x58002000 0x1000>,             !! 106       reg = <0x58002000 0x1000>,
134               <0x80000000 0x1000>,             !! 107             <0x80000000 0x1000>,
135               <0x88010000 0x1000>,             !! 108             <0x88010000 0x1000>,
136               <0x88020000 0x1000>,             !! 109             <0x88020000 0x1000>,
137               <0x81000000 0x1000>,             !! 110             <0x81000000 0x1000>,
138               <0x89010000 0x1000>,             !! 111             <0x89010000 0x1000>,
139               <0x89020000 0x1000>;             !! 112             <0x89020000 0x1000>;
140         interrupts = <GIC_SPI 48 IRQ_TYPE_LEVE !! 113       interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
141         dmas = <&mdma1 20 0x2 0x12000a02 0x0 0 !! 114       dmas = <&mdma1 20 0x2 0x12000a02 0x0 0x0>,
142                <&mdma1 20 0x2 0x12000a08 0x0 0 !! 115              <&mdma1 20 0x2 0x12000a08 0x0 0x0>,
143                <&mdma1 21 0x2 0x12000a0a 0x0 0 !! 116              <&mdma1 21 0x2 0x12000a0a 0x0 0x0>;
144         dma-names = "tx", "rx", "ecc";         !! 117       dma-names = "tx", "rx", "ecc";
145         clocks = <&rcc FMC_K>;                 !! 118       clocks = <&rcc FMC_K>;
146         resets = <&rcc FMC_R>;                 !! 119       resets = <&rcc FMC_R>;
                                                   >> 120       #address-cells = <1>;
                                                   >> 121       #size-cells = <0>;
                                                   >> 122 
                                                   >> 123       nand@0 {
                                                   >> 124         reg = <0>;
                                                   >> 125         nand-on-flash-bbt;
147         #address-cells = <1>;                     126         #address-cells = <1>;
148         #size-cells = <0>;                     !! 127         #size-cells = <1>;
149                                                !! 128       };
150         nand@0 {                               << 
151             reg = <0>;                         << 
152             nand-on-flash-bbt;                 << 
153             #address-cells = <1>;              << 
154             #size-cells = <1>;                 << 
155         };                                     << 
156     };                                            129     };
157                                                   130 
158 ...                                               131 ...
                                                      

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