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: 6727471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB45DC05AC for ; Mon, 6 Jul 2015 19:30:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32140205EC for ; Mon, 6 Jul 2015 19:30:41 +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 4E8D4205F2 for ; Mon, 6 Jul 2015 19:30:40 +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 1ZCC4Y-0007tG-HR; Mon, 06 Jul 2015 19:28:58 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCC48-0007KB-Mt for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 19:28:33 +0000 Received: by pdbdz6 with SMTP id dz6so15813469pdb.0 for ; Mon, 06 Jul 2015 12:28:12 -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=FfqLxwHrp0yutWwNQLamUrHoiXmWuOO93SKlZOnFGSo=; b=IGGP2QTL6PDXvYWssAFyY5mGzqjWPBfY2NGl7x7TL3z/NWUNmFlTGxAHG7GbcvqnM7 Uf5SsjhgS9LT6LjSgXAnCGs7iLr+grrRb5Q8GprWSWxggf2ZGU2keFVR5GI5wzUsI1SI XtKC9jvuTARK4Bp7ihs06xTUGP/rcrT2Ju1OkuZag8+zH3h3o+vOAFEewEnZgx/90P2o t1SJq8CNGmgEzIsgpFRTMxM8Wyebl8oxyMjhJMEZHFEU785iPauC3yccbM88vlgwdFOu c5XtpKH/mhLfSd44UwhqVoD1tezqQXGQZdiS9lTkaT+7VCea1an5pS5Ibqd5fkWNETSr nhWQ== X-Gm-Message-State: ALoCoQmTe2SA3e9ojxSa80Nx0kfJV0UE6OPu9OKODqfcDTPsrTWGmRCW7CGZSjNNwGS9i4UhXyTX 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150706_122832_780350_5C5F5DEB X-CRM114-Status: GOOD ( 10.09 ) 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, robert.jarzmik@free.fr, linux-arm-kernel@lists.infradead.org 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=-4.9 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 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";