summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/dpio/dpio.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* soc: fsl: dpio: extract the QBMAN clock frequency from the attributesIoana Ciornei2021-10-151-0/+1
| | | | | | | | | | | | | Through the dpio_get_attributes() firmware call the dpio driver has access to the QBMAN clock frequency. Extend the structure which holds the firmware's response so that we can have access to this information. This will be needed in the next patches which also add support for interrupt coalescing which needs to be configured based on the frequency. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* soc: fsl: dpio: configure cache stashing destinationIoana Ciornei2019-02-261-0/+16
| | | | | | | | Depending on the SoC version and the CPU id, configure the cache stashing destination for a specific dpio. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc: fsl: dpio: perform DPIO Reset on ProbeRoy Pledge2019-01-111-0/+23
| | | | | | | | Invoke a DPIO reset command when a DPIO device is probed. This will ensure the QBMan portal is in the state the driver expects. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* staging: fsl-mc: Move DPIO from staging to drivers/soc/fslRoy Pledge2018-07-241-0/+198
Move the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequisite to moving the DPAA2 Ethernet driver out of staging. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com> Reviewed-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>