Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp799324imc; Sun, 10 Mar 2019 22:43:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGfnfDAwM9GeTzWJfbuZgFFQERcoqsXi6sFSbc0m5kdAVtitms7KWIxFPTen6tJGbpu4ya X-Received: by 2002:a63:e101:: with SMTP id z1mr28817204pgh.190.1552282992532; Sun, 10 Mar 2019 22:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552282992; cv=none; d=google.com; s=arc-20160816; b=BSZPWxzK8wJQFOp0Bf+Ujfx4DcGVCh0Bzmb+zghlDyzD2QeiFDX9URjB52LPbUVblc eD7qR21EIkqBF4djrdx3agoB/ySNaosf4JC/JFtMcnJVRpJQqljoNVqxfPqxoPM8BPhw /xpv5f5DKwve2rDYxN7w1awtWmn4vxlsC608IDLhqhV1hDmZPhcJPGdDIjF0dPUVh+0v ALUMKOQyITIbSrTuBCb2cb8puVqrfM+6cKcMb2YhfYSWsvNPTYMxYz7d89KIvSA5u7Z8 yFO7cI4ozkHWO+SIK0/Mcer1dsLyYY4sK47lv41hxweb0ngSFGVjamo00+UjflSDKFY9 6h5A== 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=k3Dm0SXqKqYtf8+tIGdjKt55zQXJ+O0EkAl45tjDp0E=; b=y9u8G02cEWWchmLSUs4E3APS6hs2M6G19i0P3FV2hsRleHaO3O5jfnWdkZLBE4Zvek CUlkS8UdwXJfcFqGYll/upPKZvA1aZ5afTL0RsgmRZ4fzJocIG7cDD5XArmrs0i5hgRR rnd/5drHivEgtSknknUSjEFIa40OZBLmyffjQoLAK2xCPm9GoiqJf9IS56nfPHLi7dTJ shk1m6SMMIk5I4o4SWe/GGUqzIydtIUUAXgCmCA11kqKM6C/9BqLjo7Ru+7E/V7qdZQl 9n0tZMAxLYl9BVdhV9uJwUoOLrA6LeqG8I4GnoKCM6Uh2SQ6GGyM7zvVQTwU8tPtLrvA g4rQ== 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 r9si4017814pgp.193.2019.03.10.22.42.56; Sun, 10 Mar 2019 22:43: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 S1726219AbfCKFlP (ORCPT + 99 others); Mon, 11 Mar 2019 01:41:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:43066 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725770AbfCKFlP (ORCPT ); Mon, 11 Mar 2019 01:41:15 -0400 X-UUID: 678f9efb02b8453c8f4877084a7eda01-20190311 X-UUID: 678f9efb02b8453c8f4877084a7eda01-20190311 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1125975366; Mon, 11 Mar 2019 13:41:09 +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.1395.4; Mon, 11 Mar 2019 13:41:01 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 11 Mar 2019 13:41:00 +0800 From: Qii Wang To: CC: , , , , , , , , , , Subject: [PATCH v6 0/6] add i2c support for mt8183 Date: Mon, 11 Mar 2019 13:40:34 +0800 Message-ID: <1552282840-12778-1-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 49EEDC9833C41D4A7A8C635CE863D998353A8222888F30AB380AA5CFE76CA8682000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series are based on 5.0-rc1(i2c/for-next) and these series http://lists.infradead.org/pipermail/linux-mediatek/2019-February/017570.html http://lists.infradead.org/pipermail/linux-mediatek/2019-February/017320.html http://lists.infradead.org/pipermail/linux-mediatek/2019-January/017196.html We provide six patches to support mt8183 IC. Main changes compared to v5: --add i2c controller nodes in mt8183.dtsi --add a note that old i2c controllers also have I2C_ARB_LOST bit --add a flag(ltiming_adjust) to avoid unnecessary settings --add Reviewed-by from Rob Herring, Nicolas and Matthias Main changes compared to v4: --modify the commit of arb clock dt-binding --split a patch(3/3) into three(3/5 4/5 5/5) Main changes compared to v3: --remove the patches which have been applied to for-next --remove i2c fallback for i3c controller 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): i2c: mediatek: Add offsets array for new i2c registers dt-bindings: i2c: Add Mediatek MT8183 i2c binding i2c: mediatek: Add arb clock in i2c driver i2c: mediatek: Add i2c and apdma sync in i2c driver i2c: mediatek: Add i2c support for MediaTek MT8183 dts: arm64: mt8183: Add I2C nodes Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 4 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 190 ++++++++++++++++ drivers/i2c/busses/i2c-mt65xx.c | 255 ++++++++++++++++------ 3 files changed, 387 insertions(+), 62 deletions(-) -- 1.9.1