Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1188573imj; Thu, 14 Feb 2019 02:40:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IZW29aPqF6BKvAOqTIrj8m3/ueqhlZb9nwAb0OlBbdjsc2+Q3LM4rWAav2aeeGcasGvhcnB X-Received: by 2002:a62:221a:: with SMTP id i26mr3275952pfi.174.1550140816726; Thu, 14 Feb 2019 02:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550140816; cv=none; d=google.com; s=arc-20160816; b=WR+mre8shaYNCNzmcrOkA/Y1L2AmgX9jbcoBSaaYh0FSVnRLsvFmC98g9/3Blr61Ua FchAYt+NXThoQz6WemcdpABy6j6V7ToXOxqvVR7t9yV+9Zjcuqv+s2mp6BCv3mKPTYca Bjdmozj8a62nld410Af1LqFHTn1xzOZzWihbObSw2i1+P/OvY/G+8zJ5zzgzoi6gEM1m W7yEaxgSjg48VvFf/G3wmdUtWqKYARJzMFamMJJX3VdCN3hZtncx0tjCpf66yRzl1Ypq YMCHoorpbaIsOelbtdvWLchyUiu8ugx0cwAV1uwfQB9ERxQQycb2hDG9iAFONBL4At2p IiwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2R9WcqTStpl+cXcD9pNMXIuf/C4nswy3x86MNOXCctU=; b=Rma1ZigtvrBpmnif/XvYkHiwddqmq5C2HclyfQCw6XJkBl4AXRDgWIeqUbr/T15wY1 /AfH644+4VxjJ2jnD2TIfzA6YO+bAQ+od6XA/vsNmAW8YReF4SX2PRwJ0X6Z8vMarwBI EvcsserNglrD8o3fo4uxyqDfn1YoXS9NZX8k35E9/TKcM9J6WUxVxsqcRRbc4dPeMes4 kFW1mF8X3sRIEf/VfyUQDW74JkbnJpxke0SX9qfpADu0s1HHoDOPx8OWpNBJw+Bq/yT6 v5NyMWXdFxVSxuvjItyyCPzAyttHRPjsewPnz9Cv8Cy0K0WtRLPBy8Bz6ETJSkcIl6BT 7njg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MEHedS4B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p74si2057533pfa.279.2019.02.14.02.40.00; Thu, 14 Feb 2019 02:40:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MEHedS4B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394197AbfBNCsN (ORCPT + 99 others); Wed, 13 Feb 2019 21:48:13 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:56960 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732564AbfBNCsM (ORCPT ); Wed, 13 Feb 2019 21:48:12 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1E2l3nl084946; Wed, 13 Feb 2019 20:47:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550112423; bh=2R9WcqTStpl+cXcD9pNMXIuf/C4nswy3x86MNOXCctU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=MEHedS4B1rCo+aZbQpXZkkoaWvvLGnIY3UoGYy6VzHtwNQTwCol9IHXI9SMUzMebQ p9V1Yd5Jfw8T5wO+vUDuUKouoSsssYDqUA1akvQ1B5yTa5v7SVrrtKHyWUxmUiXifk a06ACeOQ4X0QR4nt66PwPMudMo9VCYjh4mzx8gzE= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1E2l3jW121143 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 13 Feb 2019 20:47:03 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 13 Feb 2019 20:47:03 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 13 Feb 2019 20:47:03 -0600 Received: from [128.247.58.153] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1E2l2wR010889; Wed, 13 Feb 2019 20:47:02 -0600 Subject: Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings To: Roger Quadros , Tony Lindgren , Murali Karicheri CC: , , , , , , , , , , , References: <1549290167-876-1-git-send-email-rogerq@ti.com> <1549290167-876-2-git-send-email-rogerq@ti.com> <20190204163312.GI5720@atomide.com> <5C5959DB.2090608@ti.com> <5C59AEA3.1080400@ti.com> <124e9f09-fb60-071d-e2ba-ec6f7fb3955c@ti.com> <20190205161945.GS5720@atomide.com> <5C5AF77D.8020007@ti.com> From: Suman Anna Message-ID: <90c359d8-c899-cf99-3c82-9d39f2b7765c@ti.com> Date: Wed, 13 Feb 2019 20:47:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <5C5AF77D.8020007@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/6/19 9:04 AM, Roger Quadros wrote: > > > On 05/02/19 18:19, Tony Lindgren wrote: >> * Murali Karicheri [190205 16:13]: >>> On 02/05/2019 10:41 AM, Roger Quadros wrote: >>>> What I'm suggesting here is that kernel remoteproc driver should have nothing to do >>>> with the other PRU's data RAM. >>>> >>>> The application driver if needs both PRUs then it can obviously access both DRAMs >>>> as it has a phandle to both PRUs. >>>> >>> That should be fine. >> >> That sounds good to me too. >> >> For dts, yeah please allocate the resources for the modules >> where the resources belong to on the PRUSS internal interconnect :) >> Devices can move around on the interconnect between SoCs and the >> modules can get swapped or added. > > If you take a look at "Figure 30-1. PRU-ICSS Overview" in > http://www.tij.co.jp/jp/lit/ug/spruhz7h/spruhz7h.pdf > > You can see that DRAM0 and DRAM1 are not part of PRU. That means > they shouldn't be in the PRU node then. Yes, they do not belong to a PRU, and should not be defined underneath one. Both are accessible from both PRU cores, so it is upto the application on how they can partition the usage. regards Suman