Message ID | 20190314140122.23372-6-nava.manne@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E5B9E1669 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Mar 2019 14:02:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C90FB2A4BD for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Mar 2019 14:02:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCE9B2A51A; Thu, 14 Mar 2019 14:02:50 +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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 648912A535 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 14 Mar 2019 14:02:50 +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: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:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8JTLK67ueQ1Q6VAYwqJs2kofiUo5nS4Lq3nbQzvGi0g=; b=jMJ64eHKO6iNTs 9jDRSsyvwgYKMG+2G7BoSDt6/c4VXEzgdczpgvX86oUIliduuEwZb3o5mPwr8JNb4Ke7gNjtkoefh wYEvW1z2axBVMj1x/Oq44M899KIstxPEPc2868oyTviV2+lLsnMLxPbEPMD2kEdZvKvKA3/5EzWB+ cMXnHrpkiCQs3PR+J64DwFkIKlk00P2hiR6/bjigDzjnvNUs2uJBPaY1zkuZnRya/OUvNHgWh8ccm szwbWd2+mNrP3i+I2mKP2wr+Vx0fyImsqd4VG/7lx/JfHe11Q1ftdvjKX1sv7m+AD4J1CrzIgMVt7 /3DDBjr+1ltAAzXDbWWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4Qwa-0001Ay-Ma; Thu, 14 Mar 2019 14:02:48 +0000 Received: from mail-eopbgr770054.outbound.protection.outlook.com ([40.107.77.54] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4QwE-0000g7-Tt for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2019 14:02:31 +0000 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:X-MS-Exchange-SenderADCheck; bh=+VPpJWatAVauEfGM00K/2YJ8HXVAzPLhnhrytnyCSx0=; b=QdFOj7U+MfXQ2oo72rXTb435vVEfie/vPjzfq5hsJFDpJ4NjXP2lse5LJ4zxaKo/kewXUei093z/T7Ftsze9vpivkiMP/biemh5bgSgCDNA33Y69GhSVfHuh0J5i6b2l/Jh6c2a5xXPhhOVFzNvaWuAW2BmsUflqEho+LbWKFZ4= Received: from BL0PR02CA0137.namprd02.prod.outlook.com (2603:10b6:208:35::42) by BL0PR02MB4339.namprd02.prod.outlook.com (2603:10b6:208:40::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Thu, 14 Mar 2019 14:02:23 +0000 Received: from BL2NAM02FT058.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::208) by BL0PR02CA0137.outlook.office365.com (2603:10b6:208:35::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1709.13 via Frontend Transport; Thu, 14 Mar 2019 14:02:11 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT058.mail.protection.outlook.com (10.152.76.176) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1709.13 via Frontend Transport; Thu, 14 Mar 2019 14:02:11 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:53649 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <nava.manne@xilinx.com>) id 1h4Qvy-0002ki-UK; Thu, 14 Mar 2019 07:02:10 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <nava.manne@xilinx.com>) id 1h4Qvt-0005Yx-Q7; Thu, 14 Mar 2019 07:02:05 -0700 Received: from [172.23.37.118] (helo=xhdnavam40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <nava.manne@xilinx.com>) id 1h4Qvs-0004xG-74; Thu, 14 Mar 2019 07:02:04 -0700 From: Nava kishore Manne <nava.manne@xilinx.com> To: <atull@kernel.org>, <mdf@kernel.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <michal.simek@xilinx.com>, <rajanv@xilinx.com>, <jollys@xilinx.com>, <nava.manne@xilinx.com>, <linux-fpga@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <chinnikishore369@gmail.com> Subject: [PATCH v4 5/6] dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver Date: Thu, 14 Mar 2019 19:31:21 +0530 Message-ID: <20190314140122.23372-6-nava.manne@xilinx.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190314140122.23372-1-nava.manne@xilinx.com> References: <20190314140122.23372-1-nava.manne@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.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39860400002)(136003)(2980300002)(189003)(199004)(110136005)(6666004)(106002)(476003)(186003)(14444005)(9786002)(356004)(336012)(76176011)(26005)(316002)(2616005)(486006)(2906002)(47776003)(126002)(5660300002)(36386004)(51416003)(16586007)(36756003)(426003)(305945005)(48376002)(50466002)(50226002)(106466001)(446003)(478600001)(8936002)(1076003)(7696005)(81156014)(81166006)(77096007)(2201001)(11346002)(8676002)(63266004)(921003)(1121003)(2101003)(83996005)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR02MB4339; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; MX:1; A:1; MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e57cf8c1-e418-40b4-b1c2-08d6a885a7b7 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4608103)(4709054)(2017052603328)(7153060); SRVR:BL0PR02MB4339; X-MS-TrafficTypeDiagnostic: BL0PR02MB4339: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Exchange-Diagnostics: 1; BL0PR02MB4339; 20:7jFqDjh6ejOZlNDdbLmRZBmK47YcjOGBLf93JcWNLj9qJtFNmy7u1oPrqtNzhVo7R9Ywyr6kXi7R+3wFgKiYkLmS0dSBZoNH8MMZPa7cs8CCSWcCwaAWSoLOeZCxsIbSCNnguYRwoU4HVY/1dVkOtq5GJ1W1ZIjRUSCNxnJorRBFy1r1uYAGyngtcYmFPs6S4lLPfbLGQjonYsGAJhgRnJRKfaxAbseXU6+n4A3b8zNhlxA/0bZ8sVed1tybyb1hekKh8NmDaQqpGmjFYYQ3/Fq/nyQish9esZB3VxsvtApD/LgmZvylj674aegh+DZtTZ41wr3boa+Fn4UmS9t1OzgREM3UUdOJCrAfIdqU5hU547NeF+Oq9xTL4ux5LtImqxeSvIZQ5t/tY6WE2I6JGBdJ8HUMvokbx3sjuhrNfxCP+lkxq8JGqdElMa9a2SV6qU5u8rlzgsO5bugI+CszDd3ZlW3xU1geqJHonqFYPU37nLG54DijfzHbxfmHVBjp X-Microsoft-Antispam-PRVS: <BL0PR02MB43396908B5C030A30C820FA7C24B0@BL0PR02MB4339.namprd02.prod.outlook.com> X-Forefront-PRVS: 09760A0505 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR02MB4339; 23:qof2RdUw0SHkrCkdHN0cWthLKXIe1Yyy4HgQm/f79?= 3slVwyOim/At9co/K52DIxOFwbbX/xWLlEu48yq38nwvJz5JY5zsPX4zkqf9e0yuwf7a0nu5/cFyJE2RxQtfEWT3FJHNI1a/8fu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am-Message-Info: wtVrqP8G0ELs2ACiXDjlqb0/27Zf4FCFQU3sj4v2S3Vm10dRPy6V7DZck9GVZqu2HZrHO8TAfVeMapO4JetASi9QipkMk9wbMBiV54QFeeBzaa9+uC4gzo2MNP3VuuenLhYODsSALfERuvoQOFI1hjxyYIyxeNuvroX2++c1cixadbMncLMxawsLr2wI5Db/9ZTtf7To1qjNwJ+DIGDe7PO0jhWs+/+8Bh9X4nkhOkTbUCxQyZ5clbFfwsKZUEac1Xec2hLJYGV7uYx3Zg++5Mk42J/sJZSLojWhXh8zcgj8VnlWntHjIqNLnd2vvJmlmfTAq/cPciO2B/8yxLOTdnGIRxtNgPR6pxeFUj5AEapFNZWFqAl7xDsf59CoU0lLNP/9V+3Q8uVGa1Chfu9UWeYT4fInee5AGma2orHaRyE= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2019 14:02:11.5712 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e57cf8c1-e418-40b4-b1c2-08d6a885a7b7 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.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4339 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190314_070227_209028_E5B5753E X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
dt-bindings: Firmware node binding for ZynqMP core
|
expand
|
diff --git a/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.txt b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.txt new file mode 100644 index 000000000000..2043c8284f8c --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.txt @@ -0,0 +1,47 @@ +-------------------------------------------------------------------------- += Zynq UltraScale+ MPSoC nvmem firmware driver binding = +-------------------------------------------------------------------------- +The nvmem_firmware node provides access to the hardware related data +like soc revision, IDCODE... etc, By using the firmware interface. + +Required properties: +- compatible: should be "xlnx,zynqmp-nvmem-fw" + += Data cells = +Are child nodes of silicon id, bindings of which as described in +bindings/nvmem/nvmem.txt + +------- + Example +------- +firmware { + zynqmp_firmware: zynqmp-firmware { + compatible = "xlnx,zynqmp-firmware"; + method = "smc"; + + nvmem_firmware { + compatible = "xlnx,zynqmp-nvmem-fw"; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells */ + soc_revision: soc_revision { + reg = <0x0 0x4>; + }; + }; + }; +}; + += Data consumers = +Are device nodes which consume nvmem data cells. + +For example: + pcap { + ... + + nvmem-cells = <&soc_revision>; + nvmem-cell-names = "soc_revision"; + + ... + }; +