[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1331023544-6439-1-git-send-email-mad_soft@inbox.ru>
Date: Tue, 6 Mar 2012 12:45:41 +0400
From: Dmitry Artamonow <mad_soft@...ox.ru>
To: linux-tegra@...r.kernel.org
Cc: Colin Cross <ccross@...roid.com>, Olof Johansson <olof@...om.net>,
Stephen Warren <swarren@...dia.com>,
Mike Rapoport <mike@...pulab.co.il>,
Thierry Reding <thierry.reding@...onic-design.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Dmitry Artamonow <mad_soft@...ox.ru>
Subject: [PATCH/RFC 0/2] Couple of Tegra2 PCIe fixes(?)
These are more of RFC, because I can't test if 1/2 is really fixes anything,
and not sure how much 2/2 is needed - maybe error it fixes happens just in
my setup (and also I'm not sure if 2 seconds is a good value for timeout,
because I have no idea, how much time it takes for PLL to lock when everything)
But anyway...
While trying to make PCIe work on Harmony board, I've noticed
that pinmux groups for PCIe related signals are tristated, which
looked suspicious. So I fixed that - that's the patch 1/2.
Sadly, even with this fix and 3.3v regulator patch[1] applied, PCIe still
doesn't work for me. Usually driver just loops infinitely in PLL lock
waiting code (that was the reason for writing patch 2/2 in this
mini-series). Couple of times I observed that after about 20-30 seconds of
waiting it passed PLL lock test and continue further, but then it failed to
detect a link with PCIe card. And I can't even reproduce this anymore.
Does anyone have working PCIe on Harmony? Can you please share the details
of your setup - what bootloader are you using, which version of kernel,
some additional patches maybe? Is there some secret tricks which are needed?
I've tried several combinations of different kernels and bootloaders, but
still can't find even a one which works.
[1] http://www.spinics.net/lists/linux-tegra/msg04148.html
Dmitry Artamonow (2):
arm/tegra: fix harmony pinmux for PCIe
arm/tegra: add timeout to PCIe PLL lock detection loop
arch/arm/mach-tegra/board-harmony-pinmux.c | 6 +++---
arch/arm/mach-tegra/pcie.c | 14 +++++++++++---
2 files changed, 14 insertions(+), 6 deletions(-)
--
1.7.5.1.300.gc565c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists