From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v5 1/6] dt-bindings: usb: musb: Add support for MediaTek musb controller Date: Mon, 4 Mar 2019 11:42:58 -0600 Message-ID: References: <1550561795-31132-1-git-send-email-min.guo@mediatek.com> <1550561795-31132-2-git-send-email-min.guo@mediatek.com> <20190222164923.GA26413@bogus> <1551058604.12020.34.camel@mhfsdcap03> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1551058604.12020.34.camel@mhfsdcap03> Sender: linux-kernel-owner@vger.kernel.org To: Min Guo Cc: Bin Liu , Greg Kroah-Hartman , Mark Rutland , Matthias Brugger , Alan Stern , Chunfeng Yun , Linux USB List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/Mediatek SoC support" , Tony Lindgren , Hans de Goede List-Id: devicetree@vger.kernel.org On Sun, Feb 24, 2019 at 7:36 PM Min Guo wrote: > > Hi Rob, > On Fri, 2019-02-22 at 10:49 -0600, Rob Herring wrote: > > On Tue, Feb 19, 2019 at 03:36:30PM +0800, 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 > > > --- > > > changes in v5: > > > suggested by Rob: > > > 1. Modify compatible as > > > - compatible : should be one of: > > > "mediatek,mt-2701" > > > ... > > > followed by "mediatek,mtk-musb" > > > 2. Add usb connector child node > > > > > > changes in v4: > > > suggested by Sergei: > > > 1. String alignment > > > > > > changes in v3: > > > 1. no changes > > > > > > changes in v2: > > > suggested by Bin: > > > 1. Modify DRC to DRD > > > suggested by Rob: > > > 2. Drop the "-musb" in compatible > > > 3. Remove phy-names > > > 4. Add space after comma in clock-names > > > --- > > > .../devicetree/bindings/usb/mediatek,musb.txt | 54 ++++++++++++++++++++++ > > > 1 file changed, 54 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..0632e6e > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.txt > > > @@ -0,0 +1,54 @@ > > > +MediaTek musb DRD/OTG controller > > > +------------------------------------------- > > > + > > > +Required properties: > > > + - compatible : should be one of: > > > + "mediatek,mt-2701" > > > > That looks like a top-level SoC compatible and doesn't match the > > example. > "mediatek,mt-2701" is an example, just to describe a specific SOC. > May I modify compatibel like: > compatible : should be "mediatek,mtk-musb" No, you should fix the example adding "mediatek,mtk-musb". Rob