Thread (1 message) 1 message, 1 author, 2013-08-19

Re: [PATCH v4 1/4] mtd: nand: gpio: Add DT property to automatically determine bus width

From: Stephen Warren <hidden>
Date: 2013-08-19 21:10:00

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help