[PATCH 3/5] misc: Add Apple DART driver

Simon Glass sjg at chromium.org
Sat Sep 25 15:27:46 CEST 2021


On Mon, 20 Sept 2021 at 19:11, Simon Glass <sjg at chromium.org> wrote:
>
> Hi Mark,
>
> On Mon, 20 Sept 2021 at 02:33, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
> >
> > > From: Simon Glass <sjg at chromium.org>
> > > Date: Sun, 19 Sep 2021 21:16:00 -0600
> > >
> > > Hi Mark,
> > >
> > > On Sat, 18 Sept 2021 at 07:55, Mark Kettenis <kettenis at openbsd.org> wrote:
> > > >
> > > > The DART is an IOMMU that is used on Apple's M1 SoC.  This driver
> > > > supports the DART in bypass mode as well as in a mode where it
> > > > creates a 1:1 mapping of a subset of RAM as not all DARTs support
> > > > bypass mode.  The USB3 ports integrated on the SoC use a DART
> > > > that supports bypass mode.  The 1:1 mapping will be used in the
> > > > future to support other devices such as the PCIe host bridge
> > > > of the M1 SoC.
> > > >
> > > > Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
> > > > ---
> > > >  drivers/misc/Kconfig      |   7 ++
> > > >  drivers/misc/Makefile     |   1 +
> > > >  drivers/misc/apple_dart.c | 171 ++++++++++++++++++++++++++++++++++++++
> > > >  3 files changed, 179 insertions(+)
> > > >  create mode 100644 drivers/misc/apple_dart.c
> > > >
>

Tested on: Macbook Air M1
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list