Back to home page

OSCL-LXR

 
 

    


0001 Macronix NANDs Device Tree Bindings
0002 -----------------------------------
0003 
0004 Macronix NANDs support randomizer operation for scrambling user data,
0005 which can be enabled with a SET_FEATURE. The penalty when using the
0006 randomizer are subpage accesses prohibited and more time period needed
0007 for program operation, i.e., tPROG 300us to 340us (randomizer enabled).
0008 Enabling the randomizer is a one time persistent and non reversible
0009 operation.
0010 
0011 For more high-reliability concern, if subpage write is not available
0012 with hardware ECC and not enabled at UBI level, then enabling the
0013 randomizer is recommended by default by adding a new specific property
0014 in children nodes.
0015 
0016 Required NAND chip properties in children mode:
0017 - randomizer enable: should be "mxic,enable-randomizer-otp"
0018 
0019 Example:
0020 
0021         nand: nand-controller@unit-address {
0022 
0023                 nand@0 {
0024                         reg = <0>;
0025                         mxic,enable-randomizer-otp;
0026                 };
0027         };