From patchwork Thu Oct 18 11:26:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 10647037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CE0CF109C for ; Thu, 18 Oct 2018 11:26:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFA912863B for ; Thu, 18 Oct 2018 11:26:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B34832864A; Thu, 18 Oct 2018 11:26:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E30AF2863B for ; Thu, 18 Oct 2018 11:26:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=lTmM0sVNrD+qxw9J2oBnz8cqv+GhkSfbA+12I3sqS+0=; b=t6HW2YQHKEEotd vf0FwXwnzLMOfRW8iMNvPjBK9wtrl2oLwNFk1uw8Mh4fKjB6xYS+Wa99R844DuebwL3wDrnPkJc3G wzNfBTuFRXmYm+9pwE3ILIIy+7Yua/m/Y9kxAHwyEx3DlpDVOJ2ePViuZCuXQ0P6J6HyF3HHg0URh Z7g/KYTrElPCteA08o9MoOVhQ5i8+MhqnP+KcEKZsAeZXs2Fe61xbX/GyrusgCLYxtJQ+rLDMumFU 15nixn6LGex6qKGf6udvRQG4s+IIBtn0zry5KutdFN/WLemG8Y2AVr4yTdsGIy/VshNy2y0Z+x4/G uh+JeUY8Nc4Nw0a4cNjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD6Rt-0000aF-1y; Thu, 18 Oct 2018 11:26:41 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD6Ro-0000Ya-2p for linux-arm-kernel@lists.infradead.org; Thu, 18 Oct 2018 11:26:37 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gD6RV-0004aL-Eh; Thu, 18 Oct 2018 13:26:17 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.91) (envelope-from ) id 1gD6RU-0007et-IN; Thu, 18 Oct 2018 13:26:16 +0200 From: Oleksij Rempel To: Wolfram Sang , Shawn Guo , Sascha Hauer Subject: [PATCH v1 0/3] i2c: imx: DMA related fixes Date: Thu, 18 Oct 2018 13:26:12 +0200 Message-Id: <20181018112615.29362-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181018_042636_311866_9967EB63 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oleksij Rempel , linux-i2c@vger.kernel.org, Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org, NXP Linux Team Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Current i2c-imx module prints DMA warnings which in many cases are false positive and just confuse testers: 1. DMA is not available on chips before i.MX50 2. DMA for i2c is muxed with some other peripheral, and can be used only for one of devices at same time. So, obvious choice it to use it with SDHC instead of i2c. Oleksij Rempel (3): ARM: dts: imx6sll: fix typo for fsl,imx6sll-i2c node i2c: imx: probe dma only only on i.MX50 and later. i2c: imx: don't print error if DMA is not configured arch/arm/boot/dts/imx6sll.dtsi | 2 +- drivers/i2c/busses/i2c-imx.c | 89 +++++++++++++++++++++++++++------- 2 files changed, 73 insertions(+), 18 deletions(-)