Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp523945imm; Sat, 7 Jul 2018 02:32:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcUO2t2YHB8D9sglwd3GsEOCbNNzlUChGGfir+FGA6crt3E/MTxss/DI7tzXE0byy5TSSbz X-Received: by 2002:a63:686:: with SMTP id 128-v6mr6012474pgg.338.1530955942820; Sat, 07 Jul 2018 02:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530955942; cv=none; d=google.com; s=arc-20160816; b=Xz2m5qcVOYO6r8OCP7wiJsNawFU3HpCJ4C0hi2WMqPWHnF0aAv1yxhNOo5dBmtlDmc qD7VvUmUhVDR7EUOkdgXh3Z1jXYcZ/4vvRcyTJ4C6i0Nltyx+nqj+8i1HjyOd/1qKbFV w45EdTrPdMPpB8HNZ6h/Ks39NZ5oEnFVf162ym3Mtnd/0/kQwVIQ4POkMAW0vN3j9wuu yg7H7/6ilpkdX2YrUSdgFqrXQeHoMq/bpSJd9hHpsgGq64ztBvX36ShoBZusrTHlF87O 1siG8eEkBtdg95B1AlA7BmUVzw7I+Q0Wzk5H99NJsOrW2vDqS0Z6DEbAynt93RkYgBWf aJXg== 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=PH6CCpHiLkSMMPn5DoPAzs/3AsdfRodWZ5dJEyPINOY=; b=azkjmeQXFk8WQ9pZTBdCx3KMSbzWmWcpfJ07JjYtv4DgFI8kmyPfVkPl1tio5h9gCL yBShWEqLo6xcoNMQD7I9PWH+cFKJOSEGJk98vP1lkvAEzDKREC7qI6RSTJaLxaRkBnqO YGLsrsdRgzgukocEv2hBG671wfgZyQ55zumlamkJcpvmjWgvGhRr1WS6/tg9BLgSf5Ev w0dliS+80ONQmGuz3r2CffTVJtP6V96Hv4i8935YKK2cgM6IF24HzkbEK5dtj/hu4nAH slcWrVpdUArbrz6E2eBDQP2w6rUYCzYapg1U0s8gkrLbTk2PQjtOLq6UEaZe/LUFjRnr YSbg== 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 d35-v6si10185590pla.116.2018.07.07.02.32.08; Sat, 07 Jul 2018 02:32:22 -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 S1752892AbeGGJaR (ORCPT + 99 others); Sat, 7 Jul 2018 05:30:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:18299 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751863AbeGGJaP (ORCPT ); Sat, 7 Jul 2018 05:30:15 -0400 X-UUID: 9eef44b634264c67ad865dea6ae3f859-20180707 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1693276976; Sat, 07 Jul 2018 17:30:05 +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 17:30:02 +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 17:30:02 +0800 From: Jun Gao To: Wolfram Sang CC: , , , , , Subject: [PATCH v2 0/3] Register i2c adapter driver earlier and use DMA safe buffers Date: Sat, 7 Jul 2018 17:29:52 +0800 Message-ID: <1530955795-17714-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. changes since v1: - Add the initializations for DMA safe buffer pointers 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