From patchwork Mon Jan 21 07:59:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UWlpIFdhbmcgKOeOi+eQqik=?= X-Patchwork-Id: 10772853 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 A4A031390 for ; Mon, 21 Jan 2019 08:01:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95FCC29D67 for ; Mon, 21 Jan 2019 08:01:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89F4929D6E; Mon, 21 Jan 2019 08:01:59 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY 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 4711729D67 for ; Mon, 21 Jan 2019 08:01:59 +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=Tu+9EkOKOBdU1SkVeRjXQKIioR/7VLQ2wlwRqMTqRaQ=; b=N54/mPg1bnB9Pr xP9/PLU6Cq+mDvIktFfGjrK88a+lgZMuDNwCN/0EwtOTbZQwAar7AlgCJ/BVLxOiwHseiV8Qz1TUy t0DVU+OQI2TptmKvUjCRPQM5RrhMcp2bJ1fH1RutGb7UZD5QOiFFBE+AckRxHNJITtcU6NWoLJl2D HxRT6abjE9r9MAcRcDH7cb39nG4MNx9Ba25StoXGcu4/J23yBjz7Q6fCw8sTkmxfvuqPuhnNWQK3l Q2eq9NWWQybnE8E23QJmZEow/jrD4jOYFfu58zqVRrzRIco08YTVtrxg/HSdmbn2Nw2EWC7R7jFJC njrfe7bA1POsj9uf7qxg==; 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 1glUWs-0002bl-Hh; Mon, 21 Jan 2019 08:01:58 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glUVj-0001Tx-6i; Mon, 21 Jan 2019 08:00:53 +0000 X-UUID: b9dbcbdb69eb4d74b823a2d2bd10f7dd-20190121 X-UUID: b9dbcbdb69eb4d74b823a2d2bd10f7dd-20190121 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 438688200; Mon, 21 Jan 2019 00:00:41 -0800 Received: from mtkmbs03n1.mediatek.inc (172.21.101.181) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 21 Jan 2019 00:00:40 -0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 21 Jan 2019 16:00:38 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 21 Jan 2019 16:00:37 +0800 From: qii wang To: Subject: [PATCH v3 0/6] add i2c support for mt7629 and mt8183 Date: Mon, 21 Jan 2019 15:59:28 +0800 Message-ID: <1548057574-8061-1-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190121_000047_262414_9E2F7400 X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, ryder.lee@mediatek.com, qii.wang@mediatek.com, srv_heupstream@mediatek.com, leilk.liu@mediatek.com, xinping.qian@mediatek.com, linux-kernel@vger.kernel.org, liguo.zhang@mediatek.com, linux-mediatek@lists.infradead.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series are based on 5.0-rc1 and provide six patches to support mt7629 and mt8183 IC. Main changes compared to v2: --update commit message --add Reviewed-by from Rob Herring, Nicolas and Sean Main changes compared to v1: --remove useless dt-binding for mt7629 --split a patch into two(2/6 3/6) --muti-user feature was dropped qii wang (6): dt-bindings: i2c: Add Mediatek MT7629 i2c binding i2c: mediatek: speeds is replaced by macros definitions i2c: mediatek: remove completion_done() i2c: mediatek: Add offsets array for new i2c registers dt-bindings: i2c: Add Mediatek MT8183 i2c binding i2c: mediatek: Add i2c support for MediaTek MT8183 Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 7 +- drivers/i2c/busses/i2c-mt65xx.c | 288 ++++++++++++++++----- 2 files changed, 227 insertions(+), 68 deletions(-)