Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Jonathan Richardson Newsgroups: linux.kernel Subject: [PATCH v1 1/3] dt-bindings: Document Broadcom OTP controller driver Date: Mon, 24 Oct 2016 21:20:01 +0200 Message-ID: References: X-Original-To: Srinivas Kandagatla , Maxime Ripard Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=04iprQVd0hC9yyieSxUraWb355gNWmGSKJ1t2Ng4I+k=; b=HG1dGcLTsoaYJKdQ4/l8K9Dt6wQLRtG+6UPg73yy6fOJ+GHCs3+NyP+9AXuPQ0PQfI V7/RwIoy4cFGP4Wg6YhrSUZhu806CHRuywTYaNzV3x3b8E2dEBPHj3Q7lzIDW+tImrdD 04bb9OCwXW+VfiZZG2cT2laf7cHpy1NPIMvos= X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=04iprQVd0hC9yyieSxUraWb355gNWmGSKJ1t2Ng4I+k=; b=CHfH9xM9YX/ZYtLyzV2X7WSgsLn/WQQS4Zzi8EaBCxI1a5JORfPTljv66SX8FbEKF8 HIQqQWQZewJXpw8qah5X8MMa/h6G5eaznsuzTLTyKXj+MDGpbN+CP08N4eicnX03SEV3 ogNtr+0YzSFhWWqn1lHKmFXF+sikPzyX5HZ3Lb2vgUNLvE6V2VpBPYUJIMR4HgEJs41l ERkUhogD4YFY/oSoCnZW2tc2/4wSlL0OBQ7dsddvPhzpCJ8ysv2+yeXX+I5Q1zGmX0wO zgOmNqo1fDEdOOfarSWjWb9fVMX/B7Cz7fRLqySIuaAYwh3QTg1h2EPnie7HQhDHWWKw V6/g== X-Gm-Message-State: ABUngvd4fgxaR3FHXW8vhuPTuaUkxT//zbw/zCpP3I/ICUeoChglCgYQ9VnZTjfea0M+xRRW X-Received: by 10.237.49.198 with SMTP id 64mr16521622qth.113.1477336327939; Mon, 24 Oct 2016 12:12:07 -0700 (PDT) X-Mailer: git-send-email 1.9.1 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 37 Organization: linux.* mail to news gateway X-Original-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 X-Original-Date: Mon, 24 Oct 2016 12:12:02 -0700 X-Original-Message-ID: <1477336324-10543-2-git-send-email-jonathan.richardson@broadcom.com> X-Original-References: <1477336324-10543-1-git-send-email-jonathan.richardson@broadcom.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1507640 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