From patchwork Fri Mar 13 09:50:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 45760 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50DAC214BF for ; Fri, 13 Mar 2015 09:51:41 +0000 (UTC) Received: by lbvn10 with SMTP id n10sf15818194lbv.1 for ; Fri, 13 Mar 2015 02:51:40 -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=WtVOIbin7YFCpXQnlTDbgg5kDA+L0F+YTR24f9Cf0l4=; b=Zmw3tttYVLTYZwcUpxQPe0dRPWrHDmkhQJrfcRbtSinENWnBUrghEapVxeXmXw6sU1 SjT9dvxBgoRp/a04S4QXH+H2vIwY/khPkFlsri9wuuI1inFRzoop4CVEncv0Pm36ewyG 3Hyus32C50PSI0rt4NU/35wpjKr0eYogtggD6FqEQO9Ip8RQ+GsZByoh5llxdEYr1joR resMbXLdNYmQRJOBlVnxTzG+YoAfZI6GC5ES4jYINXKWhymx77NrOxAceQoUUJMEgwMw CrQC2UCWLSEOogqqFJsnggWbpIlzofsNeR3DbErcJwRW9mTfWW2Yre4GHlN8eqvR32dU 6uaA== X-Gm-Message-State: ALoCoQnh3/R0VS61Qmqwe1NC4qhLR06r6qjQ0JnZsJ36E/EeREjGl4h7fDcWSwNXr7fPXy8HLT5T X-Received: by 10.112.148.10 with SMTP id to10mr2023942lbb.18.1426240300347; Fri, 13 Mar 2015 02:51:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.132 with SMTP id b4ls408794lah.33.gmail; Fri, 13 Mar 2015 02:51:40 -0700 (PDT) X-Received: by 10.112.219.196 with SMTP id pq4mr42762146lbc.104.1426240300105; Fri, 13 Mar 2015 02:51:40 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id w9si999528laz.154.2015.03.13.02.51.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 02:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labgq15 with SMTP id gq15so21450083lab.1 for ; Fri, 13 Mar 2015 02:51:40 -0700 (PDT) X-Received: by 10.112.212.106 with SMTP id nj10mr23902333lbc.36.1426240299879; Fri, 13 Mar 2015 02:51:39 -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.35.133 with SMTP id h5csp786627lbj; Fri, 13 Mar 2015 02:51:39 -0700 (PDT) X-Received: by 10.66.66.105 with SMTP id e9mr100626697pat.17.1426240298909; Fri, 13 Mar 2015 02:51:38 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ho2si3031939pad.116.2015.03.13.02.51.37; Fri, 13 Mar 2015 02:51:38 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1754621AbbCMJvd (ORCPT + 28 others); Fri, 13 Mar 2015 05:51:33 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:36632 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754476AbbCMJvB (ORCPT ); Fri, 13 Mar 2015 05:51:01 -0400 Received: by wiwh11 with SMTP id h11so4669317wiw.1 for ; Fri, 13 Mar 2015 02:51:00 -0700 (PDT) X-Received: by 10.194.157.39 with SMTP id wj7mr57511561wjb.57.1426240260185; Fri, 13 Mar 2015 02:51:00 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-99-228-8.as13285.net. [2.99.228.8]) by mx.google.com with ESMTPSA id gd6sm2041719wib.17.2015.03.13.02.50.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Mar 2015 02:50:59 -0700 (PDT) From: Srinivas Kandagatla To: linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , Rob Herring , Pawel Moll , Kumar Gala , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stephen Boyd , Arnd Bergmann , broonie@kernel.org, Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 6/7] eeprom: qfprom: Add bindings for qfprom Date: Fri, 13 Mar 2015 09:50:56 +0000 Message-Id: <1426240256-2705-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426240157-2383-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1426240157-2383-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.48 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 | 23 ++++++++++++++++++++++ 1 file changed, 23 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..d5baed6 --- /dev/null +++ b/Documentation/devicetree/bindings/eeprom/qfprom.txt @@ -0,0 +1,23 @@ += 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 0x1000>; + ... + /* Data cells */ + tsens_calibration: calib@404 { + reg = <0x404 0x10>; + }; + };