From: Thierry Reding <thierry.reding@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] PCIe support for Tegra T30 ?
Date: Wed, 17 Jul 2013 07:35:17 +0200 [thread overview]
Message-ID: <20130717053516.GE11359@mithrandir> (raw)
In-Reply-To: <51D70008.2040405@wwwdotorg.org>
On Fri, Jul 05, 2013 at 11:19:04AM -0600, Stephen Warren wrote:
> On 07/05/2013 08:41 AM, Bob Koninckx wrote:
> > Hi,
> >
> > Are there any plans for adding PCIe support for Tegra T30 SoC in the
> > near future? If not, what would it take if we would want to do this
> > ourselves. Any pointer in the right directions would be greatly
> > appreciated.
>
> I don't believe anyone is actively working on this at present. It would
> be great to have this support in place.
>
> If you want to take a crack at it yourself, I suggest the following
> resources:
>
> Thierry Reding has recently created a new PCIe driver for Tegra in the
> Linux kernel. You can find this as part of:
>
> git://gitorious.org/thierryreding/linux.git next
>
> The downstream U-Boot port for the Tegra20 TrimSlice board has PCIe
> support, for the built-in NIC. You can find that at:
>
> git://gitorious.org/trimslice-u-boot/trimslice-u-boot.git master
The Tegra PCIe driver in that repository looks very similar to what's
currently in Linux, that is before the major rework that will hopefully
be merged for 3.12.
One of the bigger things missing for that driver is regulator support.
CompuLab made it very easy to use PCIe with TrimSlice because they
didn't hook it up to a PMU (unlike every reference design). The downside
of that is that they didn't have to write any code to enable the
regulators and chances are that your design needs that. I'm also not
aware of any ongoing efforts within U-Boot to provide a regulator
framework. drivers/power seems where most PMU-like devices currently
have their drivers, but there's no generic API to use them.
To remedy that situation I think we have two options: one is to add such
a framework and the other alternative is to provide board-level hooks to
add hook into the PMU. The latter is sort of ugly and won't play very
nicely with DT. The former will be a bit more work. But perhaps you
don't need regulator support for the particular hardware that you use.
The other thing that TrimSlice's U-Boot doesn't provide is DT support.
Most of the Tegra drivers have been moved over to being controlled via
the device tree so I assume that PCIe will have to be as well?
I would personally very much like to see PCIe support for Tegra in
U-Boot, so if there's anything I can do to help, please feel free to
ask.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130717/b1ab089b/attachment.pgp>
prev parent reply other threads:[~2013-07-17 5:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 14:41 [U-Boot] PCIe support for Tegra T30 ? Bob Koninckx
2013-07-05 17:19 ` Stephen Warren
2013-07-17 5:35 ` Thierry Reding [this message]
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=20130717053516.GE11359@mithrandir \
--to=thierry.reding@gmail.com \
--cc=u-boot@lists.denx.de \
/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