devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 3/3] ARM: dts: imx6qp: Specify imx6qp version of PCIe core
       [not found] <1461167131-26025-1-git-send-email-andrew.smirnov@gmail.com>
@ 2016-04-20 15:45 ` Andrey Smirnov
       [not found]   ` <1461167131-26025-3-git-send-email-andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Smirnov @ 2016-04-20 15:45 UTC (permalink / raw)
  To: linux-pci, linux-arm-kernel
  Cc: Andrey Smirnov, linux-kernel, devicetree, Bjorn Helgaas,
	Lucas Stach, Richard Zhu, gary.bisson

I.MX6Quad Plus has a slightly different version of PCIe core than
reqular i.MX6Quad.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---


Changes since v2:
	- Removed default clause in all introduced switch statements
	- Switched to using of_device_get_match_data instead of
          explicit of_device_is_compatible checks
	- Added a mention of the new DT compatibility string in the documentation

Changes since v1:

	- Patchset is rebased against
          https://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/log/?h=pci/host-imx6
	- DTS files changes moved into a separate patch


 arch/arm/boot/dts/imx6qp.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi
index 1ada714..886dbf2 100644
--- a/arch/arm/boot/dts/imx6qp.dtsi
+++ b/arch/arm/boot/dts/imx6qp.dtsi
@@ -82,5 +82,8 @@
 				      "ldb_di0", "ldb_di1", "prg";
 		};
 
+		pcie: pcie@0x01000000 {
+			compatible = "fsl,imx6qp-pcie", "snps,dw-pcie";
+		};
 	};
 };
-- 
2.5.5

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

* Re: [PATCH v3 3/3] ARM: dts: imx6qp: Specify imx6qp version of PCIe core
       [not found]   ` <1461167131-26025-3-git-send-email-andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-04-29  1:48     ` Fabio Estevam
  2016-04-29 12:52       ` Gary Bisson
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2016-04-29  1:48 UTC (permalink / raw)
  To: Andrey Smirnov
  Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Bjorn Helgaas, Lucas Stach, Richard Zhu, Gary Bisson, Shawn Guo

On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov
<andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I.MX6Quad Plus has a slightly different version of PCIe core than
> reqular i.MX6Quad.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Reviewed-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v3 3/3] ARM: dts: imx6qp: Specify imx6qp version of PCIe core
  2016-04-29  1:48     ` Fabio Estevam
@ 2016-04-29 12:52       ` Gary Bisson
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Bisson @ 2016-04-29 12:52 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Andrey Smirnov, linux-pci@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-kernel,
	devicetree@vger.kernel.org, Bjorn Helgaas, Lucas Stach,
	Richard Zhu, Shawn Guo

Hi all,

On Fri, Apr 29, 2016 at 3:48 AM, Fabio Estevam <festevam@gmail.com> wrote:
> On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov
> <andrew.smirnov@gmail.com> wrote:
>> I.MX6Quad Plus has a slightly different version of PCIe core than
>> reqular i.MX6Quad.
>>
>> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
>
> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>

Tested on a Nitrogen6QP_MAX with an Intel WiFi Link 5300 PCIe card.
Everything is working properly (Gen1 speed).
# lspci
00:00.0 Class 0604: 16c3:abcd
01:00.0 Class 0280: 8086:4235

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>

Thanks,
Gary

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

end of thread, other threads:[~2016-04-29 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1461167131-26025-1-git-send-email-andrew.smirnov@gmail.com>
2016-04-20 15:45 ` [PATCH v3 3/3] ARM: dts: imx6qp: Specify imx6qp version of PCIe core Andrey Smirnov
     [not found]   ` <1461167131-26025-3-git-send-email-andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-29  1:48     ` Fabio Estevam
2016-04-29 12:52       ` Gary Bisson

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