Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4336233img; Tue, 26 Mar 2019 07:33:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHEaNWH8X/duzqD8QptevdtnPZ33R9ZoJirPxhSsGSREneoKEyaGB05TVaLuJq8OCblpaW X-Received: by 2002:a17:902:1029:: with SMTP id b38mr31123282pla.204.1553610820556; Tue, 26 Mar 2019 07:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553610820; cv=none; d=google.com; s=arc-20160816; b=gc7kFjSvYDsckOKnxcBcVP/A9snMU9hFlf6NV5csWJPpu2s3JEptcnU9HhrmrdZfm6 gI29ntfmjFYNSzf+1q17/Gak2ldeG9Aq83KMJKT4oZ80BsDKb7k11yA5Zq3QyZ1QvKe1 x/p4D/xzuDxp1jOVv+lqxav1lOZLuXbQ2/EwEeE7dT8QPXc0caf1JD+kNmllyqblQuCY r0oYOwLVUmM+O9538De1yaXsi1aQABvfZQ5T0p9n7CcbVLz0d2L2LSJhWQ29ZFPDAnvP PsBezQW8Znu61nv4pW0OUcUOFUuFhe8FOTrOllHwXoA4WJmIDfeN3A6wlhjFj4XXcToS PAnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=+VPpJWatAVauEfGM00K/2YJ8HXVAzPLhnhrytnyCSx0=; b=OtCzQivi/dfk29Mcg1juFVNttOLrh99cKa0tprtIobxEfYhA+yjRSbwm+yxNWOyIR2 0ZFb0/FKPRVQJE3Mh+JjL0eAODrKPpGO2DQEUi6LUFXogZnwJmfd5j4q80MKN2dSch9I AEwwJr4N0Jb9Ze7S+hh94j7YiaDjrL/yNQVrL8QfbRcKt7mFEl5fUyxszcVYEdiPaeJi sdHcCORusvRT6ynWOAhRRHnrj+f53R94j7qaiPJOqhHNNe3+SqabNFk36exHIU5wbTyI 9qnmKZ9En57oX6cBawdsiqAR0ei6MazWTxrFABdWxis398fuRY/090kHc33elPO2HFg7 aLZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=1gWvqDRa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h128si15955190pgc.397.2019.03.26.07.33.24; Tue, 26 Mar 2019 07:33:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=1gWvqDRa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731913AbfCZOcI (ORCPT + 99 others); Tue, 26 Mar 2019 10:32:08 -0400 Received: from mail-eopbgr740074.outbound.protection.outlook.com ([40.107.74.74]:20584 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731902AbfCZOcH (ORCPT ); Tue, 26 Mar 2019 10:32:07 -0400 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 Content-Type: text/plain 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"; + + ... + }; + -- 2.18.0