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: 52621 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 7B85D2041A for ; Mon, 24 Aug 2015 06:02:21 +0000 (UTC) Received: by labth1 with SMTP id th1sf38248977lab.2 for ; Sun, 23 Aug 2015 23:02:20 -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=hC1P4bAsAltYGZpqeC2KVhwHAqEo6TiHOGdNH9yDBx4=; b=dLLq43FcprWf4LEL57Uc/hn8fLfZ0jkiRpbGmuchn5PrdPuf8HBjc8EOHJAgZKQCqZ WV9PIX3l7+YahNNiAElgp0dHdhr8Pa2cZOokTbP74/X0Qa+17giP08aLR0LRuNUKmGIy mKvYGf+v0WP1Pyi2pCQ1IwTR7QCBFr9WKZTvXJ3Mu1cZItwbQV/jDIpFisD+qnVpLp2S qrwG7eB46FAnOhrZpGFzEiS59MAtW2sJfSqGEwrGpufqIeUZjduSZKHJJvelL3FuE/Fs M8GBS59xYVsJtgA0MOgRGwfd3ttiD0NUGQicGMwxaClBRT0DgVV9klQ3CuL0SQ4vqS4O NPiw== X-Gm-Message-State: ALoCoQlvcP1x9JMvJRul8WWUQ7PeLRc4Fj0Ku9Y8QCejoE74YDIjwKeG3XO95Lm28QRNso4tHz9t X-Received: by 10.112.50.10 with SMTP id y10mr6258231lbn.10.1440396139765; Sun, 23 Aug 2015 23:02:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.229 with SMTP id i5ls64502lae.85.gmail; Sun, 23 Aug 2015 23:02:19 -0700 (PDT) X-Received: by 10.152.42.170 with SMTP id p10mr18228434lal.39.1440396139506; Sun, 23 Aug 2015 23:02:19 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id m18si12292873lbg.157.2015.08.23.23.02.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Aug 2015 23:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labgv11 with SMTP id gv11so2806023lab.2 for ; Sun, 23 Aug 2015 23:02:19 -0700 (PDT) X-Received: by 10.152.37.104 with SMTP id x8mr5919281laj.29.1440396139407; Sun, 23 Aug 2015 23:02:19 -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.162.200 with SMTP id yc8csp2247586lbb; Sun, 23 Aug 2015 23:02:17 -0700 (PDT) X-Received: by 10.66.184.197 with SMTP id ew5mr42672819pac.54.1440396137248; Sun, 23 Aug 2015 23:02:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fl5si25724876pbb.115.2015.08.23.23.02.14; Sun, 23 Aug 2015 23:02:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753981AbbHXGCG (ORCPT + 28 others); Mon, 24 Aug 2015 02:02:06 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:33115 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753944AbbHXGCC (ORCPT ); Mon, 24 Aug 2015 02:02:02 -0400 Received: by pacti10 with SMTP id ti10so15765877pac.0 for ; Sun, 23 Aug 2015 23:02:01 -0700 (PDT) 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 Cc: wsa@the-dreams.de, robh+dt@kernel.org, robert.jarzmik@free.fr, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Vaibhav Hiremath 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> 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: vaibhav.hiremath@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.43 as permitted sender) smtp.mailfrom=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: , 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";