Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753019AbdHKM6W (ORCPT ); Fri, 11 Aug 2017 08:58:22 -0400 Received: from mail-dm3nam03on0071.outbound.protection.outlook.com ([104.47.41.71]:41224 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752631AbdHKM6S (ORCPT ); Fri, 11 Aug 2017 08:58:18 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Subject: Re: [PATCH 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware To: Rob Herring , Michal Simek , Edgar Iglesias CC: , Soren Brinkmann , , , , Mark Rutland References: <8c27b7eec6cc00d37dfe9b3998212ce9c9c27a31.1501854302.git.michal.simek@xilinx.com> <20170810191056.ur5b3zdrcgmb6sim@rob-hp-laptop> From: Michal Simek Message-ID: <4e5d9f8c-9e87-bdcd-388a-aab3c32415e8@xilinx.com> Date: Fri, 11 Aug 2017 14:58:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170810191056.ur5b3zdrcgmb6sim@rob-hp-laptop> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23250.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;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(199003)(24454002)(189002)(65806001)(6636002)(53546010)(106466001)(478600001)(4326008)(64126003)(63266004)(626005)(83506001)(36386004)(2906002)(86362001)(23676002)(230700001)(6246003)(33646002)(65826007)(31696002)(50466002)(5660300001)(9786002)(4001350100001)(77096006)(76176999)(54356999)(6666003)(81156014)(50986999)(47776003)(229853002)(65956001)(2950100002)(36756003)(305945005)(81166006)(8936002)(189998001)(54906002)(8676002)(31686004)(356003)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR02MB2466;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT020;1:vDpqh8sC039Rc2uHJgWmMt4nd3BU5VZ8/UBQJeFB+CNZHeEO/hdrCcHG7PMhKMmvD6Vqw/Ha4uDqQRgUviRJiIY0VnjeXLXtM8DMXg9bFjOrahPpBuj16Ns1lx3L3GmhF4Rd64adxDrDYYK7HECqrUAR6HaITvykBswAF2gHbzw0/69NO0IRzP8PN/rqQSMcYpx5LG4LxK4b5sAogibxxSejCRWzzopEYQwuZK2RYw5SQ6H/lqJAGJ2j1cqfta+Q7KYetDfQM9cMKzHrW8LdH6luDg0vrqd6wZkOoFRr7mwwFh7/uYB5yya16ZaWGWpZGG357kqmrrBll4kJ1RBzmRnJGWtM52ceqW04MQHCCU7I9B7teW8Dg/QRIeiWe7/SqNvTb6ZSdzMTfIA38zYSxvKlq8+X9WT/19Ue0L7yXaSPOR4X2Td3g8pws0cZXsyjERz1BXAkY5XnPaq6OClR4RvKo1H2PniSk1W9bkrI6fTubIa55EJaHZAs9ZQW5r11b/NPAv19NBg9rlwZV+m6f6+rUiaOkI+bJ+O6usaWPRbsiazGZg/TrP1QD9R1wogEaYbVjQq9KL9wPPq0qWq4KkE4jF/qt1XxAjFVgUYXyd7YTW0y1kdD1MmCXJ9fs3+xJ9nqBfcai0291Kz1ZzgVq/v9YSddEvf4+7ZpQx+RQ2b+/Tj0gXts9dTTNV9tLCcA+KyVvaxchg5HyMcoig95f1C/lJ61/dRQMJoQst/m12JFxDuCDbT9CqvycjgKnKI66fl3UTLhfQ0A4P4wAzqSOiZ9R/LCY9/qJiv3zxxCuqvwBu/ogvWjBGmo6r28xyQCWzY0g1vGg/FJOLR1XnkNJa6PurqvsJLOBAvzMfWJJmM= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6514913-5ce9-4576-5034-08d4e0b8a1a2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR02MB2466; X-Microsoft-Exchange-Diagnostics: 1;BN6PR02MB2466;3:pWTsFRJpeYOQgmtJioCsiVBRU2hxt/2sHbH2xMOz9LA7CD8+d9LafgXgZWGRscXOREYBNx55XfNW8gEweqdx66QqFOJ3ybFpiivID8/U5xWmlW0/2dDUD7NIJZheqvi/XhSkUCKMoeYQE6Yr1x9X5fjqbqSuY785w/EwucBKW1z9MTAq6za0/QY6w4fs1VsC8136kkcp6VHMXQSrVmgemCAIXzh3kqZ3ku4owvPGB6+aUyJzmyrtjWtNmsijr+zl7TZm/bQcc5KMkRte3hCK06MxN2ExQFmo8SA73yfbkJbz3b2p0YZzGhO8JXNZKjgeBWqBBs2u0aOm778gQIuZwvllEDaOnZISsaWjWMvNkdE=;25:RcfYvJwz7SqSBnVmgjgJ/U2omKCQE0irklWu0muXVQW1PHOirmvh+bVlxR8mEbfz5/9C0Zq5uJP+wrzHgT/bBbjN7ZQCAD2n3P4UofAjJjXqB61SLqv5J0eSdmNwQj3tw0WXLb8V5e06aWXAfBaWRjb6HAja6OblkBYrY9SygwFpRQEqjWKD004knoDAr6v/aKYEqYw0jQa4Wce5W7hcL1/zPxl+h+jPPeOY5VbHTBtLj+50A3xl+Zw9MiRNs0cT9En6qx4e5Sy7MQbc6LiB/4tcxazH9p9WpGoNCrBOXAPO1DWodKETBZr0qI0GxO7K1BbOafN79csbPwDaXGpYbg== X-MS-TrafficTypeDiagnostic: BN6PR02MB2466: X-LD-Processed: 657af505-d5df-48d0-8300-c31994686c5c,ExtAddr X-Microsoft-Exchange-Diagnostics: 1;BN6PR02MB2466;31:EeU555ucyI9mQ9hDX1fuGx9zIjGuWj0/N/xUI/mKqOh4lsppcsZMt7ocQtxiQKgDH50GmjuKtMNdKdEChPsScvnTr0HkF4sCfwKo4E5Lc8S4xkhyp+2x9HaE/0hnlZkI8urSKL+BdKVqn9gfRERlAnEj7/H6+FW6o5DsulCZ1F8Yn/hLuGq6LkWimGzFGIXi+DjFZckbgFCI1+XSZmBlwPHK1kllxyX+Wvr8s9U7qu0=;20:Adnas8mM1hUoLkFYi3K4ZV4oI1pWKqJi+PiyEFKoyOTJFAX7vnRhQral4Xr1LZFrK5X4eW1IGm4KA2XKRWSfztJfesODWIW82lkIEoUjhWImTco9nqamvQwUYoW6jNF9bmZxvCStbC3tJ4WMqH4n3Pkqc5x9k4wFNeh9WeVhmuMZ1Ud1OdJjr4W70BvIPlnNSMN7B+cQgICV+vKUsR2bszocDC7bx6FAQhRx8IaeAmnM+d1XT2wGXwMVl8zgTTQfUZ62beN7EiBjFz1UYqKAqGd4X091hPxAJDcKWOO/bjpI0xat34dqr17F31iIWSri/Lzs3to4clFiyQLvjiYUi/W+nX9wvPpMVsxKau6tun+4u2iRORsVF6kgCeADRF1clhZBBXDnpzWA2PTwrkWU69HjfdUCc3/TkKc0GmLJ5D0DrXRe5RaUIQFwemV0YgLozFI7Mn0MeOc/1/iTa+KsjTBF5gO8BLBNg5OYpJyctkB6kuWmfq6Kt3M3xtghP9OZ X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(13016025)(13018025)(5005006)(100000703101)(100105400095)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR02MB2466;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR02MB2466; X-Microsoft-Exchange-Diagnostics: 1;BN6PR02MB2466;4:kBH72853g4D/IxwMdfS2VTA44TCzUI1auYUiUR7ce6ancFFxOsEGdfZlAp3zWA7Bn4Wf9+wCPBZqc3Kg2TEEA7DcawGu0Bq8aGCheoBwKDoEm+GW/B5wLn7ml487r4JxFbr8F3cpE6EJdGE8eQXGAah7EpW7O0HwfArayrNJFXSmtFu7FUqdlQE4qlytawywlntzF+U21QX/UwpzyYAJUtfJ4y8eBQOpsQssQmPH0+doqYZuNvstPm070MFoTDqLSDi0an9d1WJnVsHYXnz4L/Z5qA2XOVcLdW3PUgRSUhc= X-Forefront-PRVS: 03965EFC76 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjAyTUIyNDY2OzIzOnJ3ZkNzYXdnaWhvcjlnUlFUMmlKNWNCVVI2?= =?utf-8?B?dUdadTlBTjhDaVVGQ0dsTThMWVJqYWZkT0ZTZmcyVFdKR1VLcjYvMk9qYitU?= =?utf-8?B?MGtPeVl4TU9VNmJScmErQjVhdzVUZnBMNGxrUy9uayt3dGdreUdsQU5GWjhr?= =?utf-8?B?M0pucCtmR0dJcTBwMnBLaWxlNm5XSDdNdWJ4RXhiNGNhT3VkZmNnMXRTMHZm?= =?utf-8?B?amtmWUJPb3laOG5hVWhwTGRqelkrUVhrcTlNL08wazI5eDZVMmN6Q2I5a3Vl?= =?utf-8?B?ZHZxcnNXampuVHMrWVlpbHNVTWM1d05mTWcw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LELsBzBTSCGV5HTGqc7iLR8pnjboo8RZ85NNRLA=;7:n+oZXG2P38rt+JO5XFlzBYCM+Qh6qT/rhw3b/dLuhKHSS6QV6x0dfNNCCbaHSgCmHzuyOdvCv0h6078jsXzfYyyk+jojz3nSQ5qznOZYHpzHiLGvCp+DXgzTrPS3esMAW4qS73yoZmI7VevNchxSeSwZyh54Wj6Mq6C/MQ0gS+WKa0+MryphRYdofz0vJ0xPZc6msGv2TDDnPVnvK4ULIJ+gToiuaTNiGPKzeL8kBzE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2017 12:58:15.2862 (UTC) 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2466 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1780 Lines: 56 Hi Rob, +Edgar, On 10.8.2017 21:10, Rob Herring wrote: > On Fri, Aug 04, 2017 at 03:45:30PM +0200, Michal Simek wrote: >> From: Soren Brinkmann >> >> Document the DT bindings for the Zynq UltraScale+ PM Firmware. >> >> Signed-off-by: Soren Brinkmann >> Signed-off-by: Michal Simek >> --- >> >> .../devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt | 19 +++++++++++++++++++ > > bindings/firmware/ will move. > >> 1 file changed, 19 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt >> >> diff --git a/Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt >> new file mode 100644 >> index 000000000000..222a18ce07fc >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt >> @@ -0,0 +1,19 @@ >> +Xilinx Zynq MPSoC Firmware Device Tree Bindings >> + >> +The zynqmp-pm node describes the interface to platform firmware. > > Please define this should be under /firmware node. > >> +Required properties: >> + - compatible: Must contain: "xlnx,zynqmp-pm" >> + - 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 > > Do you really use both? > SMCs definitely yes. Interface was designed in that way and I don't know if people are using it or not. Not sure if Xen is blocking SMCs. I know we have discussed it but not sure if this is enabled by default or only for certain configurations. Also not sure if xen contains handler for hvc. Edgar: Do you know? Thanks, Michal