linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] i.MX7 PCI support
@ 2017-01-19 16:36 Andrey Smirnov
  2017-01-19 16:36 ` [PATCH 1/3] PCI: imx6: Fix a typo in error message Andrey Smirnov
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andrey Smirnov @ 2017-01-19 16:36 UTC (permalink / raw)
  To: linux-pci
  Cc: Andrey Smirnov, yurovsky, Richard Zhu, Lucas Stach,
	Bjorn Helgaas, Fabio Estevam, Shawn Guo, linux-arm-kernel,
	linux-kernel

Hello, everyone:

This is a small patchset intended to add PCI-subsystem bits necessary
for enabling PCI support on i.MX7. This patchset is not
self-sufficient and depends on three other patchsets:

  - Changes to anatop regulator driver
  - Chagnes to i.MX device tree code pertaining to anatop regulator
  - Changes to i.MX device tree pertaining to PCIe controller

I submitted first two in [1] and [2], and, unless adwised otherwise,
am planning on submitting the last one once [1], [2] and this patchset
are accepted.

This patch was tested against i210 card on i.MX7 Sabre board
(connected via mini-PCIe to PCIe adapter) with general functionality
and bandwidth tests.

Note that this patchset have known "blemish" where Gen1 cards (at
least) report this message:

 imx6q-pcie 33800000.pcie: Speed change timeout
 imx6q-pcie 33800000.pcie: Failed to bring link up!

due to hardware not clearing PORT_LOGIC_SPEED_CHANGE bit after speed
change is requested, but since this does not seem to affect the
functioning of the link I am hoping this is not a deal breaker.

I posted a question on NXP community web-site [3] hoping to get some
additional info to help resolve the matter and if anyone has any
suggestions I'd love to hear them.

Thanks,
Andrey Smirnov

[1] https://www.spinics.net/lists/arm-kernel/msg553215.html
[2] https://www.spinics.net/lists/kernel/msg2418471.html
[3] https://community.nxp.com/message/867943

Andrey Smirnov (3):
  PCI: imx6: Fix a typo in error message
  PCI: imx6: Allow probe deferal by reset GPIO
  PCI: imx6: Add code to support i.MX7D

 .../devicetree/bindings/pci/fsl,imx6q-pcie.txt     |   6 +-
 drivers/pci/host/pci-imx6.c                        | 197 ++++++++++++++++++---
 include/linux/mfd/syscon/imx7-gpc.h                |  18 ++
 include/linux/mfd/syscon/imx7-iomuxc-gpr.h         |   4 +
 include/linux/mfd/syscon/imx7-src.h                |  18 ++
 5 files changed, 214 insertions(+), 29 deletions(-)
 create mode 100644 include/linux/mfd/syscon/imx7-gpc.h
 create mode 100644 include/linux/mfd/syscon/imx7-src.h

-- 
2.9.3

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-23 15:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 16:36 [PATCH 0/3] i.MX7 PCI support Andrey Smirnov
2017-01-19 16:36 ` [PATCH 1/3] PCI: imx6: Fix a typo in error message Andrey Smirnov
2017-01-19 16:41   ` Lucas Stach
2017-01-19 16:36 ` [PATCH 2/3] PCI: imx6: Allow probe deferal by reset GPIO Andrey Smirnov
2017-01-19 16:44   ` Lucas Stach
2017-01-20 23:21   ` kbuild test robot
2017-01-19 16:36 ` [PATCH 3/3] PCI: imx6: Add code to support i.MX7D Andrey Smirnov
2017-01-19 16:52   ` Lucas Stach
2017-01-20 14:24     ` Andrey Smirnov
2017-01-23 14:52   ` Rob Herring
2017-01-23 15:02     ` Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).