From patchwork Mon Aug 24 05:59:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 7060891 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 59A2F9F358 for ; Mon, 24 Aug 2015 06:05:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94A7220619 for ; Mon, 24 Aug 2015 06:05:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B6A3820617 for ; Mon, 24 Aug 2015 06:05:23 +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 1ZTkpy-00013h-1w; Mon, 24 Aug 2015 06:02:30 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZTkpq-0000zs-Dr for linux-arm-kernel@lists.infradead.org; Mon, 24 Aug 2015 06:02:22 +0000 Received: by pacti10 with SMTP id ti10so15765907pac.0 for ; Sun, 23 Aug 2015 23:02:01 -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=0Ix7NIjimydW4aVUBh7FD+pcV+h8rslYB8LsH7PXSp8=; b=V5yLq+0YAi8qepmuJ/By6IfYDJohp+txSbzOLNfdvL7O2JmDn9IHP1NUCAz7dQETNH kbDHf3cWbOqiPQN/Ex0FM3HHzOL7Y8D0X5E5jPQlReIiv5/8b/Q3vcDArK1orBNxAhId KHJDdPzmzLpuSZV91K/QQeav62qMZBAuMcHgE3bFw71b3PXfRmXDd8FMluElvEPwjtMB Qf9wuv3DH+tKJ5qk2G3fW1H6bEbtvfIRkz40jm1UeYee/S3igNbczP0eIMKFEhUQl9Ut p4tT1HZ6yjPgkh2XI/2wMXvodMMDksA9ooE9T9Q4qiDOoBeOjf3d1yRLgzP7hACTUvB5 Lk5Q== X-Gm-Message-State: ALoCoQnOIAuVnlNex+PCtrool1RbietgKgvya55hUPVJg2pIhTb35vNBSwksd8lQ70YztDqCFBw+ X-Received: by 10.66.142.166 with SMTP id rx6mr41663735pab.25.1440396121583; Sun, 23 Aug 2015 23:02:01 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id h16sm15925034pdk.4.2015.08.23.23.01.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Aug 2015 23:01:59 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v5 RESEND 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Date: Mon, 24 Aug 2015 11:29:34 +0530 Message-Id: <1440395978-9065-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440395978-9065-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1440395978-9065-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150823_230222_604910_20AEA940 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, wsa@the-dreams.de, linux-kernel@vger.kernel.org, Vaibhav Hiremath , robh+dt@kernel.org, linux-i2c@vger.kernel.org, robert.jarzmik@free.fr 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=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer and enable it back before xfer. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/i2c/i2c-pxa.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt index 12b78ac..9657db5 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-pxa.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-pxa.txt @@ -18,6 +18,11 @@ Recommended properties : status register of i2c controller instead. - mrvl,i2c-fast-mode : Enable fast mode of i2c controller. +Optional properties : + + - i2c-disable-after-xfer : If set, driver will disable I2C module + after msg xfer and enable it again before xfer. + Examples: twsi1: i2c@d4011000 { compatible = "mrvl,mmp-twsi";