Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1885303imu; Thu, 17 Jan 2019 05:02:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN69pwR8zp95/vFuGsiMHUYT4FAQNWfY0ETjQXLblMP48imfpC2UuLzC4UkR1sSTXtYzPEs3 X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr14712090plb.46.1547730142429; Thu, 17 Jan 2019 05:02:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547730142; cv=none; d=google.com; s=arc-20160816; b=dC5z22RGLU9DAb/u0amjjOM0t7b8tNjIanNYEwaUmkNdKEvGH9+ftZ0QEDV0BK2M/F /5eKAYWvU2B9gGGRwuciM4NJkDyZYgyK56D5/SatRelAqhBepDN5CbYw64II4NK0FbiT I9CngTmuJLmdSinqNJsJY78O4SHy5mMO7IKfVLrunFGv4CyNaTpMu+b6D71kQdpfx9y4 cdzYr+kBtu3idbHinfLmpH6KyoOLSy8/KbgYnA6Bk0u8xdl8kVp6WItuye0TYa7aahCo ofbXvknG5VP3XzGgcUiPW9i6/VTUp476Yv+h4biMsjV5B7ndAJUWFf5mCJp4mspYjrAy UxXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=jYJUob9ziGwEBY9TCVAcmlC84+TVnFolA7amwjVzlgM=; b=fukhe7k9vEw8J8/MIVWLrMYPpy+a+tt8fa47zaoYGGdl2Gi4obWf26lgy8IMzpgByt Ipeu3e54/EXkr8j7p/IV15oZSPaUR0+ljdRe/HEBED3beMhWD/AmjrXR6Sf2dUmnDSe1 ku7G3SLjAmzeTnXaXSKH6KnGE7VjnWzYEVwrpbR8NcrtLNN6pEkLPowVnblHVlN3tzEk ZDVSoQItHWIBcUrv1Sm/JtaLd2z5xYrnLIhrW7zefxc2cA5nDSZILQ6g2W5f6kPJMAHg tcwrZ9Bw8Nwp5g/tSPtBRAeLtTitk2I+EehQjLCn3SRB0BYFCV4k/zu+q9Wg/I95pVXf jQDA== 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 n3si1648163plk.328.2019.01.17.05.02.06; Thu, 17 Jan 2019 05:02:22 -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 S1727855AbfAQMl1 (ORCPT + 99 others); Thu, 17 Jan 2019 07:41:27 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:47626 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727506AbfAQMl0 (ORCPT ); Thu, 17 Jan 2019 07:41:26 -0500 X-UUID: 73f7eb08865e4460ab5e11fa1cf686d1-20190117 X-UUID: 73f7eb08865e4460ab5e11fa1cf686d1-20190117 Received: from mtkcas36.mediatek.inc [(172.27.4.250)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1494410280; Thu, 17 Jan 2019 20:41:19 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 17 Jan 2019 20:41:17 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 17 Jan 2019 20:41:17 +0800 Message-ID: <1547728876.4433.237.camel@mhfsdcap03> Subject: Re: [PATCH v3 1/4] dt-bindings: usb: musb: Add support for MediaTek musb controller From: Min Guo To: Sergei Shtylyov CC: Bin Liu , Rob Herring , "Greg Kroah-Hartman" , Mark Rutland , Matthias Brugger , "Alan Stern" , , , , , , , , Date: Thu, 17 Jan 2019 20:41:16 +0800 In-Reply-To: <15fb900e-c665-8ebd-b2cc-54f47cc35734@cogentembedded.com> References: <1547709348-17506-1-git-send-email-min.guo@mediatek.com> <1547709348-17506-2-git-send-email-min.guo@mediatek.com> <15fb900e-c665-8ebd-b2cc-54f47cc35734@cogentembedded.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Thu, 2019-01-17 at 14:06 +0300, Sergei Shtylyov wrote: > Hello! > > On 01/17/2019 10:15 AM, min.guo@mediatek.com wrote: > > > From: Min Guo > > > > This adds support for MediaTek musb controller in > > host, peripheral and otg mode. > > > > Signed-off-by: Min Guo > > --- > > .../devicetree/bindings/usb/mediatek,musb.txt | 43 ++++++++++++++++++++++ > > 1 file changed, 43 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/usb/mediatek,musb.txt > > > > diff --git a/Documentation/devicetree/bindings/usb/mediatek,musb.txt b/Documentation/devicetree/bindings/usb/mediatek,musb.txt > > new file mode 100644 > > index 0000000..3e3f671 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.txt > > @@ -0,0 +1,43 @@ > > +MediaTek musb DRD/OTG controller > > +------------------------------------------- > > + > > +Required properties: > > + - compatible : should be "mediatek,mtk-musb" > > + - reg : specifies physical base address and size of > > + the registers > > I'd indent it more to align with "specifies", else it looks weird. Okay. > > + - interrupts : interrupt used by musb controller > > + - interrupt-names : must be "mc" > > + - phys : PHY specifier for the OTG phy > > + - dr_mode : should be one of "host", "peripheral" or "otg", > > + refer to usb/generic.txt > > Same here... Okay. > > + - clocks : a list of phandle + clock-specifier pairs, one for > > + each entry in clock-names > > Here... Okay. > > + - clock-names : must contain "main", "mcu", "univpll" > > + for clocks of controller > > And here. Okay. > > + > > +Optional properties: > > + - extcon : external connector for VBUS and IDPIN changes detection, > > ID pin, maybe? Okay. > > + needed when supports dual-role mode. > > + - vbus-supply : reference to the VBUS regulator, needed when supports > > + dual-role mode. > > + - power-domains : a phandle to USB power domain node to control USB's > > + MTCMOS > [...] > > MBR, Sergei