From patchwork Thu May 21 16:44:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 48871 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3E81421411 for ; Thu, 21 May 2015 16:47:14 +0000 (UTC) Received: by wiz9 with SMTP id 9sf5600470wiz.3 for ; Thu, 21 May 2015 09:47:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=fBrTTGoJ5ODPB4ZsWLgEomGlI7rT9fcxRnwA26PmDdI=; b=BM8n5fybMb2zlTXoHKRUQcIaUWU4WtlMTMS7SkE07st9mUcabB1x8VrHDdu9NqeqrQ zZkzi+w14fxB9qH+puH3lSLDRPIc+WFL4Gt8Se9S93gras33GlU14GEDxhvJnkOqlhpY bWK6ole4wuR8JwdHPIwxHbMAWMd+f7ttrxO15aGkdH1FNxWHxs+CT0VrtxK+e8nECeQ3 2W9Ze+565/Sp5V+E6Ffs3y8DA9asjECQjVRkj5OaYO5pJWddtUe/OIzlBzA35cMSAkKn SAq0xLID3+d9jU63x4lU7b6carPE3H4whqZ8+EfY34phTzHBLW6HuRM2ougaI4HxtHoS HAxQ== X-Gm-Message-State: ALoCoQn0nJZKh+E/hQ9zae31E6fEQ7oes/pAabxmJdxy9SJuwUprEkBqhYnwG+dJEznJtgRVYS4y X-Received: by 10.112.83.172 with SMTP id r12mr3419868lby.23.1432226833251; Thu, 21 May 2015 09:47:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.103 with SMTP id kx7ls390934lac.62.gmail; Thu, 21 May 2015 09:47:13 -0700 (PDT) X-Received: by 10.152.2.38 with SMTP id 6mr3079826lar.80.1432226833108; Thu, 21 May 2015 09:47:13 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id p1si11375120lag.52.2015.05.21.09.47.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 09:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lagv1 with SMTP id v1so107625856lag.3 for ; Thu, 21 May 2015 09:47:13 -0700 (PDT) X-Received: by 10.112.163.168 with SMTP id yj8mr3032211lbb.36.1432226832887; Thu, 21 May 2015 09:47:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp724643lbb; Thu, 21 May 2015 09:47:11 -0700 (PDT) X-Received: by 10.70.35.6 with SMTP id d6mr7204669pdj.166.1432226830753; Thu, 21 May 2015 09:47:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pe8si7072535pac.157.2015.05.21.09.47.09; Thu, 21 May 2015 09:47:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756928AbbEUQox (ORCPT + 7 others); Thu, 21 May 2015 12:44:53 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:36847 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756920AbbEUQou (ORCPT ); Thu, 21 May 2015 12:44:50 -0400 Received: by wizk4 with SMTP id k4so21371706wiz.1 for ; Thu, 21 May 2015 09:44:49 -0700 (PDT) X-Received: by 10.180.219.42 with SMTP id pl10mr8120308wic.70.1432226689717; Thu, 21 May 2015 09:44:49 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-96-95-164.as13285.net. [2.96.95.164]) by mx.google.com with ESMTPSA id hu1sm3453637wib.6.2015.05.21.09.44.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 May 2015 09:44:49 -0700 (PDT) From: Srinivas Kandagatla To: linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , Rob Herring , Kumar Gala , Mark Brown , s.hauer@pengutronix.de, Greg Kroah-Hartman , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, arnd@arndb.de, sboyd@codeaurora.org, Srinivas Kandagatla , pantelis.antoniou@konsulko.com, mporter@konsulko.com Subject: [PATCH v5 09/11] nvmem: qfprom: Add bindings for qfprom Date: Thu, 21 May 2015 17:44:45 +0100 Message-Id: <1432226685-9081-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432226535-8640-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1432226535-8640-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver is based on simple nvmem framework. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/nvmem/qfprom.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/qfprom.txt diff --git a/Documentation/devicetree/bindings/nvmem/qfprom.txt b/Documentation/devicetree/bindings/nvmem/qfprom.txt new file mode 100644 index 0000000..8a8d55f --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/qfprom.txt @@ -0,0 +1,35 @@ += Qualcomm QFPROM device tree bindings = + +This binding is intended to represent QFPROM which is found in most QCOM SOCs. + +Required properties: +- compatible: should be "qcom,qfprom" +- reg: Should contain registers location and length + += Data cells = +Are child nodes of qfprom, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example: + + qfprom: qfprom@00700000 { + compatible = "qcom,qfprom"; + reg = <0x00700000 0x8000>; + ... + /* Data cells */ + tsens_calibration: calib@404 { + reg = <0x4404 0x10>; + }; + }; + + += Data consumers = +Are device nodes which consume nvmem data cells. + +For example: + + tsens { + ... + nvmem-cell = <&tsens_calibration>; + nvmem-cell-names = "calibration"; + };