From: Julien Boibessot <julien.boibessot-GANU6spQydw@public.gmane.org>
To: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org
Subject: Re: SPI: Add SPI driver for most known i.MX SoCs
Date: Tue, 02 Jun 2009 10:13:22 +0200 [thread overview]
Message-ID: <4A24DF22.4040601@free.fr> (raw)
In-Reply-To: <20090504214307.GN15603-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Hi Sascha,
I finally had some time to test your new unified SPI driver on my i.MX27
platform...
It's a good idea to have a common SPI driver for all MXs but I have two
remarks:
Sascha Hauer a écrit :
> While there already is a SPI driver for i.MX1 in the tree there are
> good reasons to replace it:
>
> - The inkernel driver implements a full blown SPI driver, but
> the hardware can be fully supported using a bitbang driver.
> This greatly reduces the size and complexity of the driver.
>
I don't know yet if it's related to bitbang but I would say that your
driver is 2x slowier that current inkernel one. We (armadeus) have i.MXL
and i.MX27 boards with ADC, Touchscreen and CAN bus on SPI and saw a
lost of performance with your driver (when fast successive SPI transfers
are needed). You probably won't notice it if you only have a Freescale's
power chip or an EEPROM connected to your SPI bus.
Sorry but I didn't had time yet to investigate more :-(.
I know that I can't have the official Linux kernel suited for my
particular needs (;-) ), so what would be the things to do to improve
your driver performances ?
> - The DMA API of the durrent driver is broken for arch-mx1 (as opposed
> to arch-imx) and nobody cared to fix it yet.
>
Will your driver use DMA in a near future ?
Regards,
Julien
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
next prev parent reply other threads:[~2009-06-02 8:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 21:43 SPI: Add SPI driver for most known i.MX SoCs Sascha Hauer
[not found] ` <20090504214307.GN15603-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-06-02 8:13 ` Julien Boibessot [this message]
[not found] ` <4A24DF22.4040601-GANU6spQydw@public.gmane.org>
2009-06-02 17:22 ` Sascha Hauer
[not found] ` <20090602172259.GB32355-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-06-21 13:10 ` Julien Boibessot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A24DF22.4040601@free.fr \
--to=julien.boibessot-ganu6spqydw@public.gmane.org \
--cc=linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org \
--cc=s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.