Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2624947imb; Mon, 4 Mar 2019 09:45:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwfWB+/dF3+OUz4tELve/s1zliAjNXiwOqXUp02VO88J4qc8jj/+ABx9N60yKmrhmkYYGKb X-Received: by 2002:a62:1b92:: with SMTP id b140mr21394988pfb.159.1551721506819; Mon, 04 Mar 2019 09:45:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551721506; cv=none; d=google.com; s=arc-20160816; b=mTkysyQRAao7TKRgbR0nhJ7P9xT/xmqWhrAnt2KDZAELa5ENrX3ESL6xWnNZQT921W DSaY5/jHY1BM9Vb1LVomgQvBlh03bkHYE8XCeERVJaWu80S2bgL3hS7UG2EsBqlSpshs 9bvo2mnirYY9BoHIfAwddxVeIN5/EPFaZNZ/aPMDE8ca2LzEpJCWp83tgzHa81H0yuT1 O3KfgOwYMg6t5GsEb2mafokvkQq5ERl5NRIz4co64h5kdbzZYdvBSTluVUjppXqftwpM PAYE+9P2Dz9msBLPqRHztTy2hHx8crgcHC5U/whBpWvTpcHP1NvIze8pkPPciLkcUfh8 gZ9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ToqX/Q/k04V/qN8ha6o/DhW3hgTl1NiDLa2RX6hmvgE=; b=dwwxlVK7MvVsRcYunJGFu7ZV/U3ww1Cnz8lySpntW8ELhmzUjAp3Y2i61r4t+qeI1K 3u0oMjSbp4YQd2mIqCwWvXJmITyOCRRudKWy935itvHG7TwgqQD0Lurw1mdmRv77zjtn GpuWWWgktu/IQoyytog1XCGlqt2oiocx6dfEjtmkU6rK7wVHVwIzkhCckn4vqkGVGlM3 d+OTJisD2x2zG0YJDvs0yNfmum8Cv9eTmedpdsqxbm1BnrAs/VHqGAM8KNOsz1ZSKDmN ZjduRurrFdZhujyrwboWC7odaD7ym8bjAL0mZb3bpVVYO3FvQ4lkbrv+lTi+EyPTuoH5 3yFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GMOnVWgA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si5930321pll.83.2019.03.04.09.44.51; Mon, 04 Mar 2019 09:45:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b=GMOnVWgA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727436AbfCDRnN (ORCPT + 99 others); Mon, 4 Mar 2019 12:43:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:40244 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbfCDRnM (ORCPT ); Mon, 4 Mar 2019 12:43:12 -0500 Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 14E1520823; Mon, 4 Mar 2019 17:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551721391; bh=ozRreU3RmIrmPBt2VbxbTZQcQKmj4OKXbuQN0ktJiHg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GMOnVWgAvagoRM2SpqMMHVdtABAlrvIJdPnolQey3SwQZ8y0cJDsgjI5DDWb8eYtB smyS9ckPZxLc78cCJll9EBq9KZEPTiQgxyNDySvY3Eq8uFKXK8hFEBq/+iPq4xnvMW ccr7IYcV7v4p2iuhnViCjw9635ZP5jECPKXUMFtI= Received: by mail-qt1-f171.google.com with SMTP id s1so6031236qte.5; Mon, 04 Mar 2019 09:43:11 -0800 (PST) X-Gm-Message-State: APjAAAVmo0cA1MmYVfGgniuMniwfsuou6eTu7vxMHdoqM4rEsJHIyZWo KweNOJo0TiEDeqrhd0g7eVGns6A01pCxDDvfdg== X-Received: by 2002:a0c:91bb:: with SMTP id n56mr15662943qvn.77.1551721390309; Mon, 04 Mar 2019 09:43:10 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <1551058604.12020.34.camel@mhfsdcap03> From: Rob Herring Date: Mon, 4 Mar 2019 11:42:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 1/6] dt-bindings: usb: musb: Add support for MediaTek musb controller 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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