Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

devicetree: bindings: improve description for GPIO assisted NAND flash

Expand the description of the 'gpios' property in the GPIO assisted
NAND flash binding, to explicitly list the required GPIO pin references
and their order.

Update the example section to individually bracket the GPIO references,
and capitalize the signal names for improved readability.

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

authored by

Gerhard Sittig and committed by
Brian Norris
f861a925 1f04a73e

+7 -7
+7 -7
Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
··· 11 11 are made in native endianness. 12 12 - #address-cells, #size-cells : Must be present if the device has sub-nodes 13 13 representing partitions. 14 - - gpios : specifies the gpio pins to control the NAND device. nwp is an 15 - optional gpio and may be set to 0 if not present. 14 + - gpios : Specifies the GPIO pins to control the NAND device. The order of 15 + GPIO references is: RDY, nCE, ALE, CLE, and an optional nWP. 16 16 17 17 Optional properties: 18 18 - bank-width : Width (in bytes) of the device. If not present, the width ··· 35 35 reg = <1 0x0000 0x2>; 36 36 #address-cells = <1>; 37 37 #size-cells = <1>; 38 - gpios = <&banka 1 0 /* rdy */ 39 - &banka 2 0 /* nce */ 40 - &banka 3 0 /* ale */ 41 - &banka 4 0 /* cle */ 42 - 0 /* nwp */>; 38 + gpios = <&banka 1 0>, /* RDY */ 39 + <&banka 2 0>, /* nCE */ 40 + <&banka 3 0>, /* ALE */ 41 + <&banka 4 0>, /* CLE */ 42 + <0>; /* nWP */ 43 43 44 44 partition@0 { 45 45 ...