Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp124015imj; Thu, 14 Feb 2019 16:49:30 -0800 (PST) X-Google-Smtp-Source: AHgI3IZdelNlLMV7vB6F5NJnohp1Y0eykCxWKJwNPvy99oKDBZPdtur6u8GA49WzAL6vlgOQUmVt X-Received: by 2002:a62:4882:: with SMTP id q2mr6865487pfi.167.1550191770654; Thu, 14 Feb 2019 16:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550191770; cv=none; d=google.com; s=arc-20160816; b=ejbEUl476F+FwypHJXKMnH7FtpVsZ8QMwq1s2pvDZSANVTa/PEx05Ezc7Q/oBovCNw k/kzbXlkHdlTRbhx02UxcmLhXWWFq/6rZBhLVeOfNHVkzkv4pGdHBvq1kN8N0JUVn0+h kJwEMmBHMNY2nkBgMVTGAaUbAb2bd0Nhn8zjfKQOym+0jj144G+lSTB0hv31Xs5UIHY+ z6e3Zv5fNIxzDp6IyMU/0VndbTxWOHVHRvmdfWnCj6s1cD5hTKBcQZOMy82YBLy8EpXa CWwIVw+v276iS+Hrhjrt6V58IlJmqc44YB7S9QsU9vC1uBWgexfVQk2SBhtsa/YBKb94 w1HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pBrV/QLTfGinKLi0c1sjsaBJQ48YPzGvzMmSRpU5Vi8=; b=dHdhLjnFoAp9BuB1NzqWdolzGou7HgirRfHMirzs9TcjYX9n8ZZwJ/DpztNZqNRZHn 7IQy64lMk5uy+u4CjHhqjHA/viUS6ZkRGdYH1GExbyPqJ/8NdOR4k2W3yyKQlIEUG13X 6ONW8rda7rK5lLUsTo1qzBAOaZaTE1fH5DIz2sssV2YES/ekdlNY3QmzFFcCwj2bsgEi 5w0d2b/2BF8qLX66d+0rvxxn2iW6WQ4oaMZQt6jDvEqlpL3k0558Fm53JEGQcKs6k73C mF/w5JghqvBquC7qfkKzn6zuuKEDVGHbEs514pnK0ObDbazPoqK2Q9YCl1ZzKTEXy9rk KfgQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si3821667pls.376.2019.02.14.16.49.15; Thu, 14 Feb 2019 16:49:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407626AbfBNP4q (ORCPT + 99 others); Thu, 14 Feb 2019 10:56:46 -0500 Received: from muru.com ([72.249.23.125]:38844 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfBNP4p (ORCPT ); Thu, 14 Feb 2019 10:56:45 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D708A80EA; Thu, 14 Feb 2019 15:56:53 +0000 (UTC) Date: Thu, 14 Feb 2019 07:56:40 -0800 From: Tony Lindgren To: Roger Quadros Cc: Suman Anna , ohad@wizery.com, bjorn.andersson@linaro.org, david@lechnology.com, nsekhar@ti.com, t-kristo@ti.com, nsaulnier@ti.com, jreeder@ti.com, m-karicheri2@ti.com, woods.technical@gmail.com, linux-omap@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Robert Nelson , dan@kulp.com, Matthijs van Duin , Rob Herring Subject: Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings Message-ID: <20190214155640.GD5720@atomide.com> References: <1549290167-876-1-git-send-email-rogerq@ti.com> <1549290167-876-2-git-send-email-rogerq@ti.com> <16001a6f-faed-ee14-5ade-79d5462f6d51@ti.com> <5C654C39.2030308@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C654C39.2030308@ti.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Roger Quadros [190214 11:09]: > Suman is mainly concerned about the following changes in v2 > 1) pruss node does not contain reg property representing entire ICSS. > 2) pruss node does not contain interrupts. > > Both of these are required if drivers/uio/uio_pruss.c or in future if > VFIO is to be used. > > The beagleboard community is a primary user of this driver and we need to > find a solution so that PRUSS is usable either via remoteproc or via UIO. > > Ideal case should allow user to use either of the drivers by just doing > a unbind and bind. > > I don't have a better idea than having a encapsulating node that has > the appropriate reg and interrupt properties. If there are existing use cases that need to be supported you should list them as non-standard usage in the binding and not recommended for future use. Rob may have some comments on how to deal with this. Then you can have device driver that needs to pass them parse them from the PRUSS parent node. That does not mean there needs to be a top level device driver for PRUSS, the child control module can just parse the non-standard bindings for compability from the parent node. And naturally in addition to handling the non-standard binding we need to have a proper standardized binding too :) Regards, Tony