Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1970834ybi; Thu, 4 Jul 2019 03:01:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8o+lzjdaXYQuzc6xZuPTYOeIzt0SJ9mpo6J0IenAzwDyC9oLOW0l0CgebXKYLySAHheYd X-Received: by 2002:a17:90a:8984:: with SMTP id v4mr18599841pjn.133.1562234483532; Thu, 04 Jul 2019 03:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562234483; cv=none; d=google.com; s=arc-20160816; b=eNC/Hvt9tzxyF17WlxIq20owdZG1+yDZBWResq9pFH/Bu0L6kf7wMIWjXMA2LHLJRD fev0EV0zBB8JPSUI7Cvj2xHNMOuP8aXFaP9A+BQ6KolzSCMUvJu7KHwzgIjbAOJlhngX rSW6NEDFVH9sgBbyM7vL3LXhWR3GA/wMlkKXM0bq0+ama7i8IQYyJtoGD1YCKOJqCV0g d5ULZN+Ep3KlDoewC/gqB7TD+cKiWlUrI/yN2Cr8wgVCE6v/Bu5w1HcZLDod1TkKAMlM idnAEMmiVF6KuM8+P52TkuntOVM/+bX0sjx5YAoF9/iWY1QIDvgMs1+IM3KrUsGjO7TS t4aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=sBirWkMRu7eZAQnsroHkMvlRwe9qbqtab4dbDoIKMEs=; b=aed4YEK6UhmnFRHufbDEyDhvok0ds1/rtofJPosVIhZzYfuGJ9jlcb8rxHa781AII6 0BfQ8+ld9tEN2ABECh6iztbOtINOlaCBFUGcYLs+DF6rQxY+aEIb1xATwSX2YNdPIsnA 1LYs73VmY/YPLfDWE7NJvBIZTcfhhqINArf0hgO99QyYLq+6Gthb2wA4BvVvk+8NaEFL aNnA3OyEkQR4dyXjkcpgP1X3CpKsf5wYr2mjxIkS8I/jeDaw7TlkQi4s3LSTPkiGs3MN gYzaFwdcZjo6XnF5QlZqgeOee/DZJ5sOBI9oztd0pgCks/0zrwcayAQDap1Z02Z4FnJr gVZg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si5320808pga.449.2019.07.04.03.01.07; Thu, 04 Jul 2019 03:01:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727523AbfGDKAg (ORCPT + 99 others); Thu, 4 Jul 2019 06:00:36 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:49784 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbfGDKAf (ORCPT ); Thu, 4 Jul 2019 06:00:35 -0400 Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: bbrezillon) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 087ED28A379; Thu, 4 Jul 2019 11:00:33 +0100 (BST) Date: Thu, 4 Jul 2019 12:00:29 +0200 From: Boris Brezillon To: Qii Wang Cc: , devicetree@vger.kernel.org, srv_heupstream@mediatek.com, leilk.liu@mediatek.com, gregkh@linuxfoundation.org, xinping.qian@mediatek.com, linux-kernel@vger.kernel.org, liguo.zhang@mediatek.com, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, linux-i3c@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/2] dt-bindings: i3c: Document MediaTek I3C master bindings Message-ID: <20190704120029.4cc6d151@collabora.com> In-Reply-To: <1561527388-4829-2-git-send-email-qii.wang@mediatek.com> References: <1561527388-4829-1-git-send-email-qii.wang@mediatek.com> <1561527388-4829-2-git-send-email-qii.wang@mediatek.com> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Jun 2019 13:36:27 +0800 Qii Wang wrote: > Document MediaTek I3C master DT bindings. > You forgot to Cc the DT maintainers/ML. > Signed-off-by: Qii Wang > --- > .../devicetree/bindings/i3c/mtk,i3c-master.txt | 47 ++++++++++++++++++++ > 1 file changed, 47 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i3c/mtk,i3c-master.txt > > diff --git a/Documentation/devicetree/bindings/i3c/mtk,i3c-master.txt b/Documentation/devicetree/bindings/i3c/mtk,i3c-master.txt > new file mode 100644 > index 0000000..3fd4f17 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i3c/mtk,i3c-master.txt > @@ -0,0 +1,47 @@ > +Bindings for MediaTek I3C master block > +===================================== > + > +Required properties: > +-------------------- > +- compatible: shall be "mediatek,i3c-master" > +- reg: physical base address of the controller and apdma base, length of > + memory mapped region. > +- reg-names: should be "main" for controller and "dma" for apdma. > +- interrupts: interrupt number to the cpu. > +- clocks: clock name from clock manager. > +- clock-names: must include "main" and "dma". > + > +Mandatory properties defined by the generic binding (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details): > + > +- #address-cells: shall be set to 3 > +- #size-cells: shall be set to 0 > + > +Optional properties defined by the generic binding (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details): > + > +- i2c-scl-hz > +- i3c-scl-hz > + > +I3C device connected on the bus follow the generic description (see > +Documentation/devicetree/bindings/i3c/i3c.txt for more details). > + > +Example: > + > + i3c0: i3c@1100d000 { > + compatible = "mediatek,i3c-master"; > + reg = <0x1100d000 0x100>, > + <0x11000300 0x80>; > + reg-names = "main", "dma"; > + interrupts = ; > + clocks = <&i3c0_ck>, <&ap_dma_ck>; > + clock-names = "main", "dma"; > + #address-cells = <1>; > + #size-cells = <0>; > + i2c-scl-hz = <100000>; > + > + nunchuk: nunchuk@52 { > + compatible = "nintendo,nunchuk"; > + reg = <0x52 0x80000010 0>; > + }; > + };