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: 509915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6F72314056B for ; Mon, 24 Aug 2015 16:03:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946AbbHXGCE (ORCPT ); Mon, 24 Aug 2015 02:02:04 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34809 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753943AbbHXGCC (ORCPT ); Mon, 24 Aug 2015 02:02:02 -0400 Received: by pacgr6 with SMTP id gr6so10570917pac.1 for ; Sun, 23 Aug 2015 23:02:01 -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=0Ix7NIjimydW4aVUBh7FD+pcV+h8rslYB8LsH7PXSp8=; b=Ou7v9eGvJcJaE6dZiSIBLV2k81fI+r/alfRWNj7izv4DoaJFdTT47xPMM62HcR2vWO YKEungG1Ie27ZtcBlZxRSgfS5MKfAFiQ9djtHbhAyNlXIJzsfnv34JEIVEbvQMSu0jm2 hxj511YXde2b13pkhxNBOPayF0QyIVLdpAvhZEdJcMPBDB1Gi4ff1JsPrq8B6VIulXKm Bz3uP21EqOXVQclZ/idb0ugKyY9scp1dEPfdOZELmFsncjiPz4mhnj5eC+A5LEWDazet DhNGa+p0CZ1pTcBOLriWLveV4M+gV5/D9IfKGZyw3e3tM5ddV5HnukX6JGjIDn2Olr1i wGpQ== X-Gm-Message-State: ALoCoQmjyEEDooy7f7Dpc5uxK+814G1KVxFkiZCJuWN0h1QE3CDm39dkM2xMrzFTx9Vo20LF6TVe 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-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org 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";