author | Keerthy <j-keerthy@ti.com> | |
Mon, 16 Sep 2019 20:13:36 +0000 (20:13 +0000) | ||
committer | Suman Anna <s-anna@ti.com> | |
Mon, 23 Sep 2019 01:47:30 +0000 (20:47 -0500) | ||
commit | 4f55ca9de026aeec47b7589ba35bf7807a80ffc1 | |
tree | fadb9ac2baebe6fe104766ce8f052f9f9d4628bf | tree | snapshot (tar.xz tar.gz zip) |
parent | aca77713f8ee58bbff32303efc09a7f601841d8c | commit | diff |
ARM: OMAP2+: pdata-quirks: Add device_is_enabled ops for IOMMUs and rprocs
Add a new .device_is_enabled() platform data callback ops to both
the OMAP IOMMU and remoteproc devices to check if the corresponding
omap_device/hwmod is already enabled. This helps the OMAP IOMMU and
remoteproc drivers to figure out if the corresponding processors
have already been loaded and booted by bootloaders.
Signed-off-by: Keerthy <j-keerthy@ti.com>
[s-anna@ti.com: minor cleanups]
Signed-off-by: Suman Anna <s-anna@ti.com>
Add a new .device_is_enabled() platform data callback ops to both
the OMAP IOMMU and remoteproc devices to check if the corresponding
omap_device/hwmod is already enabled. This helps the OMAP IOMMU and
remoteproc drivers to figure out if the corresponding processors
have already been loaded and booted by bootloaders.
Signed-off-by: Keerthy <j-keerthy@ti.com>
[s-anna@ti.com: minor cleanups]
Signed-off-by: Suman Anna <s-anna@ti.com>
arch/arm/mach-omap2/pdata-quirks.c | diff | blob | history | |
include/linux/platform_data/iommu-omap.h | diff | blob | history | |
include/linux/platform_data/remoteproc-omap.h | diff | blob | history |