Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752055AbbHEKqr (ORCPT ); Wed, 5 Aug 2015 06:46:47 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:33726 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbbHEKqo (ORCPT ); Wed, 5 Aug 2015 06:46:44 -0400 MIME-Version: 1.0 In-Reply-To: <1437482466-16126-3-git-send-email-vaibhav.hiremath@linaro.org> References: <1437482466-16126-1-git-send-email-vaibhav.hiremath@linaro.org> <1437482466-16126-3-git-send-email-vaibhav.hiremath@linaro.org> Date: Wed, 5 Aug 2015 16:16:44 +0530 Message-ID: Subject: Re: [PATCH-v5 2/5] i2c: pxa: enable/disable i2c module across msg xfer From: Shubhrajyoti Datta To: Vaibhav Hiremath Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Wolfram Sang , Yi Zhang , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, robert.jarzmik@free.fr Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 33 hi , On Tue, Jul 21, 2015 at 6:11 PM, Vaibhav Hiremath wrote: > From: Yi Zhang > > Enable i2c module/unit before transmission and disable when it > finishes. > > why? > It's because the i2c bus may be disturbed if the slave device, > typically a touch, powers on. Why should that be an issue? Is it an errata. In which mode it is an issue slave / master or both? > > As we do not want to break slave mode support, this patch introduces > DT property to control disable of the I2C module after xfer in master > mode of operation. > > i2c-disable-after-xfer : If set, driver will disable I2C module after > msg xfer > > Signed-off-by: Yi Zhang > Signed-off-by: Vaibhav Hiremath > --- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/