Skip to contentSkip to conversation

PCIe support for Tegra T30 ?

U-Boot Bob Koninckx 3 participants 3 messages Jul 5, 2013 – Jul 17, 2013

lore
Share & tools
lore
#0 lore raw

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.
Thanks,
Bob

Signature · 42 lines
Bob Koninckx, MSc MtE, PhD
Chief Technology Officer
M. +32 496 30 98 61


eSATURNUS
Romeinse
straat 12
3001
Leuven ?
Belgium

T. +32 16
40 12 82
F. +32 16
40 84 77
www.esaturnus.com











-------------- next part --------------
A non-text attachment was scrubbed...
Name: generalfooter_nucleus.png
Type: image/png
Size: 51919 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130705/64e97ae6/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esaturnus.jpg
Type: image/jpeg
Size: 210125 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130705/64e97ae6/attachment.jpg>
#1 lore raw
Quoted 6 lines · Bob Koninckx

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

#2 lore raw
Quoted 17 lines · Stephen Warren
Quoted 6 lines · Bob Koninckx

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:

Quoted 6 lines

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>