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: 6086691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A29279F399 for ; Tue, 24 Mar 2015 22:38:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C32B6201D3 for ; Tue, 24 Mar 2015 22:38:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D245C2017E for ; Tue, 24 Mar 2015 22:38:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YaXPm-0008BU-Mn; Tue, 24 Mar 2015 22:35:14 +0000 Received: from mail-wi0-f181.google.com ([209.85.212.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YaXMH-0005xX-3M for linux-arm-kernel@lists.infradead.org; Tue, 24 Mar 2015 22:31:37 +0000 Received: by wixw10 with SMTP id w10so12558837wix.0 for ; Tue, 24 Mar 2015 15:31:14 -0700 (PDT) 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=CvTubqeiueASsXzVg4X5GwXqQvcyS4k4+YcGwhUHajw=; b=RogMvzIy2PsyIRiqdGV+/iXyADxNk3Ue2Z4hq2tyWdz2eeEsfQwOPaeIXExWC4o0fl jHKy1RYa52ZiYwQ5Gw/h+S3D5Te9R7RBcoLXxkj9CGkKSV1Ks57nZAZIYvmpNy26hvTb DIymUWyNdgOktnADT5H2Dh0XyTwsLoXFw8nwlySU9wLbX6ccsailcwLcd6WwskmMJJO5 aprzUJEFFOdFu55fH2yKFMFFXHrLj7zvyJXZSzukqqj2o5zXeV+rCeYyFLHpbyMt9b/u mxv0yVwPY37CkTne6JPeeoTJSw9iZ6AdnBn72BXAcaAnu0phCjKW4fIWCj21HV4ZICji qdhA== X-Gm-Message-State: ALoCoQnJS5JoEugDWSjKoqDI8Q8PSXa0S77jC7/zRs7b95NO5sk8H1w4W9bx8ur2WIPcrEVw+3tU 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150324_153137_335275_A5297700 X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, arnd@arndb.de, Greg Kroah-Hartman , Mark Brown , Kumar Gala , sboyd@codeaurora.org, linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , linux-api@vger.kernel.org, Maxime Ripard , linux-arm-msm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; + };