Skip to content

Commit

Permalink
dt-bindings: mtd: gpmc-onenand: Update properties description
Browse files Browse the repository at this point in the history
Compatible property is required for OMAP2+ mtd driver. Also
add INT pin gpio description and delete unused dma-channel
property.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
  • Loading branch information
Ladislav Michl authored and Boris Brezillon committed Jan 12, 2018
1 parent d2ad1fb commit 8edfe5f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/mtd/gpmc-onenand.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt

Required properties:

- compatible: "ti,omap2-onenand"
- reg: The CS line the peripheral is connected to
- gpmc,device-width Width of the ONENAND device connected to the GPMC
- gpmc,device-width: Width of the ONENAND device connected to the GPMC
in bytes. Must be 1 or 2.

Optional properties:

- dma-channel: DMA Channel index
- int-gpios: GPIO specifier for the INT pin.

For inline partition table parsing (optional):

Expand All @@ -35,6 +36,7 @@ Example for an OMAP3430 board:
#size-cells = <1>;

onenand@0 {
compatible = "ti,omap2-onenand";
reg = <0 0 0>; /* CS0, offset 0 */
gpmc,device-width = <2>;

Expand Down

0 comments on commit 8edfe5f

Please sign in to comment.