Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5945787imu; Mon, 21 Jan 2019 00:03:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN7F1QV7BbgxgxG2EXy0E5IwxuGo9VX//FgcYdL2bIOlktfAQcia3lsNyU91L/VoKveqw0uo X-Received: by 2002:a63:2c0e:: with SMTP id s14mr27710059pgs.132.1548057787677; Mon, 21 Jan 2019 00:03:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548057787; cv=none; d=google.com; s=arc-20160816; b=H2pobsicVYruj9Qbq/oMljZUYPHHmQnaT3FfIIPF327VAAETmpIkVa3fut+Z6qt+g4 BQpJFcKhfH/0xGwtfkbANipWRsC4Z5x70NP278AzLZNc8hxdcaLhLiLSVeCEhup5txFc rvpYRqzy0WBM7SWdp/4HqvCNPfzyyXhn9efVq6ClF1tCy+kNR3+0uOuFSbfbJGunxSyg 8/Cn2zZwRRtEXQ+2nIYd377XVEL3GzVrhyOUcvzddIjN9tT2l+/IriyqkwQCz4AIAuIQ XPDsQRQetarc4cxkbvjA71ru020EBrKqJq2bSdv1vk+NX21WROu67yByc4f7wzHFygPp 4ZCA== 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=TkBU7RdyxSE0vSGRjMbFDm3yvySeOfDb4bHCdc8G6HE=; b=rF93QMDqjP6dJ94Z4jG1LD5rHCJLHRbIVHvupcPnInQNehnob4pZT/OrWo+9EiIBV+ x8OIEZ32Qlc+bjUUQd4AcMD27/1L275BOVPay65gM1S78Z6CHsEHGRaRu2wXGilhBzJz m33v+DsfkFApJM9n3vybdGTx1Zrr+FzU2TEli0MbnYif1k6bkDt4NhKMEw4ni075mpnt RcSYazLPp42508qe9w8wt31QsnNf0Rmgqh0yLCTpmPWZUOcNYPaOwzZiOsMHLYRPb2Fr YiscCMkpUh8nhNg5x4x/VbeSpMdRBD+u+9itZbq/nWH56GKS+oo4c3NqTOKcTupQZm7I Yw2Q== 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 61si11842373plc.364.2019.01.21.00.02.52; Mon, 21 Jan 2019 00:03:07 -0800 (PST) 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 S1729580AbfAUIBI (ORCPT + 99 others); Mon, 21 Jan 2019 03:01:08 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:45891 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728726AbfAUIA7 (ORCPT ); Mon, 21 Jan 2019 03:00:59 -0500 X-UUID: a6364e8e25d145f6838e933de1663842-20190121 X-UUID: a6364e8e25d145f6838e933de1663842-20190121 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 438868718; Mon, 21 Jan 2019 16:00:44 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 21 Jan 2019 16:00:42 +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:41 +0800 From: qii wang To: CC: , , , , , , , , , , Subject: [PATCH v3 5/6] dt-bindings: i2c: Add Mediatek MT8183 i2c binding Date: Mon, 21 Jan 2019 15:59:33 +0800 Message-ID: <1548057574-8061-6-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1548057574-8061-1-git-send-email-qii.wang@mediatek.com> References: <1548057574-8061-1-git-send-email-qii.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: C26F0F52E15C930DADD5941464D948943DFF475156D046D1E920F533490C477A2000:8 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 2712 i2c controller, MT8183 has different registers, offsets, clock, and share i3c controller. Signed-off-by: qii wang Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt index ee4c324..0d29a5b 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt @@ -12,14 +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 - "pmic" extra. + - clock-names: Must include "main" and "dma", "arb" is optional, if enable + have-pmic need include "pmic" extra. Optional properties: - clock-frequency: Frequency in Hz of the bus when transfer, the default value @@ -27,6 +28,7 @@ Optional properties: - mediatek,have-pmic: platform can control i2c form special pmic side. Only mt6589 and mt8135 support this feature. - mediatek,use-push-pull: IO config use push-pull mode. + - mediatek,share-i3c: i3c controller can share i2c function. Example: -- 1.7.9.5