From patchwork Wed Nov 21 13:11:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10692547 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 268CE13BB for ; Wed, 21 Nov 2018 13:13:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13C2628592 for ; Wed, 21 Nov 2018 13:13:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 07722285CD; Wed, 21 Nov 2018 13:13:34 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 A532328592 for ; Wed, 21 Nov 2018 13:13:33 +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=w7/AhkAP/GX08WcE+uwskNoBpNFjfYKViBshwQ44Gtw=; b=qAwISpJNHDKvbpleOZdcDRdus6 mj8jDnPaVaE5aIonruWKZviURy/AhiK9nB9D3eZSMn/5dVX7lsVDTPG4/4PiFAKpjvnu/2Pjtcdbk jP7qXdR+eSP5TEAv+ck+iwAWozeGVHSv/6AZKACpSga06VWUeqmBf5Kzmtw7+jWUxJr+1rXD+9a7V CoGRsH2Ke04sQKMzFrBhimOwENbIpr13xocIe/wI6sAvFOCFkMhAG1GOYIbghCTCwAk0MDS0YPK3E pRHLxM/b22eCRxU/NaEWfqtbhaCsLPa36KONEML4B3YNaUr4SK4BnLM/id7U5uTlkl3jtmqc2WdER Zb3X5i6A==; 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 1gPSJs-0004OA-5q; Wed, 21 Nov 2018 13:13:28 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPSJE-0003dD-04; Wed, 21 Nov 2018 13:12:50 +0000 Received: from localhost.localdomain ([37.4.249.153]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MlfCm-1fiBK51VD8-00imms; Wed, 21 Nov 2018 14:12:27 +0100 From: Stefan Wahren To: Srinivas Kandagatla , Rob Herring , Mark Rutland , Florian Fainelli , Ray Jui , Scott Branden , Eric Anholt , Arnd Bergmann , gregkh@linuxfoundation.org Subject: [PATCH 1/5] dt-bindings: nvmem: add binding for Raspberry Pi OTP Date: Wed, 21 Nov 2018 14:11:40 +0100 Message-Id: <1542805904-6446-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542805904-6446-1-git-send-email-stefan.wahren@i2se.com> References: <1542805904-6446-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:OquHsbtkPY2HlNq0+ASes9X5T6KaH7N9oBHItYSbsIUBbOzIr5i QQmING1ZUlvSSB9PdKvHierntpaFtjBFSBol8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: sfid-20181121_051248_336225_C6B03292 X-CRM114-Status: GOOD ( 14.97 ) 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: Stefan Wahren , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org 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 This patch adds the devicetree binding for Raspberry Pi customer OTP driver. Signed-off-by: Stefan Wahren --- .../nvmem/raspberrypi,bcm2835-customer-otp.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/raspberrypi,bcm2835-customer-otp.txt diff --git a/Documentation/devicetree/bindings/nvmem/raspberrypi,bcm2835-customer-otp.txt b/Documentation/devicetree/bindings/nvmem/raspberrypi,bcm2835-customer-otp.txt new file mode 100644 index 0000000..041ff17 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/raspberrypi,bcm2835-customer-otp.txt @@ -0,0 +1,22 @@ +Customer OTP Memory for Raspberry Pi + +The VC4 firmware exposes a mailbox interface that allows the ARM core +to access the customer part of the OTP memory. + +The OTP node must be a child node of the Raspberry Pi firmware node. + +Required properties : +- compatible : Should be "raspberrypi,bcm2835-customer-otp" + +See nvmem.txt for more information. + +Example: + +firmware: firmware-rpi { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + + customer_otp: otp { + compatible = "raspberrypi,bcm2835-customer-otp"; + }; +};