From patchwork Tue Mar 26 14:31:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 10871309 Return-Path: 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 F255614DE for ; Tue, 26 Mar 2019 14:33:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA09428C7E for ; Tue, 26 Mar 2019 14:33:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE1DA28EA5; Tue, 26 Mar 2019 14:33:01 +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=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 7123928C7E for ; Tue, 26 Mar 2019 14:33:01 +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=XzXfEovNWmEJml Gukzoob+ho8vzEMdaq1h+8QZC6/4/9Prk1GH7tjl3JrEYnvqLfC2PnbSVuspRz8LsSxzHXRLaSIOa ANyO7ouj4t6eAi8rAvzrvotdBow8odfU4kIJWkqU9J1hXLAg+tdzb65Dzw5Sjr/egVjG/vTbW5jbT zOmM3Xq3HXAgUxDqqLsbSiZRbur4IlI3J0+JLnNhFfSTIkqj7FunkFVae8I+urwkybZt+6k4H63u2 FV2js66SrHQ7Kt70/5okTxHDNlylFv92ku1z6435ctsEbFOriO8aXPslsNQL5iTtj7PgeotDQx/GR bkHdDYY6JVu6w9mpAzBA==; 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 1h8n8E-0003Aa-CR; Tue, 26 Mar 2019 14:32:50 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8n7o-0002ao-3o for linux-arm-kernel@bombadil.infradead.org; Tue, 26 Mar 2019 14:32:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+VPpJWatAVauEfGM00K/2YJ8HXVAzPLhnhrytnyCSx0=; b=pYTf4scgLFovajxoMygr2bxDy gQgM8f56YliO+hquTS3pYifo7UIDDLcKylCirvF0FLW1KyVWG6MRamBhda4iaeKFqvRU8bAeAu282 iLsIc9vpbnC/bmM/NYUolVXiKz6LVgK2Me/nSIZPwQpPT7U04kj2EspQ18lyfhLYWj1Sc3jouelVb nsGuiHdt9/pWwPOn22eIjhya0hUvtyY24rCY0c57SBSUO7SzuTbae8QQoHMezEEePnz3NDmTre6D7 ljz5Nk6ptPPj6H4LbUC5WpCutCHcBNw2FSjnwwP1gEDh0BEnYPGTiYGMBUy8FvcGTTnbZ3WGmbkN7 gFr1ZHzvA==; Received: from mail-eopbgr740054.outbound.protection.outlook.com ([40.107.74.54] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8n7d-000601-MQ for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2019 14:32:15 +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=1gWvqDRaTvJLie9/I7qvIjtXgbncNsb9XmSoQIVy/WLvmxjzwIJ2VLMZ0/CVRjUFQqNqshOso0iYCxfRDxzzdDUllyIh9pe4OX656ev/tqeymRVMlMUNw/JEB2ZFJU1wZKWpbQJw1RMK8Jask7s3IqqMUDONOJpkWU5WB5U1mig= Received: from SN4PR0201CA0056.namprd02.prod.outlook.com (2603:10b6:803:20::18) by BY2PR02MB1655.namprd02.prod.outlook.com (2a01:111:e400:58f4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Tue, 26 Mar 2019 14:32:02 +0000 Received: from SN1NAM02FT011.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::202) by SN4PR0201CA0056.outlook.office365.com (2603:10b6:803:20::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1750.15 via Frontend Transport; Tue, 26 Mar 2019 14:32:02 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; 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 SN1NAM02FT011.mail.protection.outlook.com (10.152.72.82) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1750.11 via Frontend Transport; Tue, 26 Mar 2019 14:32:01 +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 1h8n7R-0003nr-4X; Tue, 26 Mar 2019 07:32:01 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1h8n7M-00031g-0I; Tue, 26 Mar 2019 07:31:56 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id x2QEVroo009346; Tue, 26 Mar 2019 07:31:53 -0700 Received: from [172.23.37.118] (helo=xhdnavam40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1h8n7J-0002t5-2R; Tue, 26 Mar 2019 07:31:53 -0700 From: Nava kishore Manne To: , , , , , , , , , , , , Subject: [PATCH v5 5/6] dt-bindings: nvmem: Add bindings for ZynqMP nvmem driver Date: Tue, 26 Mar 2019 20:01:28 +0530 Message-ID: <20190326143129.2608-6-nava.manne@xilinx.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190326143129.2608-1-nava.manne@xilinx.com> References: <20190326143129.2608-1-nava.manne@xilinx.com> X-RCIS-Action: ALLOW 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)(396003)(136003)(39860400002)(376002)(346002)(2980300002)(189003)(199004)(8936002)(47776003)(63266004)(81156014)(476003)(446003)(336012)(106002)(126002)(36756003)(48376002)(2906002)(11346002)(81166006)(356004)(316002)(50466002)(6666004)(14444005)(486006)(110136005)(16586007)(2616005)(8676002)(106466001)(1076003)(51416003)(7696005)(9786002)(186003)(77096007)(305945005)(36386004)(50226002)(5660300002)(2201001)(76176011)(26005)(426003)(478600001)(921003)(1121003)(2101003)(83996005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB1655; 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: 895df466-0413-4f8c-a6bf-08d6b1f7cfbb X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4709054)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060); SRVR:BY2PR02MB1655; X-MS-TrafficTypeDiagnostic: BY2PR02MB1655: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 09888BC01D X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: wzcl6bNnUbrguejmGk+QhtBYzy+NGTi8i4yPLquYi0eIEB4wNCmCkPV3m0BgkVM3tBsXhMogXgWWRuB/Vy+KGkPugSvo2JJFOq45BWyiAlI+MEpZkop6mfv2xwC1egwUESQwVl3LxhKwPm0swj4heGqIA/Ls99V4ydc6mIvuEt80hJERp29TDlVtCWlQEoDJrGsu4SVFMCfmyhSbUsE3zgSDuEyQS5OBYYbNfOruc879U/MpkaSikRcdetE2QIpFaeuXB/oTo9eFzQ/Ue7GLU16B7SBo99ILqBW31rlpEMBkKQRbGHIDoBvonxqLtWwJShRujVpbDchH4AH6ZmFa1Wj7veDMyFHyXWKOnhRX/k7CqL9K7GBv/FzYTZoS7EWC44mMptSkwzJU1K35docpz6NNG99xLc99zNJe2Uotnb0= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2019 14:32:01.5700 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 895df466-0413-4f8c-a6bf-08d6b1f7cfbb 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: BY2PR02MB1655 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190326_103213_760266_9CE3A2B9 X-CRM114-Status: GOOD ( 12.81 ) 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: , 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 Add documentation to describe Xilinx ZynqMP nvmem driver bindings. Signed-off-by: Nava kishore Manne Reviewed-by: Rob Herring --- .../bindings/nvmem/xlnx,zynqmp-nvmem.txt | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/xlnx,zynqmp-nvmem.txt 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"; + + ... + }; +