Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp526949imp; Wed, 20 Feb 2019 04:35:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IaxERJxuXLsY6c6y/J4ZZ3PYuDVXBwOJV3lAiN62fCIjJs0EupYs7rNmX9rxgHnruqxayup X-Received: by 2002:a17:902:147:: with SMTP id 65mr36629832plb.116.1550666136532; Wed, 20 Feb 2019 04:35:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550666136; cv=none; d=google.com; s=arc-20160816; b=aJNyBP588ZgoEqc3aTCm5Kt9+rLP+D7gEQ5AYjwfFs3YU7B4shVmwPdDQ5rJF0W79W eLpdniMaoQQ5bgJZNLfVpbZBJkHH1qurvcxcqswqVEGtRO+9+koEH2WsXBOyALobk0Lz awYlJi/SR5G/nuzWQF2WE1Xq30LZhCsFd+NS2CBWyzzpOGTB0itfRkzgaFw6A+uEMGGX cKry5tw3G2OzNDX/n7vdgKp1eGJTsKM1kZfPw73BVJHqUhi+z0LubbSYBDyqheBU4CFh jGxxv346ad3ooVJBpwF49ghExw7AgGDnvCNNz6qBAJyaQec9B3mjyfU2MQEFzcWuR7bX cMTA== 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=qFnjw1+3xUGc+10WcsLL+7ecKeON57zJbM8RLDrwFAs=; b=omeZxfYI16dDgm49y/P+AuCH6snN0D7leGptogkxNWFYRh5NZCH7K0lIKnDwJZYLuM K530ynTWbZCqaGNd+lDIyrlyRx2oQ1xOa4MhENxztKVVfQkUPkzjrO9eAxXowC/WLm9U CGZ45/AqB/7aa9gr0KK/afu2zQ8nLkf07B/86ThQ2DC/TjB21Pm4pHB1uh4KVqMK2A83 y9ddUuOvNutgkomVrNG2h4nbDYhBAlaYC3pi/LRwItYwH3s5Tq4D6jX2/phwtzz2fDS2 9WT2g1EHp8/vTUmAI3ZrwN77X54BvGCx7JnDgj1L9+M9dDqMMGzwvVr2R2+BT9v3BFN4 vehw== 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 1si19742444plv.138.2019.02.20.04.35.20; Wed, 20 Feb 2019 04:35:36 -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 S1728102AbfBTMe1 (ORCPT + 99 others); Wed, 20 Feb 2019 07:34:27 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:61488 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726805AbfBTMeY (ORCPT ); Wed, 20 Feb 2019 07:34:24 -0500 X-UUID: 564f6cf263c144e8811530faa4bffd63-20190220 X-UUID: 564f6cf263c144e8811530faa4bffd63-20190220 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 835797606; Wed, 20 Feb 2019 20:34:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 20:34:06 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 20:34:05 +0800 From: Qii Wang To: CC: , , , , , , , , , , Subject: [PATCH v4 2/3] dt-bindings: i2c: Add Mediatek MT8183 i2c binding Date: Wed, 20 Feb 2019 20:33:49 +0800 Message-ID: <1550666030-30211-3-git-send-email-qii.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1550666030-30211-1-git-send-email-qii.wang@mediatek.com> References: <1550666030-30211-1-git-send-email-qii.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 268D3C975B3C30F8E6D6788EC07EF70938B455D6E0F386A5B60362569CB7C92B2000: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 MT2712 i2c controller, MT8183 has different registers, offsets, and clock. Signed-off-by: Qii Wang --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt index ee4c324..da2fa60 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 -- 1.7.9.5