On 08/16/2013 01:19 AM, Alexander Shiyan wrote:
This patch adds a property to automatically determine the NAND
bus width. This property works if the bus width is not specified
explicitly.
quoted hunk
diff --git a/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
+- gpio-control-nand,bank-width-auto : Device bus width is determined
+ automatically if "bank-width" is omitted (Boolean).
How would a driver determine the bank width automatically; is there some
obvious way a driver should do this based on the/a NAND specification?
Is there more than one way this auto-detection could occur, and if so,
which of those methods is this property indicating will work?
I'd rather expect the property description include details of the
auto-detection mechanism that the DT states will work.