From patchwork Mon Mar 30 21:58:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 46560 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 8D029218BE for ; Mon, 30 Mar 2015 21:58:51 +0000 (UTC) Received: by wibgr10 with SMTP id gr10sf349375wib.2 for ; Mon, 30 Mar 2015 14:58:50 -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=HotrYCJrSy5J8vYLJjsiHUBpWlObnYF8QP56DJ6pX7c=; b=HH2P/6lFd9AdMH5Y58hspiknYFxqBRUwJNKmGFwzGmxL3XdUz1dg/awHc5pGs6zaU3 /PxDmi4Hav5BpJg8/eI6QKlZCPRgV30pkvVeKBKtrTQCKMCdm93eXItq62ip6zAjuWWb M8q1k/F6nyUvQj5afSpFXXTPeIckTgJXjG+b9jfXvxwyEd8bEHMq9Gd6srY7BH/8lHu2 SbI4eqkPJ5ALlh1FKUveSVGRncQE2JHqwWEKc/J03YhQAQOxvY2a2wPlLvFom0QcVmIk ry5QqlZi4VhmGybWbCeH9Q7sHCm+QI15U7QHqtzqimPuM4SkgCBLsdc7nI9wWF2vL0+j 3unQ== X-Gm-Message-State: ALoCoQlkrEtj9g+/wb0ucOYH12ggrrplctohbFhoez7pQq9iLPOV7sesndXj51JoGrlVcHJzQ4Ow X-Received: by 10.112.138.233 with SMTP id qt9mr1487130lbb.2.1427752730842; Mon, 30 Mar 2015 14:58:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.164.193 with SMTP id ys1ls648399lab.39.gmail; Mon, 30 Mar 2015 14:58:50 -0700 (PDT) X-Received: by 10.112.64.137 with SMTP id o9mr28219188lbs.15.1427752730510; Mon, 30 Mar 2015 14:58:50 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id gk5si7882643lbb.76.2015.03.30.14.58.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 14:58:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lajy8 with SMTP id y8so13521684laj.0 for ; Mon, 30 Mar 2015 14:58:50 -0700 (PDT) X-Received: by 10.152.5.72 with SMTP id q8mr10920076laq.73.1427752730403; Mon, 30 Mar 2015 14:58:50 -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.57.201 with SMTP id k9csp1410501lbq; Mon, 30 Mar 2015 14:58:49 -0700 (PDT) X-Received: by 10.66.164.98 with SMTP id yp2mr61608109pab.114.1427752728672; Mon, 30 Mar 2015 14:58:48 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id td4si16421109pbc.224.2015.03.30.14.58.47; Mon, 30 Mar 2015 14:58:48 -0700 (PDT) Received-SPF: none (google.com: linux-arm-msm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932174AbbC3V6l (ORCPT + 5 others); Mon, 30 Mar 2015 17:58:41 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:35176 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753866AbbC3V6i (ORCPT ); Mon, 30 Mar 2015 17:58:38 -0400 Received: by wicne17 with SMTP id ne17so2242166wic.0 for ; Mon, 30 Mar 2015 14:58:37 -0700 (PDT) X-Received: by 10.180.103.170 with SMTP id fx10mr26522531wib.57.1427752717488; Mon, 30 Mar 2015 14:58:37 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-145-247-151.as13285.net. [78.145.247.151]) by mx.google.com with ESMTPSA id pm6sm18104082wic.20.2015.03.30.14.58.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 14:58:36 -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 Subject: [PATCH v4 08/10] eeprom: qfprom: Add bindings for qfprom Date: Mon, 30 Mar 2015 22:58:32 +0100 Message-Id: <1427752712-17389-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427752492-17039-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1427752492-17039-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@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.52 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 eeprom framework. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/eeprom/qfprom.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/eeprom/qfprom.txt diff --git a/Documentation/devicetree/bindings/eeprom/qfprom.txt b/Documentation/devicetree/bindings/eeprom/qfprom.txt new file mode 100644 index 0000000..21a7104 --- /dev/null +++ b/Documentation/devicetree/bindings/eeprom/qfprom.txt @@ -0,0 +1,34 @@ += 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/eeprom/eeprom.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 eeprom data cells. + +For example: + + tsens { + ... + calibration = <&tsens_calibration>; + };