From patchwork Tue Mar 24 22:31:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 46293 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 37F0A2159D for ; Tue, 24 Mar 2015 22:31:28 +0000 (UTC) Received: by lbdu14 with SMTP id u14sf1082473lbd.3 for ; Tue, 24 Mar 2015 15:31:27 -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=g2RCRkLYwFa7qLBaRcmhmz86Xgv5x7L1qAXDRH8MSLY=; b=gwf6yFF5tGtcJeR9vpNF0cCoVYmDhhwWsXF2jPsFBM/Qj7WZLGIxp7a2MCzt5GFjrE ZEOLv/LJcjAAXtqyriSzpFqb8NJPYOl4C4mAicaKBQ0bE/gbXym32xDOZFjMC4JWxei8 8o0NcI7K3MmY3ZiUOJHttBZC2MQU+gTPhehI3MnQXi4gi+zbRkfl0rsanhpJ0ATAaJ+P GcrYXROY35Lq8POQTrZQK+wmSElHHTJ9V9v3W/8+RrNX190seAWal/SumtyI18UdjEGJ Wgd9ejje25t8WRsOEPMPOs9RVpQiTBH/jJqacbwFPDK5Hmwm3Ns01pwRdFClWlZK0kJl qZyA== X-Gm-Message-State: ALoCoQm1tOfzsl1+usaiHU7QCreUpXbZD5uSQNqYhauPE82pmMmwPgwx7wg7eF/arA2pE0oGlYdh X-Received: by 10.180.81.134 with SMTP id a6mr3587704wiy.1.1427236287158; Tue, 24 Mar 2015 15:31:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.233 with SMTP id y9ls30326lae.9.gmail; Tue, 24 Mar 2015 15:31:26 -0700 (PDT) X-Received: by 10.112.146.129 with SMTP id tc1mr5576428lbb.27.1427236286776; Tue, 24 Mar 2015 15:31:26 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id rk2si446518lac.100.2015.03.24.15.31.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Mar 2015 15:31:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by laae1 with SMTP id e1so5811530laa.2 for ; Tue, 24 Mar 2015 15:31:26 -0700 (PDT) X-Received: by 10.112.8.76 with SMTP id p12mr2458799lba.29.1427236286676; Tue, 24 Mar 2015 15:31:26 -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 k9csp1732488lbq; Tue, 24 Mar 2015 15:31:25 -0700 (PDT) X-Received: by 10.68.164.161 with SMTP id yr1mr11895213pbb.22.1427236284920; Tue, 24 Mar 2015 15:31:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si782058pdn.110.2015.03.24.15.31.24; Tue, 24 Mar 2015 15:31:24 -0700 (PDT) Received-SPF: none (google.com: devicetree-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 S1752350AbbCXWbT (ORCPT + 5 others); Tue, 24 Mar 2015 18:31:19 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:37890 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752268AbbCXWbP (ORCPT ); Tue, 24 Mar 2015 18:31:15 -0400 Received: by wibgn9 with SMTP id gn9so12461116wib.1 for ; Tue, 24 Mar 2015 15:31:14 -0700 (PDT) X-Received: by 10.194.79.226 with SMTP id m2mr12144385wjx.60.1427236274177; Tue, 24 Mar 2015 15:31:14 -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 gj16sm1414198wic.24.2015.03.24.15.31.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Mar 2015 15:31:13 -0700 (PDT) From: Srinivas Kandagatla To: linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , Rob Herring , Kumar Gala , Mark Brown , 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 v3 8/9] eeprom: qfprom: Add bindings for qfprom Date: Tue, 24 Mar 2015 22:31:08 +0000 Message-Id: <1427236268-18882-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427236116-18531-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1427236116-18531-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.51 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>; + }; + };