From patchwork Mon Jun 15 15:49:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 49880 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 E0710205DE for ; Mon, 15 Jun 2015 15:53:52 +0000 (UTC) Received: by lagh6 with SMTP id h6sf4951985lag.0 for ; Mon, 15 Jun 2015 08:53:51 -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=cS76kLHmSZoSCj2tuUTSocKMR4QrZt31am8lX+XBdiIPOgQADLwGs73PWdk5XD1A+f I+B5M8a4/aMdVYV/tj+0KPXoRk+OkkBW3i7Ppk/OcbVlz4qMdgP3aZVXGY6ZIIIzFcaX VdZxnj02wOwLi3zV1IrGAhF7zNBnStL8VIO/O75bOVMoSPbWYRYl3FieN32OqemKqQtn WAG5LeVylpHilzZDz22rbWMQFe0+tNwGtfYXYXCYxxwxbdJ0n0RMVjhYe9bjTahiSGaT GW2ckeCiBmGXWeiO1NjpEPQYvTMwyrP1oVNTRd8jmonFvDu8nH8wealwhStFpnvt5PAT Ldfw== X-Gm-Message-State: ALoCoQnaDnbWl9L8KRi1eZJHDqtfETPdjGpJEevssAY4hjWQhywyEc45OcaAE5CrlGvUbhcQSelL X-Received: by 10.112.162.228 with SMTP id yd4mr794782lbb.8.1434383631785; Mon, 15 Jun 2015 08:53:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.37 with SMTP id w5ls831044laa.77.gmail; Mon, 15 Jun 2015 08:53:51 -0700 (PDT) X-Received: by 10.152.3.130 with SMTP id c2mr28100524lac.81.1434383631641; Mon, 15 Jun 2015 08:53:51 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id i4si10807572laf.44.2015.06.15.08.53.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2015 08:53:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labko7 with SMTP id ko7so60912562lab.2 for ; Mon, 15 Jun 2015 08:53:51 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr908764lbc.72.1434383631546; Mon, 15 Jun 2015 08:53:51 -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 hn6csp1508971lbb; Mon, 15 Jun 2015 08:53:50 -0700 (PDT) X-Received: by 10.70.39.103 with SMTP id o7mr49566164pdk.122.1434383629817; Mon, 15 Jun 2015 08:53:49 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si18495084pdr.64.2015.06.15.08.53.49; Mon, 15 Jun 2015 08:53:49 -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 S1755819AbbFOPxs (ORCPT + 1 other); Mon, 15 Jun 2015 11:53:48 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:35976 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755811AbbFOPxr (ORCPT ); Mon, 15 Jun 2015 11:53:47 -0400 Received: by pdjm12 with SMTP id m12so75600897pdj.3 for ; Mon, 15 Jun 2015 08:53:47 -0700 (PDT) X-Received: by 10.66.139.138 with SMTP id qy10mr50500096pab.30.1434383627447; Mon, 15 Jun 2015 08:53:47 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id fs16sm12662484pdb.12.2015.06.15.08.53.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jun 2015 08:53:46 -0700 (PDT) From: Vaibhav Hiremath To: linux-i2c@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, wsa@the-dreams.de, robert.jarzmik@free.fr, Vaibhav Hiremath Subject: [PATCH-V2 09/12] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Date: Mon, 15 Jun 2015 21:19:56 +0530 Message-Id: <1434383399-2370-10-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434383399-2370-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1434383399-2370-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.44 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";