Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp280806imm; Fri, 6 Jul 2018 19:52:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcuj8y5Msds3p5GKkPWd9GtJ+kFFjkfcaLzxIpUAp29v6ICdtZmd4oGDB+ZqMNJcBf+jHme X-Received: by 2002:a63:a44a:: with SMTP id c10-v6mr6628612pgp.198.1530931932791; Fri, 06 Jul 2018 19:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530931932; cv=none; d=google.com; s=arc-20160816; b=Dc2ZzbE1LsM9qPktO5H669LvwMuT/GW423V/bxlKzQA8ha3FxtarKSv2jzBIKknvSh 3OgbUZw+5rdP60noFtsy7tgm8W+QZBaCBdWki4A8TT16Rud1BHNVybqCfnHh+CXepuUe ZMmDIzDbteVJZU/k7CCWONKFUkeuIMOHrymh8SkKy3pelLWzDpGhttqxL5qM+BorI09X E6u2oNebt3yv+dhzcQDlKL4h78Bi7vUn4+/TsyPGXCIcjTc/XpLjXconfi5aH/s+Zrs4 iChiz+JXp40cqgfVxv6PgI4Tar53Eu8VgyMK8zdLt0pyIZ0n6oe7PRgrRioBA44mRPG0 vT5g== 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:arc-authentication-results; bh=aSAe/QIyf4xc913jfgUlneczYbChpeYnsFECj8BSDa0=; b=diAKPtdTAW4kLcnYMx9QH5QClN4oFPy9VpK/aF46/z7pWXNAGnTQQDwh0RLCL+KjFC 0UWsyhVLLi0VrMDm5cFwVch+Qda//mxb8RJsHAkiXQevL6l4PZfkGW/Vz4MKoNaSaa7U M7KdLNS3gYADpWyFpYrSfvUF/hmUiKhwzkgrNuZpqfhb1hGzGGBeD8NlV+pR3rVCDzN7 H/w/0mGVoQYH3CYTr9H+exnMWjkRGkhJu23eBjJPwmEEARbb+BMppEHXreurRJNJmqHM 5mWhrB8Y8T7bNf6DL5l4LI6hbI9ypK1X4VVGiQeqhy6NMGDxl5mNtnigZSZrRUeriCZL KyuA== 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 p7-v6si8909868plk.293.2018.07.06.19.51.58; Fri, 06 Jul 2018 19:52: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; 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 S933026AbeGGCtp (ORCPT + 99 others); Fri, 6 Jul 2018 22:49:45 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54583 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932590AbeGGCtn (ORCPT ); Fri, 6 Jul 2018 22:49:43 -0400 X-UUID: 1405b2d0c8034e1b9c4ed466765b65e6-20180707 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1434298405; Sat, 07 Jul 2018 10:49:38 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 7 Jul 2018 10:49:30 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Sat, 7 Jul 2018 10:49:29 +0800 From: Jun Gao To: Wolfram Sang CC: , , , , , Subject: [PATCH 0/3] Register i2c adapter driver earlier and use DMA safe buffers Date: Sat, 7 Jul 2018 10:49:10 +0800 Message-ID: <1530931753-8264-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.18-rc1, include i2c adapter driver register time modification, DMA safe buffer free function and DMA safe buffers used for i2c transactions. Jun Gao (3): i2c: mediatek: Register i2c adapter driver earlier i2c: Add helper to ease DMA handling i2c: mediatek: Use DMA safe buffers for i2c transactions drivers/i2c/busses/i2c-mt65xx.c | 74 ++++++++++++++++++++++++++++++++++++----- drivers/i2c/i2c-core-base.c | 14 ++++++++ include/linux/i2c.h | 1 + 3 files changed, 81 insertions(+), 8 deletions(-) -- 1.8.1.1