[lkml]   [2012]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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.


    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(-)


     \ /
      Last update: 2012-03-06 10:17    [W:0.019 / U:155.860 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site