summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/dpio/dpio-cmd.h
diff options
context:
space:
mode:
authorRoy Pledge <roy.pledge@nxp.com>2018-12-10 19:50:17 +0300
committerLi Yang <leoyang.li@nxp.com>2019-01-12 00:06:54 +0300
commit11c8bac9b3877fb8d8b4674f4744c1b5937956ba (patch)
tree356decf725fffb72f8f58a8de624b49a55254ac7 /drivers/soc/fsl/dpio/dpio-cmd.h
parent991e873223e9bcfaf10a0074eec1507c1ddfb6ab (diff)
downloadlinux-11c8bac9b3877fb8d8b4674f4744c1b5937956ba.tar.xz
soc: fsl: dpio: perform DPIO Reset on Probe
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>
Diffstat (limited to 'drivers/soc/fsl/dpio/dpio-cmd.h')
-rw-r--r--drivers/soc/fsl/dpio/dpio-cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/fsl/dpio/dpio-cmd.h b/drivers/soc/fsl/dpio/dpio-cmd.h
index ab8f82ee7ee5..5814d2f395a4 100644
--- a/drivers/soc/fsl/dpio/dpio-cmd.h
+++ b/drivers/soc/fsl/dpio/dpio-cmd.h
@@ -25,6 +25,7 @@
#define DPIO_CMDID_ENABLE DPIO_CMD(0x002)
#define DPIO_CMDID_DISABLE DPIO_CMD(0x003)
#define DPIO_CMDID_GET_ATTR DPIO_CMD(0x004)
+#define DPIO_CMDID_RESET DPIO_CMD(0x005)
struct dpio_cmd_open {
__le32 dpio_id;