From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chunfeng Yun Subject: Re: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file Date: Wed, 30 Aug 2017 11:38:53 +0800 Message-ID: <1504064333.17567.9.camel@mhfsdcap03> References: <33fa448238c0d95f0cfd6c2be3bd5c4e657a0cd4.1503998338.git.chunfeng.yun@mediatek.com> <61060035e057b13f43d383645c53c8726b7e67ab.1503998339.git.chunfeng.yun@mediatek.com> <1a489dcc-e95c-bfe3-8e2a-fe2591fe86d8@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1a489dcc-e95c-bfe3-8e2a-fe2591fe86d8@cogentembedded.com> Sender: linux-kernel-owner@vger.kernel.org To: Sergei Shtylyov Cc: Mathias Nyman , Greg Kroah-Hartman , Felipe Balbi , Rob Herring , Matthias Brugger , Mark Rutland , Ian Campbell , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org On Tue, 2017-08-29 at 13:08 +0300, Sergei Shtylyov wrote: > Hello! > > On 8/29/2017 12:20 PM, Chunfeng Yun wrote: > > > The mt8173-mtu3.txt actually holds the bindings for all mediatek > > SoCs with usb3 DRD IP, so add a generic compatible and change the > > name to mediatek,mtu3.txt. > > > > Signed-off-by: Chunfeng Yun > > Acked-by: Rob Herring > > --- > > .../usb/{mt8173-mtu3.txt => mediatek,mtu3.txt} | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > rename Documentation/devicetree/bindings/usb/{mt8173-mtu3.txt => mediatek,mtu3.txt} (92%) > > > > diff --git a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt > > similarity index 92% > > rename from Documentation/devicetree/bindings/usb/mt8173-mtu3.txt > > rename to Documentation/devicetree/bindings/usb/mediatek,mtu3.txt > > index b8ea394..722a029 100644 > > --- a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt > > +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.txt > > @@ -1,7 +1,11 @@ > > The device node for Mediatek USB3.0 DRD controller > > > > Required properties: > > - - compatible : should be "mediatek,mt8173-mtu3" > > + - compatible : should be "mediatek,soc-model-mtu3", "mediatek,mtu3", > > Worth enclosing soc-model in <>. Ok, I'll modify it, thanks > > > + soc-model is the name of SoC, such as mt8173, mt2712 etc, > > + when using "mediatek,mtu3" compatible string, you need SoC specific > > + ones in addition, one of: > > + - "mediatek,mt8173-mtu3" > > - reg : specifies physical base address and size of the registers > > - reg-names: should be "mac" for device IP and "ippc" for IP port control > > - interrupts : interrupt used by the device IP > > MBR, Sergei