]> git.baikalelectronics.ru Git - kernel.git/commit
soc: ti: K2G: provide APIs to support driver probe deferral
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 17 Apr 2018 21:30:31 +0000 (17:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:00:56 +0000 (21:00 -0400)
commit4bfc1c2b1cee1e051d501aca1427f5ba0aff72bf
tree1f64183d117602299350d753ab4dc91e17a6ed1c
parentcd46f9c01d45c8433752ae98eeaa3fbf90e39df9
soc: ti: K2G: provide APIs to support driver probe deferral

This patch provide APIs to allow client drivers to support
probe deferral. On K2G SoC, devices can be probed only
after the ti_sci_pm_domains driver is probed and ready.
As drivers may get probed at different order, any driver
that depends on knav dma and qmss drivers, for example
netcp network driver, needs to defer probe until
knav devices are probed and ready to service. To do this,
add an API to query the device ready status from the knav
dma and qmss devices.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/soc/ti/knav_dma.c
drivers/soc/ti/knav_qmss_queue.c
include/linux/soc/ti/knav_dma.h
include/linux/soc/ti/knav_qmss.h