soc: fsl: dpio: add frame list format support
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 12 Sep 2018 08:59:28 +0000 (11:59 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Sep 2018 05:24:50 +0000 (13:24 +0800)
commit009447a038ec98cd11074e78a85ffd71f5c84d3b
tree3a005dda428adf1894cfa8849e1c4fcb2ee77c23
parent48c43de0b5981e84e187a239a9a96c1a6cad8f52
soc: fsl: dpio: add frame list format support

Add support for dpaa2_fd_list format, i.e. dpaa2_fl_entry structure
and accessors.

Frame list entries (FLEs) are similar, but not identical to FDs:
+ "F" (final) bit
- FMT[b'01] is reserved
- DD, SC, DROPP bits (covered by "FD compatibility" field in FLE case)
- FLC[5:0] not used for stashing

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/soc/fsl/dpaa2-fd.h