Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941427AbcJXTMu (ORCPT ); Mon, 24 Oct 2016 15:12:50 -0400 Received: from mail-qt0-f171.google.com ([209.85.216.171]:34540 "EHLO mail-qt0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941417AbcJXTMJ (ORCPT ); Mon, 24 Oct 2016 15:12:09 -0400 From: Jonathan Richardson To: Srinivas Kandagatla , Maxime Ripard Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , Scott Branden , Ray Jui , bcm-kernel-feedback-list@broadcom.com, Jonathan Richardson , Jonathan Richardson , Scott Branden , Oza Pawandeep Subject: [PATCH v1 1/3] dt-bindings: Document Broadcom OTP controller driver Date: Mon, 24 Oct 2016 12:12:02 -0700 Message-Id: <1477336324-10543-2-git-send-email-jonathan.richardson@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477336324-10543-1-git-send-email-jonathan.richardson@broadcom.com> References: <1477336324-10543-1-git-send-email-jonathan.richardson@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 37 From: Jonathan Richardson Reviewed-by: Ray Jui Tested-by: Jonathan Richardson Signed-off-by: Scott Branden Signed-off-by: Oza Pawandeep Signed-off-by: Jonathan Richardson --- Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt diff --git a/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt b/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt new file mode 100644 index 0000000..6462e12 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt @@ -0,0 +1,17 @@ +Broadcom OTP memory controller + +Required Properties: +- compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used + in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second + generation Broadcom OTPC which is used in SoC's such as Stingray and supports + 64-bit read/write. +- reg: Base address of the OTP controller. +- brcm,ocotp-size: Amount of memory available, in 32 bit words + +Example: + +otp: otp@0301c800 { + compatible = "brcm,ocotp"; + reg = <0x0301c800 0x2c>; + brcm,ocotp-size = <2048>; +}; -- 1.9.1