]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d0eba007a52c01c39d9193edff02e1e4e41d8ed
tree3a005dda428adf1894cfa8849e1c4fcb2ee77c23
parentbf9d0991befb21b7dbe7b4eb3f017420a8bb0a25
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