From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A797BC4363A for ; Mon, 5 Oct 2020 09:27:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3ED4220774 for ; Mon, 5 Oct 2020 09:27:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ieOEDz2/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3ED4220774 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arri.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xPEiPkk3KQGnzoTLTSX1Itar/snfdMxd9EibIeNWdpw=; b=ieOEDz2/WiSR//kj0ykASJaKS NdilLZO+H2jVbs3RGM0ydqrYISaoCcMwx83lLocnjeFftvbRTyaqIA/qZlzyvfVKz01qpWYhT9sMM Clq5FBhLX0cvc47NJPklH2bHRtsrja7qtQ7KfScYWsmF/pP0d/BLpOz8l7JFzpO27al/qfRc1smxC B4SlO2qwMPgPKv/UEHMjUTMg877HZftuhSL1BrMYybmvBxdzIuBxP9wsi8Qv2Zr4kPD7RHJd5/F31 j19jJBCqqV8Qf+YeEUDEAFuTm+UQ2TXESf3wjUaaAEtJ1soYCagJl3FjpOe6puIdCq/I0YROzZaWV DljEAXqEQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPMlE-00018K-5y; Mon, 05 Oct 2020 09:26:24 +0000 Received: from mailout12.rmx.de ([94.199.88.78]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPMlB-00014z-3M for linux-arm-kernel@lists.infradead.org; Mon, 05 Oct 2020 09:26:22 +0000 Received: from kdin02.retarus.com (kdin02.dmz1.retloc [172.19.17.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout12.rmx.de (Postfix) with ESMTPS id 4C4Zw961JPzRp7N; Mon, 5 Oct 2020 11:26:01 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin02.retarus.com (Postfix) with ESMTPS id 4C4Zvn14HCz2TTL1; Mon, 5 Oct 2020 11:25:41 +0200 (CEST) Received: from n95hx1g2.localnet (192.168.54.143) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 5 Oct 2020 11:25:13 +0200 From: Christian Eggers To: Krzysztof Kozlowski Subject: Re: [PATCH v2 2/3] i2c: imx: Check for I2SR_IAL after every byte Date: Mon, 5 Oct 2020 11:25:13 +0200 Message-ID: <3765943.G7FBkpUTMe@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20201005080725.GB7135@kozik-lap> References: <20201002152305.4963-1-ceggers@arri.de> <20201002152305.4963-3-ceggers@arri.de> <20201005080725.GB7135@kozik-lap> MIME-Version: 1.0 X-Originating-IP: [192.168.54.143] X-RMX-ID: 20201005-112545-4C4Zvn14HCz2TTL1-0@kdin02 X-RMX-SOURCE: 217.111.95.66 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201005_052621_271975_8F250D5D X-CRM114-Status: GOOD ( 14.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Oleksij Rempel , NXP Linux Team , Pengutronix Kernel Team , Uwe =?ISO-8859-1?Q?Kleine=2DK=F6nig?= , Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Monday, 5 October 2020, 10:07:25 CEST, Krzysztof Kozlowski wrote: > The I2C on Vybrid VF500 still works fine. I did not test this actual > condition (arbitration) but only a regular I2C driver (BQ27xxx fuel > gauge). Obviously this only proves that regular operation is not > broken... thank you very much for testing on Vybrid. > Alternatively if you have a specific testing procedure (reproduction of > a problem), please share. The IAL errors happen due to noise on our I2C bus. We have our power supply connected via I2C. The hardware designers wanted to make sure that no high currents flow through the ground pins of the I2C interface. So they added a series resistor (30 Ohm) in the GND line between the power supply and the i.MX board. If you have an I2C device on an external PCB, adding some small series resistance in the GND line may cause IAL errors. On the other hand, if everything else works fine, also handling if IAL should work on Vybrid. > Best regards, > Krzysztof Best regards Christian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel