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

ARM: OMAP2+: Update GPMC and NAND DT binding documentation

Add additional details to the GPMC NAND documentation to clarify
what is needed to enable NAND DMA prefetch.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

authored by

Cooper Jr., Franklin and committed by
Boris Brezillon
cabfeaa6 aa7abd31

+7 -2
+6 -1
Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
··· 46 46 0 maps to GPMC_WAIT0 pin. 47 47 - gpio-cells: Must be set to 2 48 48 49 + Required properties when using NAND prefetch dma: 50 + - dmas GPMC NAND prefetch dma channel 51 + - dma-names Must be set to "rxtx" 52 + 49 53 Timing properties for child nodes. All are optional and default to 0. 50 54 51 55 - gpmc,sync-clk-ps: Minimum clock period for synchronous mode, in picoseconds ··· 141 137 ti,hwmods = "gpmc"; 142 138 reg = <0x50000000 0x2000>; 143 139 interrupts = <100>; 144 - 140 + dmas = <&edma 52 0>; 141 + dma-names = "rxtx"; 145 142 gpmc,num-cs = <8>; 146 143 gpmc,num-waitpins = <2>; 147 144 #address-cells = <2>;
+1 -1
Documentation/devicetree/bindings/mtd/gpmc-nand.txt
··· 39 39 40 40 "prefetch-polled" Prefetch polled mode (default) 41 41 "polled" Polled mode, without prefetch 42 - "prefetch-dma" Prefetch enabled sDMA mode 42 + "prefetch-dma" Prefetch enabled DMA mode 43 43 "prefetch-irq" Prefetch enabled irq mode 44 44 45 45 - elm_id: <deprecated> use "ti,elm-id" instead