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: 494891 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3B5A81401CB for ; Tue, 14 Jul 2015 17:41:30 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752375AbbGNHlM (ORCPT ); Tue, 14 Jul 2015 03:41:12 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33181 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753334AbbGNHjl (ORCPT ); Tue, 14 Jul 2015 03:39:41 -0400 Received: by padck2 with SMTP id ck2so1389963pad.0 for ; Tue, 14 Jul 2015 00:39:41 -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=cpgEGjCoP4QAfdhYTLalcGFf+RR4jZnxC+Qd2J7R0jJ7vvaTrpgdeYvyneHS5PRdV+ m9Xit9Pku6to+nEiPtnEWZFjgQq+jQS1GA1zxsVAmuKkXSTvP0fJfMIzQWqNa1RqeMmu KXeV1KlLu6KzlbC/VXCd23zZlGk6j/T3vq3G4W2AwNYmUrFXKNylEZwui5PZIAwsqbse p/piJQaF9gd2AU1htnPC+DylHbF0H5eD0UGCaTiHR2/U76ExRtoMlOJ0aJPCW+1QdqM6 vgVE2vKkEUAjtIoU4R2CKHSDe80ulz4aFdMU4k9F61pKkIhQOqwbGAHEn8OmDn1Efxye kXlA== X-Gm-Message-State: ALoCoQl1MCS8FGabOiM8XcK1Tiutwcv5kuNWl7BHYV0RVhg7IxDrSS4zMs1WR/pOAVnjkHh0y2QM 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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";