Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668832

Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option

From Schöfegger Stefan <Stefan.Schoefegger@ginzinger.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option
Date 2017-06-19 08:50 +0200
Message-ID <tTYFA-7yd-29@gated-at.bofh.it> (permalink)
References <tPHtD-61j-7@gated-at.bofh.it> <tS9vs-1dT-3@gated-at.bofh.it> <tSlZE-Jv-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, June 14, 2017 4:11:29 PM CEST Fabio Estevam wrote:
> 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?

No, it only sets the maximum allowed link speed but it is forced to gen1 
before.

During compliance test there is no real link established and there is no link 
speed negotiation, the phy is in a special compliance test state.

Stefan

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Bjorn Helgaas <helgaas@kernel.org> - 2017-06-13 01:50 +0200
  RE: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Richard Zhu <hongxing.zhu@nxp.com> - 2017-06-13 04:10 +0200
    Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Schöfegger Stefan          <Stefan.Schoefegger@ginzinger.com> - 2017-06-13 08:00 +0200
  Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Schöfegger Stefan          <Stefan.Schoefegger@ginzinger.com> - 2017-06-13 07:50 +0200
    Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Bjorn Helgaas <helgaas@kernel.org> - 2017-06-13 16:00 +0200
      Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Schöfegger Stefan          <Stefan.Schoefegger@ginzinger.com> - 2017-06-14 08:00 +0200
        Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Fabio Estevam <festevam@gmail.com> - 2017-06-14 21:20 +0200
          Re: [PATCH v2 1/1] PCI: imx6: Add pcie compliance test option Schöfegger Stefan          <Stefan.Schoefegger@ginzinger.com> - 2017-06-19 08:50 +0200

csiph-web