From patchwork Thu Sep 17 20:42:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 53854 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 8C69322A0D for ; Thu, 17 Sep 2015 20:43:34 +0000 (UTC) Received: by lamf6 with SMTP id f6sf11720270lam.1 for ; Thu, 17 Sep 2015 13:43:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=OzgHxdrk6qZ+Xn5vf0RofTEDD7W0MVbAC4rY5SIO4T8=; b=ey5Hyj0fUjEHdAwOQJ9UGQbPzNz/n0n+Q6rTS8bCvBa6mHfhAM/J7J8ZIBHBop3KOD L29mxGepD53jhqh3vISoMZgj/wdXc2QX8WpoG+d29ZXAny/JFg/+VXmgdQcu8Rgt0aSl cVXTJ699398inetuFnAjF32ihxJTpTCUUiybwp6FyM8i+/mNSPE+FZWiHRfczKqIF6AW 8du5NZzwhTUL5gfs/qHfzN2N7NXgrKKlf69bdwOFaPCD7kBnn5fJXgCan1vX75yO7UA5 IbI2GL3lI6lj+wOb4nEvccQfhxITSeK17wRJ0CddanZOVoP8W/HipbU3Ju/wmjrTuT2/ FJtw== X-Gm-Message-State: ALoCoQkXl33hhi0Mt+Bg+QDDDoYbbX1SXMbdgRLR5XNjHYtOml7XaqQDCNwlJ0UWbCsux9fzWcDY X-Received: by 10.112.135.104 with SMTP id pr8mr213117lbb.4.1442522612642; Thu, 17 Sep 2015 13:43:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.200 with SMTP id la8ls128751lac.96.gmail; Thu, 17 Sep 2015 13:43:32 -0700 (PDT) X-Received: by 10.112.158.38 with SMTP id wr6mr1351558lbb.25.1442522612471; Thu, 17 Sep 2015 13:43:32 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id a8si3550489lab.171.2015.09.17.13.43.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Sep 2015 13:43:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lamp12 with SMTP id p12so18401416lam.0 for ; Thu, 17 Sep 2015 13:43:32 -0700 (PDT) X-Received: by 10.112.135.9 with SMTP id po9mr1419916lbb.56.1442522612247; Thu, 17 Sep 2015 13:43:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp3279838lbq; Thu, 17 Sep 2015 13:43:31 -0700 (PDT) X-Received: by 10.180.84.196 with SMTP id b4mr34374905wiz.32.1442522611381; Thu, 17 Sep 2015 13:43:31 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id gi6si6437716wjb.204.2015.09.17.13.43.29; Thu, 17 Sep 2015 13:43:31 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 549214B865; Thu, 17 Sep 2015 22:43:22 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZSYj7MY_kCYq; Thu, 17 Sep 2015 22:43:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2FA3D4B869; Thu, 17 Sep 2015 22:43:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9D99F4B813 for ; Thu, 17 Sep 2015 22:42:56 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oAOLaluSzkMr for ; Thu, 17 Sep 2015 22:42:56 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by theia.denx.de (Postfix) with ESMTPS id 2D6AA4B80A for ; Thu, 17 Sep 2015 22:42:51 +0200 (CEST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8HKgmI0011747; Thu, 17 Sep 2015 15:42:48 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8HKgme7026658; Thu, 17 Sep 2015 15:42:48 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Thu, 17 Sep 2015 15:42:48 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8HKgl57002951; Thu, 17 Sep 2015 15:42:48 -0500 From: Nishanth Menon To: Date: Thu, 17 Sep 2015 15:42:41 -0500 Message-ID: <1442522562-20764-4-git-send-email-nm@ti.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442522562-20764-1-git-send-email-nm@ti.com> References: <1442522562-20764-1-git-send-email-nm@ti.com> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH V3 3/4] sandbox: Introduce dummy remoteproc nodes X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nm@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Introduce dummy devices for sandbox remoteproc device and enable it by default Reviewed-by: Simon Glass Signed-off-by: Nishanth Menon Acked-by: Simon Glass --- Changes since V2: - Picked up Simon's reviewed-by from V2. V2: https://patchwork.ozlabs.org/patch/511750/ 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 f5217fb87778..730de8a57ffc 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -13,6 +13,8 @@ eth5 = ð_5; i2c0 = "/i2c@0"; pci0 = &pci; + remoteproc1 = &rproc_1; + remoteproc2 = &rproc_2; rtc0 = &rtc_0; rtc1 = &rtc_1; spi0 = "/spi@0"; @@ -233,6 +235,17 @@ compatible = "sandbox,reset"; }; + rproc_1: rproc@1 { + compatible = "sandbox,test-processor"; + remoteproc-name = "remoteproc-test-dev1"; + }; + + rproc_2: rproc@2 { + compatible = "sandbox,test-processor"; + internal-memory-mapped; + remoteproc-name = "remoteproc-test-dev2"; + }; + spi@0 { #address-cells = <1>; #size-cells = <0>; diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index e9e1597f9acf..b9ba04acebe5 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -61,3 +61,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