Star64_linux/drivers/soc/fsl/dpio
Ioana Ciornei 47441f7f73 soc: fsl: dpio: add a device_link at dpaa2_io_service_register
Automatically add a device link between the actual device requesting the
dpaa2_io_service_register and the underlying dpaa2_io used. This link
will ensure that when a DPIO device, which is indirectly used by other
devices, is unbound any consumer devices will be also unbound from their
drivers.

For example, any DPNI, bound to the dpaa2-eth driver, which is using
DPIO devices will be unbound before its supplier device.

Also, add a new parameter to the dpaa2_io_service_[de]register functions
to specify the requesting device (ie the consumer).

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Reviewed-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
2019-01-11 15:06:54 -06:00
..
dpio-cmd.h soc: fsl: dpio: perform DPIO Reset on Probe 2019-01-11 15:06:54 -06:00
dpio-driver.c soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io 2019-01-11 15:06:54 -06:00
dpio-service.c soc: fsl: dpio: add a device_link at dpaa2_io_service_register 2019-01-11 15:06:54 -06:00
dpio.c soc: fsl: dpio: perform DPIO Reset on Probe 2019-01-11 15:06:54 -06:00
dpio.h soc: fsl: dpio: perform DPIO Reset on Probe 2019-01-11 15:06:54 -06:00
Makefile
qbman-portal.c soc: fsl: dpio: Add BP and FQ query APIs 2018-12-19 10:37:22 -08:00
qbman-portal.h soc: fsl: dpio: Add BP and FQ query APIs 2018-12-19 10:37:22 -08:00