public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@mvista.com>
To: Meng Hu <meng.hu@gmail.com>
Cc: Linux-omap-open-source@linux.omap.com
Subject: Re: McSPI interfaces in newer kernel
Date: Tue, 11 Dec 2007 11:59:43 -0800	[thread overview]
Message-ID: <87y7c13suo.fsf@vence.hilman.org> (raw)
In-Reply-To: <94d6903b0712111115h297769e2q1709777dd0e65bb7@mail.gmail.com> (Meng Hu's message of "Tue\, 11 Dec 2007 13\:15\:21 -0600")

"Meng Hu" <meng.hu@gmail.com> writes:

> I am trying to jump from a 2.6.10 montavista kernel to a 2.6.21 one
> for OMAP2430.
> There are some patches from MonvaVista(originally provided by TI) for
> the 2.6.10 kernel which provides some McSPI  implementations, e.g.
> drivers/ssi/omap-mcspi.c
>
> I found that these files are not in my 2.6.21 kernel and neither in
> the upstream omap linux tree.

For the MV 2.6.21-based kernel, we moved from using the TI SPI driver
to the upstream driver (drivers/spi/omap2_mcspi.c)

> Is this because the upstream kernel only contains a small set of omap
> drivers OR these old mscpi drivers are replaced by sth. else?

The "old" driver you're referring to was never upstream, it's only in
the TI kernel (and re-used in the MV kernel.)  For the MV 2.6.21-based
kernel, since there was an upstream driver, we moved to the upstream
driver.

There are many drivers/features which are in the TI kernels which are
not in the upstream kernels.  Feel free to help us all remedy that.
Patches are welcome.  :)

> Should I port these files by myself? or change my other drivers to use
> the new interfaces. (I am porting a touchscreen driver which heavily
> relies on the old mscpi drivers)

I would recommend you use the new driver.  If there is any
functionality in the older driver that is not in the newer one, I
recommend you report it here, preferably with a patch that adds it to
the new driver.  :)

Kevin

  reply	other threads:[~2007-12-11 19:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 19:15 McSPI interfaces in newer kernel Meng Hu
2007-12-11 19:59 ` Kevin Hilman [this message]
2007-12-12 23:34   ` Meng Hu
2007-12-12 15:10 ` Girish
2007-12-12 23:54   ` Meng Hu
2007-12-13  5:58     ` Girish

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=87y7c13suo.fsf@vence.hilman.org \
    --to=khilman@mvista.com \
    --cc=Linux-omap-open-source@linux.omap.com \
    --cc=meng.hu@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox