Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1722267 > unrolled thread

[PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file

Started byChunfeng Yun <chunfeng.yun@mediatek.com>
First post2017-08-29 11:30 +0200
Last post2017-08-30 05:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file Chunfeng Yun <chunfeng.yun@mediatek.com> - 2017-08-29 11:30 +0200
    Re: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic  compatible and rename file Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-08-29 12:10 +0200
      Re: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic  compatible and rename file Chunfeng Yun <chunfeng.yun@mediatek.com> - 2017-08-30 05:40 +0200

#1722267 — [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file

FromChunfeng Yun <chunfeng.yun@mediatek.com>
Date2017-08-29 11:30 +0200
Subject[PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file
Message-ID<ujL0m-PP-11@gated-at.bofh.it>
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 <chunfeng.yun@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
---
 .../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",
+	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
-- 
1.7.9.5

[toc] | [next] | [standalone]


#1722294 — Re: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2017-08-29 12:10 +0200
SubjectRe: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file
Message-ID<ujLD4-1hQ-15@gated-at.bofh.it>
In reply to#1722267
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 <chunfeng.yun@mediatek.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
>   .../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 <>.

> +	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

[toc] | [prev] | [next] | [standalone]


#1723006 — Re: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file

FromChunfeng Yun <chunfeng.yun@mediatek.com>
Date2017-08-30 05:40 +0200
SubjectRe: [PATCH RESEND v2 3/3] dt-bindings: mt8173-mtu3: add generic compatible and rename file
Message-ID<uk21b-35e-5@gated-at.bofh.it>
In reply to#1722294
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 <chunfeng.yun@mediatek.com>
> > Acked-by: Rob Herring <robh@kernel.org>
> > ---
> >   .../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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web