public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 3/4] sandbox: Introduce dummy remoteproc nodes
Date: Thu, 27 Aug 2015 23:07:32 -0500	[thread overview]
Message-ID: <1440734853-6552-4-git-send-email-nm@ti.com> (raw)
In-Reply-To: <1440734853-6552-1-git-send-email-nm@ti.com>

Introduce dummy devices for sandbox remoteproc device and enable it by
default

Signed-off-by: Nishanth Menon <nm@ti.com>
---

Changes in V2:
	- review comments incorporated from V1.

V1: https://patchwork.ozlabs.org/patch/510196/

 arch/sandbox/dts/test.dts | 13 +++++++++++++
 configs/sandbox_defconfig |  2 ++
 2 files changed, 15 insertions(+)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index c948df8c864b..9e85c2868444 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -12,6 +12,8 @@
 		eth5 = &eth_5;
 		i2c0 = "/i2c at 0";
 		pci0 = &pci;
+		remoteproc1 = &rproc_1;
+		remoteproc2 = &rproc_2;
 		rtc0 = &rtc_0;
 		rtc1 = &rtc_1;
 		spi0 = "/spi at 0";
@@ -226,6 +228,17 @@
 		compatible = "sandbox,reset";
 	};
 
+	rproc_1: rproc at 1 {
+		compatible = "sandbox,test-processor";
+		remoteproc-name = "remoteproc-test-dev1";
+	};
+
+	rproc_2: rproc at 2 {
+		compatible = "sandbox,test-processor";
+		internal-memory-mapped;
+		remoteproc-name = "remoteproc-test-dev2";
+	};
+
 	spi at 0 {
 		#address-cells = <1>;
 		#size-cells = <0>;
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 85ff95df7962..a33a05d08c90 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -54,3 +54,5 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
+CONFIG_REMOTEPROC_SANDBOX=y
+CONFIG_CMD_REMOTEPROC=y
-- 
2.1.4

  parent reply	other threads:[~2015-08-28  4:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  4:07 [U-Boot] [PATCH V2 0/4] drivers/sandbox: Introduce a simplified remoteproc framework Nishanth Menon
2015-08-28  4:07 ` [U-Boot] [PATCH V2 1/4] drivers: " Nishanth Menon
2015-09-02  3:46   ` Simon Glass
2015-09-16 23:47     ` Nishanth Menon
2015-08-28  4:07 ` [U-Boot] [PATCH V2 2/4] remoteproc: Introduce a sandbox dummy driver Nishanth Menon
2015-09-02  3:46   ` Simon Glass
2015-09-16 23:50     ` Nishanth Menon
2015-08-28  4:07 ` Nishanth Menon [this message]
2015-09-02  3:46   ` [U-Boot] [PATCH V2 3/4] sandbox: Introduce dummy remoteproc nodes Simon Glass
2015-08-28  4:07 ` [U-Boot] [PATCH V2 4/4] test: Add basic tests for remoteproc Nishanth Menon
2015-09-02  3:46   ` Simon Glass
2015-09-16 23:57     ` Nishanth Menon

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=1440734853-6552-4-git-send-email-nm@ti.com \
    --to=nm@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox