From patchwork Wed Aug 16 12:24:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9903589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9AA5600CA for ; Wed, 16 Aug 2017 12:25:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA73A28965 for ; Wed, 16 Aug 2017 12:25:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EE7C289CF; Wed, 16 Aug 2017 12:25:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 78AEE28965 for ; Wed, 16 Aug 2017 12:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=SrjZLFfl7DHqHDbuRni7pWfjwZr4q3NLc1z+DMkxnoY=; b=SN8Zp2y81e633+mpIn0l73BB27 vhfvtfZpsZDblHZr0xHW+fkYb6ppiqDJMDGEd4AXeyiZ2I3njrIOg1U0memuKjvDGyjj0jz/cSdro RMIHWZ2xVpaC4o8+96ot6z7fVTSthFhvOchaw+NwUq7bqfrXSQiJPxLqWxF6Lwksfa67jFSUA+vkG SFW0nzn0hKwJJ0OxWwYwoeHgXX9cCOOlUW7n/ftOm3bwabPzLiaDCd68F1Mb2+TYg+NCOpzoMoQCn VnkvOQYKtH340mp2Qxy7W2akWvGSKAo1yH78XU+0KxQ69JPW6eRxT4Ts3LA7NwmTTh6lVlGPbrmbo 8L3M1Tlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhxO8-0006yy-Ns; Wed, 16 Aug 2017 12:25:32 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhxO2-0005pW-SB for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2017 12:25:29 +0000 Received: by mail-wr0-x241.google.com with SMTP id g32so2770400wrd.5 for ; Wed, 16 Aug 2017 05:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=nSYawSgFIYLGgpq1llObU58TRFG3rxA7hBMPbYQqvvU=; b=HFQzfr9BA1OonbTZaTXVY38qFWKiGdqwszJ9e34bEdYfUmWT7t7jEZp0JIRg4qCqNW 6I9ed06AA2HrUuqVJyWbA0xSVvYxs0FN65uxIqlgG0WUfubmBrPWO74wa7i/R7fT1XWn Cie4uNZFa0reEwERYP7hY7p8CmtHE3cvS+HjjcnmUtJY9fwAxwb3yigaHQb7eKS10JKO XBf6HNSCbW45mLcwq9AMxI6N+vHPTdeRVcHevk72JGdrXsXy1nWx4UgqdLuYuXyXsK/e +BEhTUUt/JLt8T2md/HvGtWRtWZV8uZWl4arhYNXD254Un5KGqNTcIK03xKo5G5pNVuM IW0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=nSYawSgFIYLGgpq1llObU58TRFG3rxA7hBMPbYQqvvU=; b=YzqeXirtyRRTrvciMMbEWF6RogRrttRWFy35oFSvQlorC7ssorVSge94S9WsExgFOP UTS7bnsdbF6C3cyZRnNrCS1eTsADd+g0+0ICwjycNMCO2S3prO7963Kc8DaatYDdFHwD Dd3FN6SYeXS0S2y4/SJ7SMFYGZ++lEqqKegMTIBy/faw5ns5Cj9yFQxHlpksXWLcMCJk tU0yXynBrykrcDE8Jn/AQ4Wf94o2A27r1viZbAmA3ZOMwGwjDlo4aIs+5j3NECM2pVdJ Oonbv4OrMeHkAQK4FsX4YSGvNHI1DuLa2GKYl9W7AS/nrA+SzOCSuOZpXlwLo50CCeNw EN4Q== X-Gm-Message-State: AHYfb5jLT6nT9KBJsv7xAaUwvXrALGbc8ltK6ZYTYK+ehh0AK1sXx5/F SxTjNeOKNfgEwXEqBj4= X-Received: by 10.223.160.26 with SMTP id k26mr1019396wrk.121.1502886305332; Wed, 16 Aug 2017 05:25:05 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id i7sm864162wrb.19.2017.08.16.05.25.04 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 16 Aug 2017 05:25:04 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, Arnd Bergmann Subject: [PATCHv2 1/3] dt: xilinx: zynqmp: Add bindings for PM firmware Date: Wed, 16 Aug 2017 14:24:56 +0200 Message-Id: <2935be9896d54020720919e7dab7c2f86bdc83a3.1502886277.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170816_052527_177268_9E5DF429 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, Rob Herring , monstr@monstr.eu, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Soren Brinkmann MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Soren Brinkmann Document the DT bindings for the Zynq UltraScale+ PM Firmware. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- Changes in v2: - Move to bindings/firmware and also add it to firmware node Reported-by Rob .../bindings/firmware/xlnx,zynqmp-pm.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt diff --git a/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt new file mode 100644 index 000000000000..7de0c82758b3 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/xlnx,zynqmp-pm.txt @@ -0,0 +1,22 @@ +Xilinx Zynq MPSoC Firmware Device Tree Bindings + +The zynqmp-pm node describes the interface to platform firmware. + +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 + - interrupts: Interrupt specifier + +Examples: + + firmware { + zynqmp-firmware { + compatible = "xlnx,zynqmp-pm"; + method = "smc"; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + }; + };