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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/raw-nand-chip.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/raw-nand-chip.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml (Architecture m68k)


  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/raw-nan      4 $id: http://devicetree.org/schemas/mtd/raw-nand-chip.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Raw NAND Chip Common Properties              7 title: Raw NAND Chip Common Properties
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Miquel Raynal <miquel.raynal@bootlin.com>       10   - Miquel Raynal <miquel.raynal@bootlin.com>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: nand-chip.yaml#                          13   - $ref: nand-chip.yaml#
 14                                                    14 
 15 description: |                                     15 description: |
 16   The ECC strength and ECC step size propertie     16   The ECC strength and ECC step size properties define the user
 17   desires in terms of correction capability of     17   desires in terms of correction capability of a controller. Together,
 18   they request the ECC engine to correct {stre     18   they request the ECC engine to correct {strength} bit errors per
 19   {size} bytes for a particular raw NAND chip.     19   {size} bytes for a particular raw NAND chip.
 20                                                    20 
 21   The interpretation of these parameters is im     21   The interpretation of these parameters is implementation-defined, so
 22   not all implementations must support all pos     22   not all implementations must support all possible
 23   combinations. However, implementations are e     23   combinations. However, implementations are encouraged to further
 24   specify the value(s) they support.               24   specify the value(s) they support.
 25                                                    25 
 26 properties:                                        26 properties:
 27   $nodename:                                       27   $nodename:
 28     pattern: "^nand@[a-f0-9]$"                     28     pattern: "^nand@[a-f0-9]$"
 29                                                    29 
 30   reg:                                             30   reg:
 31     description:                                   31     description:
 32       Contains the chip-select IDs.                32       Contains the chip-select IDs.
 33                                                    33 
 34   nand-ecc-placement:                              34   nand-ecc-placement:
 35     description:                                   35     description:
 36       Location of the ECC bytes. This location     36       Location of the ECC bytes. This location is unknown by default
 37       but can be explicitly set to "oob", if a     37       but can be explicitly set to "oob", if all ECC bytes are
 38       known to be stored in the OOB area, or "     38       known to be stored in the OOB area, or "interleaved" if ECC
 39       bytes will be interleaved with regular d     39       bytes will be interleaved with regular data in the main area.
 40     $ref: /schemas/types.yaml#/definitions/str     40     $ref: /schemas/types.yaml#/definitions/string
 41     enum: [ oob, interleaved ]                     41     enum: [ oob, interleaved ]
 42     deprecated: true                               42     deprecated: true
 43                                                    43 
 44   nand-ecc-mode:                                   44   nand-ecc-mode:
 45     description:                                   45     description:
 46       Legacy ECC configuration mixing the ECC      46       Legacy ECC configuration mixing the ECC engine choice and
 47       configuration.                               47       configuration.
 48     $ref: /schemas/types.yaml#/definitions/str     48     $ref: /schemas/types.yaml#/definitions/string
 49     enum: [none, soft, soft_bch, hw, hw_syndro     49     enum: [none, soft, soft_bch, hw, hw_syndrome, on-die]
 50     deprecated: true                               50     deprecated: true
 51                                                    51 
 52   nand-bus-width:                                  52   nand-bus-width:
 53     description:                                   53     description:
 54       Bus width to the NAND chip                   54       Bus width to the NAND chip
 55     $ref: /schemas/types.yaml#/definitions/uin     55     $ref: /schemas/types.yaml#/definitions/uint32
 56     enum: [8, 16]                                  56     enum: [8, 16]
 57     default: 8                                     57     default: 8
 58                                                    58 
 59   nand-on-flash-bbt:                               59   nand-on-flash-bbt:
 60     description:                                   60     description:
 61       With this property, the OS will search t     61       With this property, the OS will search the device for a Bad
 62       Block Table (BBT). If not found, it will     62       Block Table (BBT). If not found, it will create one, reserve
 63       a few blocks at the end of the device to     63       a few blocks at the end of the device to store it and update
 64       it as the device ages. Otherwise, the ou     64       it as the device ages. Otherwise, the out-of-band area of a
 65       few pages of all the blocks will be scan     65       few pages of all the blocks will be scanned at boot time to
 66       find Bad Block Markers (BBM). These mark     66       find Bad Block Markers (BBM). These markers will help to
 67       build a volatile BBT in RAM.                 67       build a volatile BBT in RAM.
 68     $ref: /schemas/types.yaml#/definitions/fla     68     $ref: /schemas/types.yaml#/definitions/flag
 69                                                    69 
 70   nand-ecc-maximize:                               70   nand-ecc-maximize:
 71     description:                                   71     description:
 72       Whether or not the ECC strength should b     72       Whether or not the ECC strength should be maximized. The
 73       maximum ECC strength is both controller      73       maximum ECC strength is both controller and chip
 74       dependent. The ECC engine has to select      74       dependent. The ECC engine has to select the ECC config
 75       providing the best strength and taking t     75       providing the best strength and taking the OOB area size
 76       constraint into account. This is particu     76       constraint into account. This is particularly useful when
 77       only the in-band area is used by the upp     77       only the in-band area is used by the upper layers, and you
 78       want to make your NAND as reliable as po     78       want to make your NAND as reliable as possible.
 79     $ref: /schemas/types.yaml#/definitions/fla     79     $ref: /schemas/types.yaml#/definitions/flag
 80                                                    80 
 81   nand-is-boot-medium:                             81   nand-is-boot-medium:
 82     description:                                   82     description:
 83       Whether or not the NAND chip is a boot m     83       Whether or not the NAND chip is a boot medium. Drivers might
 84       use this information to select ECC algor     84       use this information to select ECC algorithms supported by
 85       the boot ROM or similar restrictions.        85       the boot ROM or similar restrictions.
 86     $ref: /schemas/types.yaml#/definitions/fla     86     $ref: /schemas/types.yaml#/definitions/flag
 87                                                    87 
 88   nand-rb:                                         88   nand-rb:
 89     description:                                   89     description:
 90       Contains the native Ready/Busy IDs.          90       Contains the native Ready/Busy IDs.
 91     $ref: /schemas/types.yaml#/definitions/uin     91     $ref: /schemas/types.yaml#/definitions/uint32-array
 92                                                    92 
 93   rb-gpios:                                        93   rb-gpios:
 94     description:                                   94     description:
 95       Contains one or more GPIO descriptor (th     95       Contains one or more GPIO descriptor (the numper of descriptor
 96       depends on the number of R/B pins expose     96       depends on the number of R/B pins exposed by the flash) for the
 97       Ready/Busy pins. Active state refers to      97       Ready/Busy pins. Active state refers to the NAND ready state and
 98       should be set to GPIOD_ACTIVE_HIGH unles     98       should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted.
 99                                                    99 
100   wp-gpios:                                       100   wp-gpios:
101     description:                                  101     description:
102       Contains one GPIO descriptor for the Wri    102       Contains one GPIO descriptor for the Write Protect pin.
103       Active state refers to the NAND Write Pr    103       Active state refers to the NAND Write Protect state and should be
104       set to GPIOD_ACTIVE_LOW unless the signa    104       set to GPIOD_ACTIVE_LOW unless the signal is inverted.
105     maxItems: 1                                   105     maxItems: 1
106                                                   106 
107 required:                                         107 required:
108   - reg                                           108   - reg
109                                                   109 
110 # This is a generic file other binding inherit    110 # This is a generic file other binding inherit from and extend
111 additionalProperties: true                        111 additionalProperties: true
                                                      

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