From patchwork Fri Sep 27 19:40:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 11165059 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81354924 for ; Fri, 27 Sep 2019 19:40:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4DCE721920 for ; Fri, 27 Sep 2019 19:40:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kx/vMRc0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="qWsSxV5E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4DCE721920 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=BKGG/7CmiafmideBNiQaUX/XSkBdp+9Oie1ujiWXW+M=; b=Kx/vMRc0OFVWyO wlPfvzuZVYa2pcM1tQrF7Sz403zgtunij5e8OqGpudXMujdUaJA4JHbxxb36ZH27xR9/qeKXnvgJt jvyKRtjSGorvhKTNnSWjpPBq4npAHVttdiD9AyBYFIey7kn+lt6SdWJaBz7hwYtwjR2cCAHGooviI Sq0zx5rjSojKFn5NlszWSAN/L6y43SsxSMNZvxnip42CKELvBhfTj54FzkPULG2u3RVtwZwaYSGG/ 0/Nevl7FPm1LRzgj6rGgvIsY1Y5svRg8icxrhXolamgGDDNDukwSJ84Sts/VCh0knKvO05YJcBi08 RrfMyIIadB2sMmSQ5iSg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDw6V-0001Cu-2x; Fri, 27 Sep 2019 19:40:35 +0000 Received: from mail-eopbgr680048.outbound.protection.outlook.com ([40.107.68.48] helo=NAM04-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDw6S-0001C5-Kf for linux-arm-kernel@lists.infradead.org; Fri, 27 Sep 2019 19:40:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VDjWVARtcQSqMXA1o37of+cXoNpALREwA4u+OhPdFHl7g5E32S2wFzVS9mbjJysQq6PzblBAmDm0Go+nKuL62OgNui3VszN9LI81EQXpV4xsD2AxyxbUbUFRyFW8Tf9zn8OkbqAd3yXSuZ4IjjTNgpb66xMJFEjP6lweBBv0HtmMF/T+KjPpa1TFkSr7o2Ggh7OUaEUCR5dtkfDHXzi9mljGQhuKf2XFBejIOc/bsWMZ05nCCMBBGTlrmJKmIDj5aNmjMDsYbG6wCy1C7Fz0hvbV894XASa1aL1JTHSlusIZqQYJwQ2iDVcOkA5pOl161sapOMeSO176tK6SA1hTSQ== 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=YtFp2Lg4n+5iP5vvY0eUoF0Xjw5rmocbiF6KRjgCDbQ=; b=QGpyCtw3j6GvF2qSGjBOJG++aiiEwlAHRaYtPrsvKW6xm+kEJ6y0m/ouO9A5EWxEYu3jNp3pyz9HfRew4ZUfKGFtuWxAUlvUFjpEqAmMHtK1VyDqBGdGanBdqIxi0N3JGNi6esgwbUdlT1yEePcBNovwJYhbULgkBwNevRj+M67/nOtZqyegYi7DEbjsV/jvxByiR/K4uPnBv7dTW9pfX9TLHCXUjTmJh5fOz2VQeceYf3EhCpyro2sZTcpsJz48GjyS9MWfjGpE/9JPdGCzy4EouZ4lr8YlfPUIO3MQY0GIOgs7t01rXc1I45X/n2Cw/sxi2JXB+wYHFE8qpEt05A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=linaro.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=YtFp2Lg4n+5iP5vvY0eUoF0Xjw5rmocbiF6KRjgCDbQ=; b=qWsSxV5E60RyFbtf1mMvt+pIhmktBaDu9RYY4JlUoANpN8/mICtGhb8R6LWFNbzPKm1uw4xR5TzdiNK+cnWp9tQfy1b1U4Q9xkgwWX1o4juzRX7rUVXINhKi4PT19WcCQcbWD04Oy8bya29hQEp0QozO07Agbc8YXXywjdzNRy4= Received: from BL0PR02CA0103.namprd02.prod.outlook.com (2603:10b6:208:51::44) by SN6PR02MB5344.namprd02.prod.outlook.com (2603:10b6:805:71::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.16; Fri, 27 Sep 2019 19:40:29 +0000 Received: from BL2NAM02FT054.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::207) by BL0PR02CA0103.outlook.office365.com (2603:10b6:208:51::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2263.21 via Frontend Transport; Fri, 27 Sep 2019 19:40:29 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.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 BL2NAM02FT054.mail.protection.outlook.com (10.152.77.107) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2284.25 via Frontend Transport; Fri, 27 Sep 2019 19:40:28 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iDw6O-0000L1-95; Fri, 27 Sep 2019 12:40:28 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iDw6J-0003aE-4t; Fri, 27 Sep 2019 12:40:23 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iDw6B-0003I3-Vh; Fri, 27 Sep 2019 12:40:16 -0700 From: Jolly Shah To: 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 Subject: [PATCH 1/2] dt-bindings: firmware: Add bindings for Versal firmware Date: Fri, 27 Sep 2019 12:40:05 -0700 Message-Id: <1569613206-20189-2-git-send-email-jolly.shah@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1569613206-20189-1-git-send-email-jolly.shah@xilinx.com> References: <1569613206-20189-1-git-send-email-jolly.shah@xilinx.com> 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; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(39860400002)(396003)(376002)(189003)(199004)(6666004)(11346002)(36386004)(446003)(16586007)(50226002)(426003)(478600001)(336012)(81156014)(81166006)(2616005)(8676002)(44832011)(7696005)(5660300002)(126002)(36756003)(50466002)(305945005)(476003)(4326008)(70206006)(51416003)(356004)(9786002)(107886003)(48376002)(76176011)(486006)(8936002)(70586007)(47776003)(7416002)(26005)(106002)(14444005)(186003)(6636002)(2906002)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR02MB5344; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:1; A:1; MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3222c221-ef70-4599-01a6-08d743828d35 X-MS-TrafficTypeDiagnostic: SN6PR02MB5344: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 0173C6D4D5 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: b+Tuhhe3XgFf1POvi1lNL8qWQeTNujvDiH09eBhp9C6cHR+7VCoQwvYBHYbhf0Qpd8SCl1TxDkb5Hu7tEWR1vjpLCsabU0DKaQamiIXE3kosrbKvMAQ03+KTglCXEm2ep1b46whpAFWxhwM4aI3+Ny7DPN0B4UiHHfFADEbS684PM34Yq/hhMyeiv+2v4ym5FNLs0bx//mEAeyYOF7m4orCDVTTb/UTG9sSrIWg3GU3vwtjQqxGi0AFJdBubGMEI2h/r2LUa8DNNJNwejSfcsI73N+8kNjsLjNgYp38Zx877YgR4xQT5+Xqwq0DXsw50WNMIcWn+DUo6h8G1wFApURIA/2J7DU0m3xWhJA7M9HtRUkHnVVM59XrSy8spTivn7wUrUJ3HoenVV4cVxxVncNwAz5vCxEGbpJvzMts9FUM= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2019 19:40:28.8344 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3222c221-ef70-4599-01a6-08d743828d35 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: SN6PR02MB5344 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190927_124032_680430_387C4B2A X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.68.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jolly Shah , rajanv@xilinx.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org ZynqMP firmware driver can be used for versal also. Add versal compatible string to zynqmp firmware driver doc. Signed-off-by: Jolly Shah --- .../bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt index a4fe136..18c3aea 100644 --- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt +++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.txt @@ -11,7 +11,9 @@ power management service, FPGA service and other platform management services. Required properties: - - compatible: Must contain: "xlnx,zynqmp-firmware" + - compatible: Must contain any of below: + "xlnx,zynqmp-firmware" for Zynq Ultrascale+ MPSoC + "xlnx,versal-firmware" for Versal - method: The method of calling the PM-API firmware layer. Permitted values are: - "smc" : SMC #0, following the SMCCC @@ -21,6 +23,8 @@ Required properties: Example ------- +Zynq Ultrascale+ MPSoC +---------------------- firmware { zynqmp_firmware: zynqmp-firmware { compatible = "xlnx,zynqmp-firmware"; @@ -28,3 +32,13 @@ firmware { ... }; }; + +Versal +------ +firmware { + versal_firmware: versal-firmware { + compatible = "xlnx,versal-firmware"; + method = "smc"; + ... + }; +}; From patchwork Fri Sep 27 19:40:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jolly Shah X-Patchwork-Id: 11165063 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7332C924 for ; Fri, 27 Sep 2019 19:41:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B8EC20863 for ; Fri, 27 Sep 2019 19:41:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="trIll1vD"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="GJCVk7uP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B8EC20863 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=6ceiohtEXOpfLL7gr1sVfL0VV/s98LicqmO8E/cjCqg=; b=trIll1vDgU+Mbk nWTZc8VgmzhwPvBsFhsgF+i1VGt+vLzKXd5PVK4N21eDJ4En2SMx7s0hTLGjlqU20kdg8KaMM83jP QFr4yKlYuMBZzASaliCTTk5UgAhepqNJxwJw9LfSPqPUtS3zUuRk5dEjNZD0ywbOBEQaxNjCsPzQz lxybb+1XVFiWVySyZ1tYwUVr/9j55oaNOEKkrL/i18N1RxuGQnf6fZ4VFy2B78dU9udIQtzUwfsJ0 0OTXcp2zAXRIicaQKFsfxO+oNNyM+Pd3bHVdGGjXoK2etCgjSi1+yClI+kenR3RdQydIcvv7X9QNq D2hBnsWp889bukUAZUKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDw6v-0001e2-Mv; Fri, 27 Sep 2019 19:41:01 +0000 Received: from mail-co1nam03on0618.outbound.protection.outlook.com ([2a01:111:f400:fe48::618] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDw6U-0001CK-GM for linux-arm-kernel@lists.infradead.org; Fri, 27 Sep 2019 19:40:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lUQRZV7DwC6PAOzHDcm3Iwzu5+fxkuQdcaNyb9gVZppUzqTFs3wenSSDgM/AdptCmZjn/qS3RFXzTI7GaVcsK5aNN885FY2Hsx5g1bQtrZg6jaSR3N+cEfMFdrZs0dMCXzBoSJGgHHK/tJI9DXQoyUq+Ot+8Z12FyTbDAfGKAC6HkpHP+JIpiHO4ec5ol52SGpJ3F/2zo4wHhmsFKIGFzCQFHcLFadlGEkn7XrKgh5bM2awLULNSpiqzJ2dTx6PH+vT2h76OxpzM/yRtQUXtKOylxpZZ44DO8UdaUTJ/vlDpllY7naenQoxKAPSG9lhjpOpzDlYZ0YvjdDAIDNyOgw== 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=VTaKeHXgf5Prw5VTRo31RjtpleuswlB5qdV+CG0qalo=; b=GLDWovRYMzW6NcTB9X8N6FTVQVFd128zIF9ar47rZIDMAQGN+tSWN66LdFmucvhAsfSMrCEJ4C6ZLjVlnn+asUjZq4rjviA5+C5+LyeF8cJ0PhTHNJdSk/lPvwV0Sb3DRkCccDy55YRkH38QfBxrE5GlphOEGLxLGvD97XaAQlPxznf6W3y3I1pe7N1l1ITRUUU5exiniPrgJTMPPD50+NbY4s6RQfHPDHE41SKM+56+E8GxOdVLrYr8VaVgeto6zUl70c+jhVjt4zPctxqfpz+DRyGX9q0rkxwnPWUgsipWXdZWTvrjmdzl37u3y/qOGzfgu3RD8LudEhvfg/iOjQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=linaro.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=VTaKeHXgf5Prw5VTRo31RjtpleuswlB5qdV+CG0qalo=; b=GJCVk7uP62GpoNKaMoejhkh3fpXpll5Gw9197h7JeJVIXXhJqH6rDOTjqkYkCN/FkcJz/9GemPZHYeA3eCpuuUcqQeug38NxX3x9v2xwu+y12WWx3LPwAHL0xRBrWix+QESa/gxP6Wc6ip0SY+O8qkJ1sVd1OYyhzeEn6bzg650= Received: from BL0PR02CA0136.namprd02.prod.outlook.com (2603:10b6:208:35::41) by MN2PR02MB6029.namprd02.prod.outlook.com (2603:10b6:208:185::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.23; Fri, 27 Sep 2019 19:40:30 +0000 Received: from CY1NAM02FT053.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::204) by BL0PR02CA0136.outlook.office365.com (2603:10b6:208:35::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2305.20 via Frontend Transport; Fri, 27 Sep 2019 19:40:29 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.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 CY1NAM02FT053.mail.protection.outlook.com (10.152.74.165) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2284.25 via Frontend Transport; Fri, 27 Sep 2019 19:40:28 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iDw6O-0000L2-Dt; Fri, 27 Sep 2019 12:40:28 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iDw6J-0003aE-9K; Fri, 27 Sep 2019 12:40:23 -0700 Received: from [172.19.2.91] (helo=xsjjollys50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iDw6C-0003I3-1f; Fri, 27 Sep 2019 12:40:16 -0700 From: Jolly Shah To: 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 Subject: [PATCH 2/2] drivers: firmware: xilinx: Add support for versal soc Date: Fri, 27 Sep 2019 12:40:06 -0700 Message-Id: <1569613206-20189-3-git-send-email-jolly.shah@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1569613206-20189-1-git-send-email-jolly.shah@xilinx.com> References: <1569613206-20189-1-git-send-email-jolly.shah@xilinx.com> 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; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(39860400002)(376002)(189003)(199004)(2906002)(476003)(486006)(126002)(7696005)(6666004)(44832011)(316002)(50226002)(50466002)(76176011)(51416003)(36756003)(11346002)(356004)(186003)(26005)(107886003)(426003)(446003)(36386004)(7416002)(106002)(9786002)(5660300002)(2616005)(336012)(305945005)(70206006)(70586007)(478600001)(6636002)(81166006)(81156014)(47776003)(16586007)(8936002)(48376002)(4326008)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR02MB6029; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; LANG:en; PTR:unknown-60-83.xilinx.com; MX:3; A:1; MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 38cad835-1a72-43b3-426d-08d743828d40 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(4709080)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328); SRVR:MN2PR02MB6029; X-MS-TrafficTypeDiagnostic: MN2PR02MB6029: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:561; X-Forefront-PRVS: 0173C6D4D5 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: BY/j9+spofGALadk878CKzaGHg7ceWXhaGqp7/CPYbtTTayuvJeq8TPXcvjs5fu+iQuDtZwsAZQlD5gx3WXijvQHZTMNDkVgaTA1V9pY2gXkxNPv50BnLcMEfsF4TFHuseHFVG3WLFa8rZeYL2KZC3daXOJQ7lsq1kUvheazywSzxr/LnSj7fg0ZApu+N2Jl7mh9Z8hiFCxoW8O1e6e/VDfJLAzlaUuP21/NJxH0bH7snAuSd72PuPHGbKFovmxTDI0xDOaGz/tJu5fnRkkEJIa4yEk6FQO1CIQmgPUpg4TklQ7NQqYQadq9PFHzokFBk8/2FLusteMY+dWjAyHYtMANxoVPlJ5URJsdCvcfd3qWJiJBvbMFBjmIonZnd7kR14SB63iM5ntFBNFxPUoWw2hdCFatcm1nIPquds0tRz4= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2019 19:40:28.9411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 38cad835-1a72-43b3-426d-08d743828d40 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: MN2PR02MB6029 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190927_124034_541325_FCDC8227 X-CRM114-Status: GOOD ( 11.79 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a01:111:f400:fe48:0:0:0:618 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jolly Shah , rajanv@xilinx.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Versal is xilinx's next generation soc. This patch adds driver support required to be compatible with versal device. Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index fd3d837..75bdfaa 100644 --- a/drivers/firmware/xilinx/zynqmp.c +++ b/drivers/firmware/xilinx/zynqmp.c @@ -711,8 +711,11 @@ static int zynqmp_firmware_probe(struct platform_device *pdev) int ret; np = of_find_compatible_node(NULL, NULL, "xlnx,zynqmp"); - if (!np) - return 0; + if (!np) { + np = of_find_compatible_node(NULL, NULL, "xlnx,versal"); + if (!np) + return 0; + } of_node_put(np); ret = get_set_conduit_method(dev->of_node); @@ -770,6 +773,7 @@ static int zynqmp_firmware_remove(struct platform_device *pdev) static const struct of_device_id zynqmp_firmware_of_match[] = { {.compatible = "xlnx,zynqmp-firmware"}, + {.compatible = "xlnx,versal-firmware"}, {}, }; MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match);