Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1254775yba; Tue, 2 Apr 2019 05:39:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy0o3vFaZQU8Om1S3JllC0iJknLVyuLSGJ1BXVqBzdYvXbpgZIxDyvM8aA15WRlzToIUFg X-Received: by 2002:a17:902:8a8b:: with SMTP id p11mr61717401plo.227.1554208744882; Tue, 02 Apr 2019 05:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554208744; cv=none; d=google.com; s=arc-20160816; b=Q/mXH5Tt+7xSx0EyH63ecGIbOTuFOeiYXU+84QoL+9jbFAIPOgyQEXwpyOIBlOrSdY 2mky/jmS4+pBGDv1gD4Cr1hwQQSWZcJmOCPgFbVTbBQ9TW8JFxibX4MbpP5dcVT9DoKK Xy2VO2OSTe2dxekm7wbMZZ+Ew3nR7Hk/U3krT/q/mO1mEXhBh+qWOWkvpLsWTmxaA7Pr 4cXz/YN4CdenfHZzPjTd33mZGy6LmtKW8DjES3DfRnjCgHSs4YBffotQOff/LiRk13YI FFy3Hzn8aX9r7s9Ul1lTEYNB6RasOBzxZNknlrSrsO0yJtAl28QLEm9WtTD5OMYxtFeP Ke1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Mo3NMrTL4DLcS5cwjpikAyd87CBiFcyfyPjrAZFFsM8=; b=QG5qjFbl4dUJfCbpTIfxm5xUCC55T+Ygtitc3Hw0MdbtdXOMurCZ8aHPcDdWDLWR8D 3ow7U0lxw1ZnL4w8/MNJE2xZpfKV+2mDGFw0PKGxt/x2t5Y1Na8y4V/R1AOg/nSSj7BK FZV/bKNKrGQDocNpjyJbQUnYyTcpVmBR4q3wKk+E1DRREr0U6MjCy5ulqboRWhaqXUOQ v746vY7K25rruT0JNb0W7taXdgbv0w1iKE4YdVl3xQhC/GMlmwUHyqO4j56DubSHc6i2 W+SgE1r0SzmnFZbESlFkqsrYqOH3ISj8AJyOSUw+3L1p2xy7qKJjxfyviRGms6ExME3R hlSQ== 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 e10si11024607plt.283.2019.04.02.05.38.49; Tue, 02 Apr 2019 05:39:04 -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 S1731089AbfDBMgV (ORCPT + 99 others); Tue, 2 Apr 2019 08:36:21 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:38714 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727065AbfDBMgR (ORCPT ); Tue, 2 Apr 2019 08:36:17 -0400 X-UUID: 0c5b94eec23a4ec18e7440be16dbe491-20190402 X-UUID: 0c5b94eec23a4ec18e7440be16dbe491-20190402 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1382522866; Tue, 02 Apr 2019 20:36:10 +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:09 +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:08 +0800 From: Qii Wang To: CC: , , , , , , , , , , Subject: [PATCH RESEND v6 2/6] dt-bindings: i2c: Add Mediatek MT8183 i2c binding Date: Tue, 2 Apr 2019 20:35:56 +0800 Message-ID: <1554208560-14817-3-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1554208560-14817-1-git-send-email-qii.wang@mediatek.com> References: <1554208560-14817-1-git-send-email-qii.wang@mediatek.com> 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 Add MT8183 i2c binding to binding file. Compare to MT2712 i2c controller, MT8183 has different registers, offsets, and clock. Signed-off-by: Qii Wang Reviewed-by: Matthias Brugger --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt index ee4c324..b052f29 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt @@ -12,13 +12,15 @@ Required properties: "mediatek,mt7623-i2c", "mediatek,mt6577-i2c": for MediaTek MT7623 "mediatek,mt7629-i2c", "mediatek,mt2712-i2c": for MediaTek MT7629 "mediatek,mt8173-i2c": for MediaTek MT8173 + "mediatek,mt8183-i2c": for MediaTek MT8183 - reg: physical base address of the controller and dma base, length of memory mapped region. - interrupts: interrupt number to the cpu. - clock-div: the fixed value for frequency divider of clock source in i2c module. Each IC may be different. - clocks: clock name from clock manager - - clock-names: Must include "main" and "dma", if enable have-pmic need include + - clock-names: Must include "main" and "dma", "arb" is for multi-master that + one bus has more than two i2c controllers, if enable have-pmic need include "pmic" extra. Optional properties: -- 1.7.9.5