From patchwork Thu Aug 23 15:01:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10907 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 77A7723F27 for ; Thu, 23 Aug 2012 15:01:44 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 806F4A19040 for ; Thu, 23 Aug 2012 15:01:29 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j38so1408304iad.11 for ; Thu, 23 Aug 2012 08:01:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=Uz5TjFhqiFgMLBElDwKme/Eak17tNgRhHDPgcol2MRc=; b=mi6v5mFTtX/k8qzi+TSqO6WJOAQGK3Uo+ENWZREOrciZqN/Rt5Qcf4PPmH9ED+Qch+ QIiexTG1N9WV3JgtVx2We3ryOwwsBnwwWZlzT8iwgfdjDSBl08YZdP5kXR6PccPAD9o8 UGYvpmGccEm79eW1aeEtRwymV3A6mAkLqkfbY2kgKbQOt45NXpFUE6/d33rqjAO7/PD/ 79LzuX/5QjK8LeuchXNDDbXxuGqi3ITArHQDU666pBXiwCJ1m1ouOSZZ8k/VVcbmmoL7 5vb9XFIfBggvDrmG7sSnxx6cDPnP/SEPIa7f9/AmrJ7An0wgG3QdfOEZ4/cOmGNzk6RB rDqQ== Received: by 10.50.45.162 with SMTP id o2mr1961647igm.0.1345734103484; Thu, 23 Aug 2012 08:01:43 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp266884igc; Thu, 23 Aug 2012 08:01:42 -0700 (PDT) Received: by 10.216.136.72 with SMTP id v50mr915268wei.203.1345734101429; Thu, 23 Aug 2012 08:01:41 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id o7si19352301wiz.31.2012.08.23.08.01.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 08:01:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.170; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by wibhq12 with SMTP id hq12so1340916wib.1 for ; Thu, 23 Aug 2012 08:01:41 -0700 (PDT) Received: by 10.180.86.106 with SMTP id o10mr4694264wiz.22.1345734100804; Thu, 23 Aug 2012 08:01:40 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id dv1sm3371017wib.10.2012.08.23.08.01.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 08:01:40 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, w.sang@pengutronix.de, Lee Jones Subject: [PATCH 2/3] Documentation: Device Tree binding information for i2c-nomadik driver Date: Thu, 23 Aug 2012 16:01:26 +0100 Message-Id: <1345734087-21803-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345734087-21803-1-git-send-email-lee.jones@linaro.org> References: <1345734087-21803-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnC7QcGOjkJ4Q657WVgETSPoyjUMnCADdrHECIqeL75XGFgow1uiupCD0vsPdoBS6KZyZ36 This document describes each of the non-standard Device Tree bindings used in the Nomadik I2C driver. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/i2c/nomadik.txt | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/nomadik.txt diff --git a/Documentation/devicetree/bindings/i2c/nomadik.txt b/Documentation/devicetree/bindings/i2c/nomadik.txt new file mode 100644 index 0000000..72065b0 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/nomadik.txt @@ -0,0 +1,23 @@ +I2C for Nomadik based systems + +Required (non-standard) properties: + - Nil + +Recommended (non-standard) properties: + - clock-frequency : Maximum bus clock frequency for the device + +Optional (non-standard) properties: + - Nil + +Example : + +i2c@80004000 { + compatible = "stericsson,db8500-i2c", "st,nomadik-i2c"; + reg = <0x80004000 0x1000>; + interrupts = <0 21 0x4>; + #address-cells = <1>; + #size-cells = <0>; + v-i2c-supply = <&db8500_vape_reg>; + + clock-frequency = <400000>; +};