From patchwork Tue Jul 21 12:41:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 51304 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 82E8222AA3 for ; Tue, 21 Jul 2015 12:46:16 +0000 (UTC) Received: by lagw2 with SMTP id w2sf48333725lag.3 for ; Tue, 21 Jul 2015 05:46:15 -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=hC1P4bAsAltYGZpqeC2KVhwHAqEo6TiHOGdNH9yDBx4=; b=Mnu3xYJjR48zhD21r4gzkWYeY6YEXNRvnC1uO83Qpy48IFtaGN/Bs8aFW+jVQZTikS 6BbZP1Zm2ETl7rQO3eA/Cd+wMb5pidvTgXHKBMg+atlDnY2NOIdALJfrQUWeY+6lNOmB d1hQChVnplqRQMGAnlNhRnd9jYQ1C4mGfgQks10hAF9Qx9CSR6C83n2y/Rjz9oxyRMOJ Ycbrdx/Y1QWAh2cJkVCGc2hqIoVK3zoiQcU8z09Ga2VK9+KR77XbDVbtOA/0h+eBDBf7 bV290cHreHckqJmrGdr/5IZukhfnGROs6WCBVTlZegRDUu6OD55sWBlO2xZmZ50uA56a tmpg== X-Gm-Message-State: ALoCoQkGDGr5d+vci06lgG1NHDh8X+9rqoqLf/4BSHLQO5NnAvss/W4tfcUDB+pOyJ4QlXnNNnmU X-Received: by 10.180.83.33 with SMTP id n1mr8954512wiy.4.1437482775419; Tue, 21 Jul 2015 05:46:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.195 with SMTP id o3ls922922laf.1.gmail; Tue, 21 Jul 2015 05:46:15 -0700 (PDT) X-Received: by 10.152.43.16 with SMTP id s16mr10261998lal.101.1437482775210; Tue, 21 Jul 2015 05:46:15 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id p7si20696362lag.32.2015.07.21.05.46.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 05:46:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lblf12 with SMTP id f12so114919148lbl.2 for ; Tue, 21 Jul 2015 05:46:15 -0700 (PDT) X-Received: by 10.112.120.134 with SMTP id lc6mr32718018lbb.86.1437482774957; Tue, 21 Jul 2015 05:46:14 -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.7.198 with SMTP id l6csp1424141lba; Tue, 21 Jul 2015 05:46:13 -0700 (PDT) X-Received: by 10.66.116.81 with SMTP id ju17mr72661049pab.35.1437482772854; Tue, 21 Jul 2015 05:46:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kl8si43420923pdb.48.2015.07.21.05.46.11; Tue, 21 Jul 2015 05:46:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S932769AbbGUMqJ (ORCPT + 28 others); Tue, 21 Jul 2015 08:46:09 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:34076 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932142AbbGUMqE (ORCPT ); Tue, 21 Jul 2015 08:46:04 -0400 Received: by pdbbh15 with SMTP id bh15so74685633pdb.1 for ; Tue, 21 Jul 2015 05:46:03 -0700 (PDT) X-Received: by 10.70.1.102 with SMTP id 6mr72320360pdl.32.1437482763172; Tue, 21 Jul 2015 05:46:03 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id f4sm27378854pdc.95.2015.07.21.05.45.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jul 2015 05:46:01 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robert.jarzmik@free.fr, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, wsa@the-dreams.de, Vaibhav Hiremath Subject: [PATCH-v5 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa Date: Tue, 21 Jul 2015 18:11:02 +0530 Message-Id: <1437482466-16126-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437482466-16126-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1437482466-16126-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.217.174 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 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";