Re: [PATCH v4 4/4] mtd: nand: gpio: Add support for multichip devices
From: Stephen Warren <hidden>
Date: 2013-08-19 21:11:22
On 08/16/2013 01:19 AM, Alexander Shiyan wrote:
This patch adds support for multichip NAND devices controlled through GPIOs. To implement this, the properties of tree have been renamed. All current boards and DTS files converted to use an updated driver. Also driver temporarily keep support for DTS files which use the previous names scheme.
quoted hunk
diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
-- gpios : specifies the gpio pins to control the NAND device. nwp is an - optional gpio and may be set to 0 if not present. +- ale-gpios : specifies the ALE gpio pin. +- cle-gpios : specifies the CLE gpio pin. +- nwp-gpios : specifies the NWP gpio pin (Optional). +- nce-gpios : specifies the NCE gpio pin or several NCE GPIOs for multichip NAND. +- rdy-gpios : specifies the RDY gpio pin or several RDY GPIOs for multichip NAND.
Why not put the nwp-gpios into the "Optional properties" section of the document? Documenting the deprecated properties is good; thanks!