Received: by 10.223.176.5 with SMTP id f5csp2103073wra; Wed, 31 Jan 2018 17:06:41 -0800 (PST) X-Google-Smtp-Source: AH8x224SPA9xhb2Xi6gspApQE0Cu/5ViOy7MwFObv7JX7SrZGGgeOwQO0f1gllR8/6TQd9U/SvEM X-Received: by 10.99.53.203 with SMTP id c194mr20796927pga.12.1517447201733; Wed, 31 Jan 2018 17:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517447201; cv=none; d=google.com; s=arc-20160816; b=CBqufeLXW5Npi2zIyo908epsROaNZu3biu4Z/jHlVj93HalsaHAL20Dps9Yihx5Ld/ BQiXyuRRdAIgrPO/78bkdidBw14hZE2LzExwq0siD6og/DeAQ1Pg9Zj87XBcnxsyuP6D gupcyXAJ9KMa8ZAWyloErdY4ND+PKk8XmNY56ZU6HWl+1eKRjfA84beXa/80A19hhvbt 6RmOoyXxUlvVlLmMQoMQq+nH6OJ0XDh4LeLxedO7oz8G7/28vq0y10mDLFJgT9MBSr8E I46NCvQntIn0PPTeohzr6o1FtZ9n7N3ECzARXWHgT5iOs7DCDY5faXY3Ea3Eakd+HDrn zxxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=X5xJkEZl3WbpByjlTkHUfMaDntxHwdqvgxxxWFsb8+Y=; b=dabgu7S2V2XFcUXV+B/TLrp8OhCyn7dRF/CUVO7fwwcTuZIE2wSUwiU7kD19flQ/U+ aSdtNdGMjS3JdvIAWp4k6TP06rB/uVkkHsTgmEHDjCDBGbSQsZPnZbChFPhhN/kEzp5r N7ScEq3JjtO1aGNcJ1knHuy4fa6yzvP8AIo3Yz1jW8C8IRAX/SVfOYIz2Uxb1E8zg0v5 gOvMCQa/yQ5v3cnhrN+wyKup9z8MTx8G8bw+StaqQ6UEyVEkxrnu99RefMAhOocxOadQ 5nxcwIaYSgaKM4e7TM25t8SKiQ7J1hT2qbaLVzvZpCdhiASHrYXVJ+7tFCBgRGPjO/PH bGwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=jbnodItw; 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 x61-v6si708761plb.584.2018.01.31.17.06.26; Wed, 31 Jan 2018 17:06:41 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=jbnodItw; 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 S932182AbeBABEx (ORCPT + 99 others); Wed, 31 Jan 2018 20:04:53 -0500 Received: from mail-bl2nam02on0044.outbound.protection.outlook.com ([104.47.38.44]:60160 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754559AbeBABEv (ORCPT ); Wed, 31 Jan 2018 20:04:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=X5xJkEZl3WbpByjlTkHUfMaDntxHwdqvgxxxWFsb8+Y=; b=jbnodItw7jW/Oku5nGR9HT6GoE98ZOi9EEdHi19CTW5ADC3OPcick78Z1A9KrLtvluqsQcDstO7F5y4IU78+ELvRkf14WGYt0oVfFhaKHzUvUZLAA70i3l3Ub2azobejQZSykFnQnDE6M7hftqSr/wflxGAlePZc4x1ddu2ccA4= Received: from CY1PR0201MB0764.namprd02.prod.outlook.com (10.160.141.154) by CY1PR0201MB1529.namprd02.prod.outlook.com (10.163.139.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 1 Feb 2018 01:04:47 +0000 Received: from CY1PR0201MB0764.namprd02.prod.outlook.com ([10.160.141.154]) by CY1PR0201MB0764.namprd02.prod.outlook.com ([10.160.141.154]) with mapi id 15.20.0444.016; Thu, 1 Feb 2018 01:04:45 +0000 From: Jolly Shah To: Mark Rutland CC: "ard.biesheuvel@linaro.org" , "mingo@kernel.org" , "gregkh@linuxfoundation.org" , "matt@codeblueprint.co.uk" , "sudeep.holla@arm.com" , "hkallweit1@gmail.com" , "keescook@chromium.org" , "dmitry.torokhov@gmail.com" , "michal.simek@xilinx.com" , "robh+dt@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Rajan Vaja Subject: RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware Thread-Topic: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware Thread-Index: AQHTlWomdmmvreQR6kiWwxGfbK0z8aOOUOEAgAB0v5A= Date: Thu, 1 Feb 2018 01:04:45 +0000 Message-ID: References: <1516836074-4149-1-git-send-email-jollys@xilinx.com> <1516836074-4149-2-git-send-email-jollys@xilinx.com> <20180131180354.mqf4gvvprdtycbn5@lakrids.cambridge.arm.com> In-Reply-To: <20180131180354.mqf4gvvprdtycbn5@lakrids.cambridge.arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=JOLLYS@xilinx.com; x-originating-ip: [149.199.62.254] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0201MB1529;7:zj03cgMW63KUkeFrP+nBBeX2ANLWMYpA4BzKla4Z67Tiw4yefV3oZ3qQ4zoZW6RIO24l5OE1zYySQtHvSY2dkctwlyiWNubpmdwnsNmRtMrl+RmvICYcFKSef6hrl/m0hYHuU+21AxW8fT7sSvyJGWy1BVc6AnU/mvfpZAgWzoPPipfrTea1MHNto5q3w89hpPhlPeO+WVlzidYroey/dC9mTwlxmLuEtxCuj9+CIUH5nSQFY919/756NR/A1/rR x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(396003)(39860400002)(39380400002)(366004)(346002)(376002)(51914003)(189003)(199004)(13464003)(8676002)(81156014)(3660700001)(81166006)(478600001)(26005)(53546011)(6506007)(6436002)(102836004)(105586002)(229853002)(2900100001)(966005)(8936002)(99286004)(77096007)(86362001)(3280700002)(7416002)(97736004)(7696005)(14454004)(76176011)(72206003)(4326008)(6116002)(33656002)(9686003)(107886003)(2906002)(53936002)(25786009)(39060400002)(3846002)(6916009)(54906003)(6246003)(106356001)(55016002)(74316002)(316002)(7736002)(5660300001)(66066001)(68736007)(6306002)(305945005)(186003)(2950100002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0201MB1529;H:CY1PR0201MB0764.namprd02.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 907e81cc-55eb-42ef-6e58-08d5690fc8c1 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:CY1PR0201MB1529; x-ms-traffictypediagnostic: CY1PR0201MB1529: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(85827821059158)(258649278758335)(192813158149592)(189271028609987); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(3231101)(2400082)(944501161)(3002001)(93006095)(93001095)(6055026)(6041288)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:CY1PR0201MB1529;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0201MB1529; x-forefront-prvs: 0570F1F193 received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: nvCtzf5YiFHXSk48+0j104SPONki01WjHUS5kbMQrVouDkF5oUB6HCwVljunBAv2fD7A0cJHL34P4Ebe60+T5A== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 907e81cc-55eb-42ef-6e58-08d5690fc8c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2018 01:04:45.3214 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1529 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, Thanks for the review, > -----Original Message----- > From: Mark Rutland [mailto:mark.rutland@arm.com] > Sent: Wednesday, January 31, 2018 10:04 AM > To: Jolly Shah > Cc: ard.biesheuvel@linaro.org; mingo@kernel.org; > gregkh@linuxfoundation.org; matt@codeblueprint.co.uk; > sudeep.holla@arm.com; hkallweit1@gmail.com; keescook@chromium.org; > dmitry.torokhov@gmail.com; michal.simek@xilinx.com; robh+dt@kernel.org; > linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; > devicetree@vger.kernel.org; Jolly Shah ; Rajan Vaja > > Subject: Re: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqM= P > firmware >=20 > On Wed, Jan 24, 2018 at 03:21:11PM -0800, Jolly Shah wrote: > > Add documentation to describe Xilinx ZynqMP firmware driver bindings. > > Firmware driver provides an interface to firmware APIs. Interface APIs > > can be used by any driver to communicate to PMUFW (Platform Management > > Unit). > > > > Signed-off-by: Jolly Shah > > Signed-off-by: Rajan Vaja > > --- > > .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt | 16 > ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware > > .txt > > > > diff --git > > a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmwa > > re.txt > > b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmwa > > re.txt > > new file mode 100644 > > index 0000000..a7aaf56 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-fi > > +++ rmware.txt > > @@ -0,0 +1,16 @@ > > +Xilinx Zynq MPSoC Firmware Device Tree Bindings > > + > > +The zynqmp-firmware node describes the interface to platform firmware. >=20 > Is there any documentation for this that can be referred to? > Will add more information about supported APIs in next version patch. Below document describes interface APIs though it is not latest. =20 https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pd= f > > + > > +Required properties: > > + - compatible: Must contain: "xlnx,zynqmp-firmware" > > + - method: The method of calling the PM-API firmware layer. > > + Permitted values are: > > + - "smc" : To be used in configurations without a hypervisor > > + - "hvc" : To be used when hypervisor is present >=20 > Please specify what exactly these mean. I assume these follow the SMCCC. > If so, this can be: >=20 > - method: The method of calling the PM-API firmware layer. > Permitted values are: > - "smc" : SMC #0, following the SMCCC > - "hvc" : HVC #0, following the SMCCC >=20 > Otherwise, this looks ok to me. >=20 Yes it follows SMCCC.=20 > Thanks, > Mark. >=20 > > + > > +Examples: > > + zynqmp_firmware: zynqmp-firmware { > > + compatible =3D "xlnx,zynqmp-firmware"; > > + method =3D "smc"; > > + }; > > -- > > 2.7.4 > >