All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] test: Add PCI device entry without compat string and with DT node
Date: Wed, 10 Oct 2018 21:27:08 +0200	[thread overview]
Message-ID: <20181010192709.19302-3-marek.vasut+renesas@gmail.com> (raw)
In-Reply-To: <20181010192709.19302-1-marek.vasut+renesas@gmail.com>

Add PCI entry without compatible string and with a DT node only with
reg = <...> property into the DT. This is needed for the tests to
verify whether such a setup creates an U-Boot PCI device with the
DT node associated with it in udevice.node.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
---
 arch/sandbox/dts/test.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index ad94901fa1..0a6b86999d 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -363,7 +363,11 @@
 		ranges = <0x02000000 0 0x30000000 0x30000000 0 0x2000
 				0x01000000 0 0x40000000 0x40000000 0 0x2000>;
 		sandbox,dev-info = <0x08 0x00 0x1234 0x5678
-				    0x0c 0x00 0x1234 0x5678>;
+				    0x0c 0x00 0x1234 0x5678
+				    0x10 0x00 0x1234 0x5678>;
+		pci at 10,0 {
+			reg = <0x8000 0 0 0 0>;
+		};
 	};
 
 	pci2: pci-controller2 {
-- 
2.18.0

  parent reply	other threads:[~2018-10-10 19:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10 19:27 [U-Boot] [PATCH 1/4] pci: Support parsing PCI controller DT subnodes Marek Vasut
2018-10-10 19:27 ` [U-Boot] [PATCH 2/4] pci: Update documentation to make 'compatible' string optional Marek Vasut
2018-10-11  3:21   ` Bin Meng
2018-10-22  1:30   ` [U-Boot] [U-Boot, " Tom Rini
2018-10-10 19:27 ` Marek Vasut [this message]
2018-10-11  3:22   ` [U-Boot] [PATCH 3/4] test: Add PCI device entry without compat string and with DT node Bin Meng
2018-10-22  1:31   ` [U-Boot] [U-Boot, " Tom Rini
2018-10-10 19:27 ` [U-Boot] [PATCH 4/4] test: Add test for PCI device " Marek Vasut
2018-10-11  3:22   ` Bin Meng
2018-10-22  1:31   ` [U-Boot] [U-Boot, " Tom Rini
2018-10-11  3:21 ` [U-Boot] [PATCH 1/4] pci: Support parsing PCI controller DT subnodes Bin Meng
2018-10-22  1:30 ` [U-Boot] [U-Boot, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181010192709.19302-3-marek.vasut+renesas@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.