devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] DRA7 DSP MMU config support
@ 2015-07-21 23:55 Suman Anna
       [not found] ` <1437522936-19758-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Suman Anna @ 2015-07-21 23:55 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Tony Lindgren, devicetree-u79uwXL29TY76Z2rM5mHXA,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA

Hi,

This series adds the basic support in the OMAP IOMMU driver to
enable/disable DSP IOMMUs for the DRA7xx family of SoCs. The
DRA7 family has two MMUs within the DSP processor subsystems.
This is the first time this was designed so in the silicon
compared to the equivalent ones on OMAP2+ SoCs.

Each MMU requires a specific bit to be turned on within a register
from a separate sub-module DSP_SYSTEM present within the respective
processor subsystem. The DSP_SYSTEM sub-module is represented as a
syscon node, and an additional property "ti,syscon-mmuconfig" is
used alongside a unique compatible property for configuring these
devices. The register and bit offset is coded up in the driver
while the DT property references the syscon phandle the MMU instance
number.

The binding support could have been done in couple of other ways,
like using separate compatible each for the DSP processor MMU &
the DSP EDMA MMU that automatically identifies the instance number;
and/or coding up the register offset & bit position/offset in
the syscon property, so let me know if the current approach is
fine.

The patches are baselined on 4.2-rc3 + the recent OMAP IOMMU
cleanup series [1]. I will post the DTS patches separately to
allow Tony to pick them up independently.

regards
Suman

[1] http://lists.linuxfoundation.org/pipermail/iommu/2015-July/013659.html

Suman Anna (2):
  Documentation: dt: Update OMAP iommu bindings for DRA7 DSPs
  iommu/omap: Add support for configuring dsp iommus on DRA7xx

 .../devicetree/bindings/iommu/ti,omap-iommu.txt    | 27 ++++++++++
 drivers/iommu/omap-iommu.c                         | 58 ++++++++++++++++++++++
 drivers/iommu/omap-iommu.h                         |  9 ++++
 3 files changed, 94 insertions(+)

-- 
2.4.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-09-23 17:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 23:55 [PATCH 0/2] DRA7 DSP MMU config support Suman Anna
     [not found] ` <1437522936-19758-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2015-07-21 23:55   ` [PATCH 1/2] Documentation: dt: Update OMAP iommu bindings for DRA7 DSPs Suman Anna
2015-07-21 23:55   ` [PATCH 2/2] iommu/omap: Add support for configuring dsp iommus on DRA7xx Suman Anna
     [not found]     ` <1437522936-19758-3-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2015-07-22  5:26       ` Tony Lindgren
     [not found]         ` <20150722052600.GF17550-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-07-22 16:22           ` Suman Anna
     [not found]             ` <55AFC34E.4000603-l0cyMroinI0@public.gmane.org>
2015-07-23  7:24               ` Tony Lindgren
     [not found]                 ` <20150723072455.GC16878-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-07-23 16:22                   ` Suman Anna
     [not found]                     ` <55B114DF.8070800-l0cyMroinI0@public.gmane.org>
2015-07-24  4:30                       ` Tony Lindgren
     [not found]                         ` <20150724043056.GG16878-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-07-24 16:24                           ` Suman Anna
     [not found]                             ` <55B266CE.9070202-l0cyMroinI0@public.gmane.org>
2015-07-28  6:14                               ` Tony Lindgren
     [not found]                                 ` <20150728061426.GL16878-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-09-03 22:57                                   ` Suman Anna
     [not found]                                     ` <55E8D077.3050108-l0cyMroinI0@public.gmane.org>
2015-09-23 17:53                                       ` Tony Lindgren
2015-08-03 16:31   ` [PATCH 0/2] DRA7 DSP MMU config support Joerg Roedel
     [not found]     ` <20150803163106.GL14980-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-08-03 16:40       ` Suman Anna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).