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

dmaengine: dma40: add signal documentation to the device tree bindings

The DMA40 device tree documentation was vague on the second cell passed
in the configuration node for consumers, and did not specify what the
available signals were connected to. Extend the documentation with this
information for the DB8500 ASIC.

Reported-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Linus Walleij and committed by
Vinod Koul
f60f141c c26939e5

+72 -2
+72 -2
Documentation/devicetree/bindings/dma/ste-dma40.txt
··· 35 35 36 36 Each dmas request consists of 4 cells: 37 37 1. A phandle pointing to the DMA controller 38 - 2. Device Type 38 + 2. Device signal number, the signal line for single and burst requests 39 + connected from the device to the DMA40 engine 39 40 3. The DMA request line number (only when 'use fixed channel' is set) 40 - 4. A 32bit mask specifying; mode, direction and endianness [NB: This list will grow] 41 + 4. A 32bit mask specifying; mode, direction and endianness 42 + [NB: This list will grow] 41 43 0x00000001: Mode: 42 44 Logical channel when unset 43 45 Physical channel when set ··· 55 53 0x00000010: Set channel as high priority: 56 54 Normal priority when unset 57 55 High priority when set 56 + 57 + Existing signal numbers for the DB8500 ASIC. Unless specified, the signals are 58 + bidirectional, i.e. the same for RX and TX operations: 59 + 60 + 0: SPI controller 0 61 + 1: SD/MMC controller 0 (unused) 62 + 2: SD/MMC controller 1 (unused) 63 + 3: SD/MMC controller 2 (unused) 64 + 4: I2C port 1 65 + 5: I2C port 3 66 + 6: I2C port 2 67 + 7: I2C port 4 68 + 8: Synchronous Serial Port SSP0 69 + 9: Synchronous Serial Port SSP1 70 + 10: Multi-Channel Display Engine MCDE RX 71 + 11: UART port 2 72 + 12: UART port 1 73 + 13: UART port 0 74 + 14: Multirate Serial Port MSP2 75 + 15: I2C port 0 76 + 16: USB OTG in/out endpoints 7 & 15 77 + 17: USB OTG in/out endpoints 6 & 14 78 + 18: USB OTG in/out endpoints 5 & 13 79 + 19: USB OTG in/out endpoints 4 & 12 80 + 20: SLIMbus or HSI channel 0 81 + 21: SLIMbus or HSI channel 1 82 + 22: SLIMbus or HSI channel 2 83 + 23: SLIMbus or HSI channel 3 84 + 24: Multimedia DSP SXA0 85 + 25: Multimedia DSP SXA1 86 + 26: Multimedia DSP SXA2 87 + 27: Multimedia DSP SXA3 88 + 28: SD/MM controller 2 89 + 29: SD/MM controller 0 90 + 30: MSP port 1 on DB8500 v1, MSP port 3 on DB8500 v2 91 + 31: MSP port 0 or SLIMbus channel 0 92 + 32: SD/MM controller 1 93 + 33: SPI controller 2 94 + 34: i2c3 RX2 TX2 95 + 35: SPI controller 1 96 + 36: USB OTG in/out endpoints 3 & 11 97 + 37: USB OTG in/out endpoints 2 & 10 98 + 38: USB OTG in/out endpoints 1 & 9 99 + 39: USB OTG in/out endpoints 8 100 + 40: SPI controller 3 101 + 41: SD/MM controller 3 102 + 42: SD/MM controller 4 103 + 43: SD/MM controller 5 104 + 44: Multimedia DSP SXA4 105 + 45: Multimedia DSP SXA5 106 + 46: SLIMbus channel 8 or Multimedia DSP SXA6 107 + 47: SLIMbus channel 9 or Multimedia DSP SXA7 108 + 48: Crypto Accelerator 1 109 + 49: Crypto Accelerator 1 TX or Hash Accelerator 1 TX 110 + 50: Hash Accelerator 1 TX 111 + 51: memcpy TX (to be used by the DMA driver for memcpy operations) 112 + 52: SLIMbus or HSI channel 4 113 + 53: SLIMbus or HSI channel 5 114 + 54: SLIMbus or HSI channel 6 115 + 55: SLIMbus or HSI channel 7 116 + 56: memcpy (to be used by the DMA driver for memcpy operations) 117 + 57: memcpy (to be used by the DMA driver for memcpy operations) 118 + 58: memcpy (to be used by the DMA driver for memcpy operations) 119 + 59: memcpy (to be used by the DMA driver for memcpy operations) 120 + 60: memcpy (to be used by the DMA driver for memcpy operations) 121 + 61: Crypto Accelerator 0 122 + 62: Crypto Accelerator 0 TX or Hash Accelerator 0 TX 123 + 63: Hash Accelerator 0 TX 58 124 59 125 Example: 60 126