lkml.org 
[lkml]   [2017]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option
On Wed, Jun 14, 2017 at 2:52 AM, Schöfegger Stefan
<Stefan.Schoefegger@ginzinger.com> wrote:

> device). The bitrate and de-emphasis must be switched. The driver (without
> this patches) does not allow to switch to gen2 because it falls back to gen1.
> It is impossible to generate the gen2 test pattern.

If you pass 'fsl,max-link-speed = <2>;' in your device tree, then it
will allow gen2.

From Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt:

"- fsl,max-link-speed: Specify PCI gen for link capability. Must be '2' for
gen2, otherwise will default to gen1. Note that the IMX6 LVDS clock outputs
do not meet gen2 jitter requirements and thus for gen2 capability a gen2
compliant clock generator should be used and configured."

Wouldn't this solve the problem?

\
 
 \ /
  Last update: 2017-06-14 21:12    [W:0.062 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site