Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1255500yba; Tue, 2 Apr 2019 05:39:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvNVo13B4+vJskLm8tk4gnWe7NPml775h+zlfn8mohhXuizN2HLX43xuJu+1kOWgeUZGBC X-Received: by 2002:a65:50c4:: with SMTP id s4mr25608519pgp.33.1554208796438; Tue, 02 Apr 2019 05:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554208796; cv=none; d=google.com; s=arc-20160816; b=j3B/k4LjGpjwUpL/Cz4Dyf238QGVQi0oIFcOFz2SV+Bv+ruJjkaphJvpDp1H5WQM57 qZKcVh0z2HvVT2rN0xu5pAUeCxcHIDRdnUHGbl1EwUhI2Ru/o1tN5eTP3YDAIP6F61nO mJK6gYTTuyMKw6ooqLbP2jZI1yewv+dJl4xXiI6X8IqNTyKXKj+vtVhhgzOKkuVDm8nC yEhP73S/W6WSCz2uyJhpVlFTAbpD7FJSyOMAleBgANgKHlo/3/Xma93MKdWV/xj8jWnD 7lEeZGpQACW0VCWSbSwJZF5+kr6B7YYJZ4meptLAlMWpMWABE0eqJhkHPr74GcTZu4KR gt2Q== 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=KzqbBle2DpvHuTJ7mY1TR4/eD8BNhh/Lc/LsGdg4PXI=; b=y+QbdjJwiHXmKsyi1z3v0H+BlA3FUpomNz3GPkL9m8sXYnRh6AG7kj7dpi511d6npl fOkLyF1O18McYK2xKfMFAQc+O+wwEbv0+dQzc0E7I68qs8qPWaUwIPj5ZMSCYk5FXeGc p18lO3yIj+0PCoG5TKxi7eneaQ+1WsRDXRfsZpz2OAttUlGjzPzL8t8gqrEfkZmH/f0f 2Roz9JryiJ9QuCdG0RHRZ7nynLlxq5MwUXCtDAvPX162oszNBw5Zpl3EofWVkbhsV1KT FkAJPFCXFu3JVXoxehTDR2XfuVb3Ul+1JGbSGSF/H7HpoGs65DYQFesOFwqxLhmhmZOF a3bw== 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 a3si11058207pfc.276.2019.04.02.05.39.40; Tue, 02 Apr 2019 05:39:56 -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 S1731078AbfDBMgU (ORCPT + 99 others); Tue, 2 Apr 2019 08:36:20 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:53362 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730456AbfDBMgR (ORCPT ); Tue, 2 Apr 2019 08:36:17 -0400 X-UUID: 0abdcd6b405d4f8aa2bd212ef5536e7e-20190402 X-UUID: 0abdcd6b405d4f8aa2bd212ef5536e7e-20190402 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1604574743; Tue, 02 Apr 2019 20:36:08 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs03n1.mediatek.inc (172.21.101.181) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 2 Apr 2019 20:36:07 +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; Tue, 2 Apr 2019 20:36:06 +0800 From: Qii Wang To: CC: , , , , , , , , , , Subject: [PATCH RESEND v6 0/6] add i2c support for mt8183 Date: Tue, 2 Apr 2019 20:35:54 +0800 Message-ID: <1554208560-14817-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-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.1-rc1 and the patch https://patchwork.kernel.org/patch/10856987/(for dts) 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 | 192 ++++++++++++++++ drivers/i2c/busses/i2c-mt65xx.c | 255 ++++++++++++++++----- 3 files changed, 389 insertions(+), 62 deletions(-) -- 1.7.9.5