Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp522320imm; Thu, 6 Sep 2018 06:18:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaNhqp3mQE5fsx8UJeBMnsmijP4s9pVVTE17KO0ua/2ROad6SqYrTdWu3K0UDVtgL0a+V2w X-Received: by 2002:a62:9f4c:: with SMTP id g73-v6mr2786558pfe.142.1536239930576; Thu, 06 Sep 2018 06:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536239930; cv=none; d=google.com; s=arc-20160816; b=C3jyCLHdfCL7unONnNux8Efe7mGz+T8ATy/owVS9YCFTTJeb+PKanHjrWpSx6ngWcx TvauyEwcho8Ek+g5AypvMh6nKhKZNG3JnBeE4HSngfLOsVYGXMpDwTYRi1V8lohem7l3 Kt+wYnV1LqjwWN5/BCEdo/2PK1FAPkAGd72sPhh/MQzLjvytCgXHBCs0HGH4yG62+UJb elHuW/2SLoUJfXd0draNqJFt7vSSr9eyaHo3KxOkVQusAz4tUCGoMRjWiQtmEbNGdM7s ZQHfy5Y/iMXU/Ouomi5ddWWNDBgpwMXVrKYgU7wrioRZlADc4V5/TfgIlvN6XFGSDdFI ueKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=kKAipQl94yFa/Wgr+o4EFNKwij7ELhqoF8vVcsNT1zE=; b=E/uHMU8QOzNe2MeR7T512dsgcPCn9fYbUMEp95HwQ+WRfy6BsgQoBS34LN5i3EKIvF o/K01gdMiyGhc1CipYGeL3wbf+LL8vfh7luem6LzJN64q6Dm+ApHjZ3W16fsXn3nCUAS S2S9Vm6nCNzZEG4bB1Av7M/c5VXqja9szbxOmFq4hEzWzMjyMvh1IxlyZ4vodw7ZRWBg m5qayajr5KbJ2eSU24HzVv6DNibWThkm+jiJT5GCyY7l+SZOT+bUXVLcRJ59zd7ThG/q VdEIwMrSXhhf44vctT1B/21xKRbJZmb6z5jLUs6nx7A5QLlySsKubG55qMS70sizP2ce yeWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13-v6si4928698pgo.505.2018.09.06.06.18.34; Thu, 06 Sep 2018 06:18:50 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729181AbeIFRvM (ORCPT + 99 others); Thu, 6 Sep 2018 13:51:12 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:40017 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727650AbeIFRvM (ORCPT ); Thu, 6 Sep 2018 13:51:12 -0400 X-UUID: 6be8ff8de3ce4f3190b13aea803eb0e7-20180906 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 459858057; Thu, 06 Sep 2018 21:15:38 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 6 Sep 2018 21:15:36 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 6 Sep 2018 21:15:35 +0800 From: Jun Gao To: Wolfram Sang CC: , , , , Subject: [PATCH v3 0/2] Register i2c adapter driver earlier and use DMA safe buffers Date: Thu, 6 Sep 2018 21:15:27 +0800 Message-ID: <1536239729-10008-1-git-send-email-jun.gao@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series based on v4.19-rc2, include i2c adapter driver register time modification and DMA safe buffers used for i2c transactions. changes since v2: - Remove the patch i2c: Add helper to ease DMA handling - Use i2c refactor function to release a DMA safe buffer changes since v1: - Add the initializations for DMA safe buffer pointers Jun Gao (2): i2c: mediatek: Register i2c adapter driver earlier i2c: mediatek: Use DMA safe buffers for i2c transactions drivers/i2c/busses/i2c-mt65xx.c | 74 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 66 insertions(+), 8 deletions(-) -- 1.8.1.1