Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Macronix NANDs Device Tree Bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) -----------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Macronix NANDs support randomizer operation for scrambling user data,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) which can be enabled with a SET_FEATURE. The penalty when using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) randomizer are subpage accesses prohibited and more time period needed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) for program operation, i.e., tPROG 300us to 340us (randomizer enabled).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) Enabling the randomizer is a one time persistent and non reversible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) operation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) For more high-reliability concern, if subpage write is not available
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) with hardware ECC and not enabled at UBI level, then enabling the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) randomizer is recommended by default by adding a new specific property
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) in children nodes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Required NAND chip properties in children mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - randomizer enable: should be "mxic,enable-randomizer-otp"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	nand: nand-controller@unit-address {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		nand@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 			reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 			mxic,enable-randomizer-otp;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	};