From patchwork Tue Jul 14 07:36:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 51094 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D10E7202B9 for ; Tue, 14 Jul 2015 07:41:15 +0000 (UTC) Received: by laef2 with SMTP id f2sf542735lae.0 for ; Tue, 14 Jul 2015 00:41: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: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=9MI6aHm0zR0KTGCundMEUP8jPEukrHtpRapbJ92USdg=; b=dIStEizoliCtkeTHcOShuc6bC5ymGURxVGjOGmiCfw6JqZKVtqLGLddOUmbEvU4w0R jg55sZebduzrIy8dBnY174tBgCGwGxcRhdUeV/WEBgQ1M5iizSyGRSV5X93ALetGvzFe VZ1I0tRqec5rpAwLNR1oZalO5bHWwcmovA8M4mAMDVC1OL3RNeBgukbG0elVMcyzqm6a DQfhjqpzYmMvgSlW07JWV6jOqSXd9A974yu5TLXmnCZDgagY5vTrJRz2XP1nLlY0J1gl GU/GT+3sS/pwln2kpA6E7ra93vSbXqpCBG7IPaTuQtI5/WrmO9+VVmQjrHBd+BX9YAgH OfTA== X-Gm-Message-State: ALoCoQln9XrnmY/BFMogGSX/FTDgZ/G5wvElks1Vr0ksjUJ7EzgZdWrDQjUVsniazGicGWwpZ+uI X-Received: by 10.180.87.201 with SMTP id ba9mr783206wib.3.1436859674788; Tue, 14 Jul 2015 00:41:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.73 with SMTP id j9ls8042lag.73.gmail; Tue, 14 Jul 2015 00:41:14 -0700 (PDT) X-Received: by 10.112.140.9 with SMTP id rc9mr36559034lbb.14.1436859674493; Tue, 14 Jul 2015 00:41:14 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id v10si161325lav.62.2015.07.14.00.41.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 00:41:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lagx9 with SMTP id x9so1076867lag.1 for ; Tue, 14 Jul 2015 00:41:14 -0700 (PDT) X-Received: by 10.112.139.103 with SMTP id qx7mr699148lbb.73.1436859674390; Tue, 14 Jul 2015 00:41:14 -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.108.230 with SMTP id hn6csp2195849lbb; Tue, 14 Jul 2015 00:41:13 -0700 (PDT) X-Received: by 10.66.221.226 with SMTP id qh2mr78549358pac.64.1436859672728; Tue, 14 Jul 2015 00:41:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iw5si352971pbc.27.2015.07.14.00.41.11; Tue, 14 Jul 2015 00:41:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-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 S1753340AbbGNHjn (ORCPT + 1 other); Tue, 14 Jul 2015 03:39:43 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34266 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753273AbbGNHjl (ORCPT ); Tue, 14 Jul 2015 03:39:41 -0400 Received: by pacan13 with SMTP id an13so1355554pac.1 for ; Tue, 14 Jul 2015 00:39:41 -0700 (PDT) X-Received: by 10.66.139.234 with SMTP id rb10mr77595561pab.118.1436859580954; Tue, 14 Jul 2015 00:39:40 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id pe3sm275937pdb.55.2015.07.14.00.39.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 00:39:39 -0700 (PDT) From: Vaibhav Hiremath To: linux-i2c@vger.kernel.org Cc: wsa@the-dreams.de, robh+dt@kernel.org, robert.jarzmik@free.fr, yizhang@marvell.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vaibhav Hiremath Subject: [PATCH-v4 08/11] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Date: Tue, 14 Jul 2015 13:06:47 +0530 Message-Id: <1436859410-28878-9-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436859410-28878-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436859410-28878-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-i2c@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.52 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: , Driver 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";