From patchwork Mon Oct 31 14:45:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 80195 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp153803qge; Mon, 31 Oct 2016 07:46:15 -0700 (PDT) X-Received: by 10.98.152.212 with SMTP id d81mr198686pfk.12.1477925175120; Mon, 31 Oct 2016 07:46:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dh11si20906479pac.111.2016.10.31.07.46.14; Mon, 31 Oct 2016 07:46:15 -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=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943605AbcJaOqB (ORCPT + 27 others); Mon, 31 Oct 2016 10:46:01 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38896 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S943558AbcJaOpf (ORCPT ); Mon, 31 Oct 2016 10:45:35 -0400 Received: by mail-wm0-f46.google.com with SMTP id n67so233128639wme.1 for ; Mon, 31 Oct 2016 07:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AqZEupaJVdBCpA8uANMXnGcf/ZryFWA3tU4xHIbenHM=; b=FVWuPQd2K4/MZDvEmThBNtEO188tmaw02dEY9uFZm59+8cZ88Vs4TSHBx1F/jGUyuw PIHqeA3c5LZaR4sL4/kUxrAEih91J8v+d0Oc9kYkbCPlaMbCo2Ol+uQLbHlJCY6GYWNN TSk03ZSCnhVMlhN82kSE6GTf1xvnF5p71SZNw= 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=AqZEupaJVdBCpA8uANMXnGcf/ZryFWA3tU4xHIbenHM=; b=KGMb0VOem5doL3K6EhS9zyhvN+tQuzWAMOV0zVVfvbo6oCEMZVOu3VtYfqHwYcFZ0v auOpqkrGpSxqsYeVAb122xkgoXVFfaxAMyGz5w89MVH0DnfrP2j5CIa9IdqSHbWKDylY bULk7LA9BXBuGdaLPkKEjJglH8W3oGidxgQC5SV47OB6BHJCeti9mnvvXTmMmfpGjarU 8SUWrulijD4NVPLJ2bvViweotiPvS3Hz0qz34ZbztV7nr8lHcphPBstOxLV7aRQ8i7L9 PGTc2BQkglTBeyZlERsfuColXhVfqTfNZOfOMRU/Xbk66IVL3SyrRM/CWJHkmWGnxeNT RxOw== X-Gm-Message-State: ABUngvejXGlfuZhOxK7Ck2u79mW0f0pH1nkHXyRPcXB0gAHZrCKycpV2doZwqiXKBZZI6lY6 X-Received: by 10.28.191.92 with SMTP id p89mr10494395wmf.114.1477925133956; Mon, 31 Oct 2016 07:45:33 -0700 (PDT) Received: from localhost.localdomain (host-2-98-102-117.as13285.net. [2.98.102.117]) by smtp.gmail.com with ESMTPSA id o62sm24990589wmg.12.2016.10.31.07.45.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 31 Oct 2016 07:45:33 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: Jonathan Richardson , Maxime Ripard , Joachim Eastwood , linux-kernel@vger.kernel.org, Scott Branden , Oza Pawandeep , Jonathan Richardson , Srinivas Kandagatla Subject: [PATCH 3/4] dt-bindings: Document Broadcom OTP controller driver Date: Mon, 31 Oct 2016 14:45:18 +0000 Message-Id: <1477925119-11425-4-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477925119-11425-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1477925119-11425-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt -- 2.10.1 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>; +};