MLK-14314-13 dma: pxp-v3: construct graph structures to store pxp nodes.
authorFancy Fang <chen.fang@nxp.com>
Fri, 3 Mar 2017 02:19:58 +0000 (10:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:10 +0000 (15:22 -0500)
commit44a5d47efed5d3e437a5dbb67d70c9e05fe93646
treed7594d092118da5a75ffd35e77f5ac06375df846
parent0ebd63824678ff524ed86aebe4acc450ff05f021
MLK-14314-13 dma: pxp-v3: construct graph structures to store pxp nodes.

According to the PXP arch diagram, the V3 PXP can be
abstracted to a graph structure. There are totally
16 2D nodes in PXP and 16 2D related mux nodes:

     1. Using '16x16' adjacent array to record the 2D nodes
        relationship and '16' size array to record the
        input and output nodes for each muxe node.
     2. Construct the adjacent list to store all the 2D
        nodes and also config the mux info used by each
        two nodes of one edge during pxp probing stage.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit e8087406df2e04982fd90b4070ac68fafa4ad3d5)
drivers/dma/pxp/pxp_dma_v3.c
drivers/dma/pxp/reg_bitfields.h [new file with mode: 0644]