From patchwork Mon Jul 6 19:24:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50785 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC2EF229FC for ; Mon, 6 Jul 2015 19:28:33 +0000 (UTC) Received: by laer2 with SMTP id r2sf50286962lae.3 for ; Mon, 06 Jul 2015 12:28:32 -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=TtgW7XdBvnGePRmtS9PM3pCK/FCe0gLbePp7j93En/Coy0o61APU1hSAvS45MROtnU nfxymOa4EoyMzxzTlBWRATZv7grX6vL/MZJZ6y4mIpmrgXpIHI93RZAM30qgOoR1Xwra bVedvVAyBbaOXzAnbyVPMtz8O772EWxDwr6QmV8keSKpIImhdhJ8NL20VCDCLgIT4zXg Obp/zCXz/EqkWRK/ciy6JD0eQtI/N9kCcTjQSf6WvM/biEpQnfVp9OwjBCEo/zrVp0oV ivI/Owtel9RKMGXDvLf/NjmgCNxlMsGDnz4aDz36WSpS4cJ3avr/91sY3BTM1BXzLSCX JAiA== X-Gm-Message-State: ALoCoQmHPKfjXDrkgz27j+1ZF8XFqYmTpZ8Per6kPGxpiUSlI4W8IVXofrGL1pUvsMewvzKimtFf X-Received: by 10.194.179.42 with SMTP id dd10mr197568wjc.7.1436210912877; Mon, 06 Jul 2015 12:28:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.7 with SMTP id v7ls697341laa.75.gmail; Mon, 06 Jul 2015 12:28:32 -0700 (PDT) X-Received: by 10.112.170.167 with SMTP id an7mr388075lbc.103.1436210912672; Mon, 06 Jul 2015 12:28:32 -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 zd10si16019490lbb.169.2015.07.06.12.28.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 12:28:32 -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 laar3 with SMTP id r3so168475640laa.0 for ; Mon, 06 Jul 2015 12:28:32 -0700 (PDT) X-Received: by 10.153.5.38 with SMTP id cj6mr457320lad.36.1436210912138; Mon, 06 Jul 2015 12:28:32 -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 hn6csp1921338lbb; Mon, 6 Jul 2015 12:28:31 -0700 (PDT) X-Received: by 10.68.238.39 with SMTP id vh7mr956215pbc.12.1436210910156; Mon, 06 Jul 2015 12:28:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k16si30478462pdm.244.2015.07.06.12.28.29; Mon, 06 Jul 2015 12:28:30 -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 S1755242AbbGFT2O (ORCPT + 1 other); Mon, 6 Jul 2015 15:28:14 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35831 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755260AbbGFT2M (ORCPT ); Mon, 6 Jul 2015 15:28:12 -0400 Received: by pactm7 with SMTP id tm7so99953961pac.2 for ; Mon, 06 Jul 2015 12:28:12 -0700 (PDT) X-Received: by 10.66.55.105 with SMTP id r9mr731247pap.143.1436210891924; Mon, 06 Jul 2015 12:28:11 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id x7sm19293964pas.28.2015.07.06.12.28.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 12:28:11 -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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Vaibhav Hiremath Subject: [PATCH-v3 08/11] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Date: Tue, 7 Jul 2015 00:54:52 +0530 Message-Id: <1436210695-19159-9-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436210695-19159-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436210695-19159-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";