Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3170908ybt; Mon, 29 Jun 2020 17:38:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5dG+ZmaSPWPskcuE1gG6HUSPBDrlOlWnAsrRuaTmc14bvV8WmNWWvWbpamsr1alcQ+uCO X-Received: by 2002:a17:907:2654:: with SMTP id ar20mr15398905ejc.62.1593477514235; Mon, 29 Jun 2020 17:38:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1593477514; cv=pass; d=google.com; s=arc-20160816; b=eNSH75HlWQD2eb2/hPNjBtUBRkjMKwa0YqC86UB2GnHgVyXzFaFZnJ0H+84rOR+Fic BNjUMC/EqhKUZqrbnCB2kvB4flWTCN4rtd7jAJqSLFNZnIMZOtEDal2RqhId/Dn3Y9Jg UMKHGu1LifR3wznio6BVEDpSsffWiVM2LCjn+L+zI4avEYOTDtNFWGvjzErQFMuiS/IE rLvANWvnglPNq28BYLnx6ZdNXHprM45uovJ6/iNY2uciB7X+0pmtgvV80fAkovNxupR9 07XZL5Io043eM55kq2YlQbP9msVVSi4N4GQ4aOpmqTy2oQWk6ahDKEM6E6nyITFKkbAf 5kXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=/I4IEY3BGgm+0yi5c+G6fFoNP02lZecbmfs8IRD4+4Q=; b=pMAf19sNgYHtwO3j0j30eLNwl3ak5aSrnuG1AYsZBFceTycBAJjBzw3/WLHfHYsb3R pn4dDkDJz7/VPjCWyXorFwkbOOlsu2JKPnXg9LPvGPTMxVrQpTFF8GUxv06kyOc/3qFr pW19DoWRnbbfptZSyAr4s1eePCJJ+pk/SA9SeMmb1EeSqO/1KGXzJDb8rtnRsmhgiM84 rYTQGz1FXaihMjiqi8fAsBRo5ZBFQL4lxhiIP8JpMgOWS32GMinQUec6ZB0WB72TCvUv 1mUuUqVVfc01JmNJAySbzGseJ0DIQIuZNI6gn8+4wtH9JnIUrlmHiVXODTfTcK3xngHZ 3rDQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=omzNQ+l2; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si652526edy.403.2020.06.29.17.38.09; Mon, 29 Jun 2020 17:38:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=omzNQ+l2; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728713AbgF3Ah0 (ORCPT + 99 others); Mon, 29 Jun 2020 20:37:26 -0400 Received: from mail-eopbgr770040.outbound.protection.outlook.com ([40.107.77.40]:59303 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726899AbgF3AhZ (ORCPT ); Mon, 29 Jun 2020 20:37:25 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0Vkn4/Lhx8ar2fTnDy6dNz+SpBjNX+dOgN341myQpgYsmkCVQQjgjYygkHod9kwCpEcA5XzHxlBw4lnfmxGDfl+OFZAvk8+Vti+ZliMe02hN9OlwCa1RoGXexFEl0YRJg7DLPWvfcAvJR0jy4n4CBsdAd8PiywLD6u44xrQt9UCGIiZqLEBBtBPFPELtNxiA5YxpbUzsPpZckOIw9mNHhJngmfm+uqTHugIOMfOv60bOhPenxJ6pEUBpUITvx+I7ggUZkkv/FJ8845+ZZ76HWpAh0X+xeWhgX0QxvZiiO4Su4pLxHi9yFqnXAzicWIkso37hNZnO9BlWiQygX6PuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/I4IEY3BGgm+0yi5c+G6fFoNP02lZecbmfs8IRD4+4Q=; b=OAw6K/GHFlI2h9D/qVPunSgA75s1r0ds+QtE71Fxctwqy4EfZiyGI+gT2NYocAgAAra+Y55hxb3uj30Yb7hAg20pXW5QZjXVH+CoLjb3fJWy9G/8kWuD5/+vdgjGF0A7ZTx4TNUn8WfDDTJSH4DvVywi+pgbxjPqZb/jE/j7xG9bzuuvkwfS/1x46xq7QPDcYHpytyRgXv/t7yxFqYEBiNf/Si09qrAQjZYOX/NCmywB3Lnu7qHVl/7z3ymTVPvSb3KF2Ywi6A8iSDxf3bQZ6GURW1Bu+RueEgZlWTsWq/ItuZmoU38w+iBfWgpZp+O4CgBJf87oVCp9jbc0i7yA1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/I4IEY3BGgm+0yi5c+G6fFoNP02lZecbmfs8IRD4+4Q=; b=omzNQ+l2TAoTb/eDyYt6PHNHpwFzgfrf2HV0372k/B9tXTSJcXeqh+ZdHVpBDATcMTYXVL+xQ8Dq1irMJDO355+K7uNtaZpQwYPfYaPtdQrDVLGjqCL+kHoNBsNUkCpMbLMhZXXiUyHPAzwAJLtJ7ZhfSD+xpdLSrRlKaVt8QFo= Received: from SN4PR0501CA0079.namprd05.prod.outlook.com (2603:10b6:803:22::17) by DM5PR02MB3864.namprd02.prod.outlook.com (2603:10b6:4:b4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Tue, 30 Jun 2020 00:37:21 +0000 Received: from SN1NAM02FT032.eop-nam02.prod.protection.outlook.com (2603:10b6:803:22:cafe::39) by SN4PR0501CA0079.outlook.office365.com (2603:10b6:803:22::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.10 via Frontend Transport; Tue, 30 Jun 2020 00:37:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT032.mail.protection.outlook.com (10.152.72.126) with Microsoft SMTP Server id 15.20.3131.20 via Frontend Transport; Tue, 30 Jun 2020 00:37:21 +0000 Received: from [149.199.38.66] (port=37946 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.90) (envelope-from ) id 1jq4Fj-0005Bx-D0; Mon, 29 Jun 2020 17:35:59 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1jq4H2-0007Gw-S4; Mon, 29 Jun 2020 17:37:20 -0700 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id 05U0bCFq011323; Mon, 29 Jun 2020 17:37:12 -0700 Received: from [10.23.120.6] (helo=localhost) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1jq4Gu-0007FO-Fx; Mon, 29 Jun 2020 17:37:12 -0700 Date: Mon, 29 Jun 2020 17:37:12 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Rob Herring cc: Ben Levinsky , "ohad@wizery.com" , "bjorn.andersson@linaro.org" , Michal Simek , Jolly Shah , Rajan Vaja , "mark.rutland@arm.com" , "linux-remoteproc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Stefano Stabellini Subject: Re: [PATCH v4 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings In-Reply-To: Message-ID: References: <1587749770-15082-1-git-send-email-ben.levinsky@xilinx.com> <1587749770-15082-5-git-send-email-ben.levinsky@xilinx.com> <20200511221755.GA13585@bogus> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapsmtpgw01;PTR:unknown-60-83.xilinx.com;CAT:NONE;SFTY:;SFS:(7916004)(376002)(346002)(396003)(39860400002)(136003)(46966005)(53546011)(8936002)(426003)(9786002)(478600001)(4326008)(356005)(47076004)(81166007)(54906003)(70586007)(70206006)(8676002)(5660300002)(336012)(186003)(82310400002)(2906002)(107886003)(44832011)(9686003)(6916009)(82740400003)(316002)(33716001)(26005);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5f0db55e-a943-467e-a12e-08d81c8dc01b X-MS-TrafficTypeDiagnostic: DM5PR02MB3864: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0450A714CB X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cu0pSfqybQc1DO5SxkfkFHuMfeJCoEK0hIflMXIeltFyhVy727z/40rR8XiyJJTdIy9uNJer1z5CnaT5aReixXSwEbP4UZ6QF9bWnLJ/6jsi1NksNhzoxeN2xTKkj+5iJHzATDUCQ4Pk71nJn2dQP91Fvl8Dd7BiFL96UXxQ0rzeiDh5KqtS9YB+IwbXRfoyT74oZ8r+hQ4f9KaHNd6IdHYmorrKFX/yFIoVBOLYHqtkaDVt1zANBioANxK3OGxzfmUwJofhBkDG5PorxM8zmlqd99WFL/gspVtN4MukfVEUZJhaym+suxDQV8RaSCoVJW0x+24KlH13xkeaPuoArn91fAXGsPScWmew9WnSEc9l46DArpRrUQ6ZVJ+Scq1y+tmFOTxa0LyCMNFgUctzCw== X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2020 00:37:21.1797 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5f0db55e-a943-467e-a12e-08d81c8dc01b X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT032.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB3864 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Jun 2020, Rob Herring wrote: > On Tue, May 26, 2020 at 11:40 AM Ben Levinsky wrote: > > > > Hi Rob, > > > > The Xilinx R5 Remoteproc driver has been around for a long time -- admittedly we should have upstreamed it long ago. The driver in the current form is using an "classic" remoteproc device tree node as described here. > > I would rather not have 2 possible bindings to maintain. If there's > been no rush to upstream this til now, then it can wait longer. > > > > > I am working with Stefano to come up with an appropriate System Device Tree representation but it is not going to be ready right away. Our preference would be to upstream the remoteproc node and driver in their current forms while system device tree is maturing. > > There's obviously going to still need to be some sort of description > of the interface between cores, but this has parts that obviously > conflict with what's getting defined for system DT. The TCMs are the > most obvious. If you can remove (or hardcode in the driver) what > conflicts, then perhaps this can be upstreamed now. Hi Rob, Sorry it took a while to answer back but we wanted to do some research to make sure the reply is correct. The System Device Tree version of the OpenAMP remoteproc bindings aims at being simpler and vendor-neutral. As anything else System Device Tree, Lopper will read it and generate a "traditional" device tree with the existing remoteproc bindings. In that sense, it might not affect Linux directly. However, given the fragmentation of the remoteproc bindings across multiple vendors (they are all different), I think it is a good idea for Linux, for System Device Tree, and in general to come up with simpler remoteproc bindings, more aligned between the vendors. If nothing else, it is going to make Lopper's development easier. So I think it is a good idea to take this opportunity to simplify the Xilinx remoteproc bindings as you suggested. The idea of to removing the TCM nodes is a good one. In addition I asked Ben to have a look at whether the mboxes and mbox-names properties can be removed too. Ben will reply with a simplified bindings proposal.