diff mbox series

dt-bindings: phy: Add compatible for Mediatek MT8192

Message ID 20220217135620.10559-1-allen-kh.cheng@mediatek.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: phy: Add compatible for Mediatek MT8192 | expand

Commit Message

Allen-KH Cheng Feb. 17, 2022, 1:56 p.m. UTC
This commit adds dt-binding documentation of T-Phy for Mediatek MT8192 SoC
Platform.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

AngeloGioacchino Del Regno Feb. 17, 2022, 2:40 p.m. UTC | #1
Il 17/02/22 14:56, Allen-KH Cheng ha scritto:
> This commit adds dt-binding documentation of T-Phy for Mediatek MT8192 SoC
> Platform.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

> ---
>   Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> index d279ba222316..7b2e1bc119be 100644
> --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> @@ -81,6 +81,7 @@ properties:
>                 - mediatek,mt7629-tphy
>                 - mediatek,mt8183-tphy
>                 - mediatek,mt8186-tphy
> +              - mediatek,mt8192-tphy
>             - const: mediatek,generic-tphy-v2
>         - items:
>             - enum:
>
Nícolas F. R. A. Prado Feb. 23, 2022, 5:35 p.m. UTC | #2
Hi Allen,

thanks for the patch. Please see the comment below.

On Thu, Feb 17, 2022 at 09:56:20PM +0800, Allen-KH Cheng wrote:
> This commit adds dt-binding documentation of T-Phy for Mediatek MT8192 SoC
> Platform.

Commit messages should be in imperative [1]. I'd suggest the following message:

	Add MT8192 compatible to the Mediatek T-PHY dt-binding.

[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes

Also, the commit title would be better if it had the tag for the tphy file, like
this:

	dt-bindings: phy: mediatek,tphy: Add compatible for MT8192

Otherwise it's not clear that you're changing the T-PHY just from the title.

> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>

Other than that,

Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>

Thanks,
Nícolas

> ---
>  Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> index d279ba222316..7b2e1bc119be 100644
> --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> @@ -81,6 +81,7 @@ properties:
>                - mediatek,mt7629-tphy
>                - mediatek,mt8183-tphy
>                - mediatek,mt8186-tphy
> +              - mediatek,mt8192-tphy
>            - const: mediatek,generic-tphy-v2
>        - items:
>            - enum:
> -- 
> 2.18.0
> 
>
Allen-KH Cheng Feb. 24, 2022, 1:06 p.m. UTC | #3
On Wed, 2022-02-23 at 12:35 -0500, Nícolas F. R. A. Prado wrote:
> Hi Allen,
> 
> thanks for the patch. Please see the comment below.
> 
> On Thu, Feb 17, 2022 at 09:56:20PM +0800, Allen-KH Cheng wrote:
> > This commit adds dt-binding documentation of T-Phy for Mediatek
> > MT8192 SoC
> > Platform.
> 
> Commit messages should be in imperative [1]. I'd suggest the
> following message:
> 
> 	Add MT8192 compatible to the Mediatek T-PHY dt-binding.
> 
> [1] 
> https://urldefense.com/v3/__https://www.kernel.org/doc/html/latest/process/submitting-patches.html*describe-your-changes__;Iw!!CTRNKA9wMg0ARbw!ytrmGsQ_IVF_eZi5hXk1tym2Wn45bf6Y1c_AoeE8OsM1FGUkenxCB8Um_o7qhgoM_O038eXqb0T_pdTT6YqTE_Gg7w$
>  
> 
> Also, the commit title would be better if it had the tag for the tphy
> file, like
> this:
> 
> 	dt-bindings: phy: mediatek,tphy: Add compatible for MT8192
> 
> Otherwise it's not clear that you're changing the T-PHY just from the
> title.
> 
> > 
> > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> 
> Other than that,
> 
> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> 
> Thanks,
> Nícolas
> 
HI Nícolas,

Ok I will update commit for the comment. thanks. 

Allen

> > ---
> >  Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git
> > a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > index d279ba222316..7b2e1bc119be 100644
> > --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > @@ -81,6 +81,7 @@ properties:
> >                - mediatek,mt7629-tphy
> >                - mediatek,mt8183-tphy
> >                - mediatek,mt8186-tphy
> > +              - mediatek,mt8192-tphy
> >            - const: mediatek,generic-tphy-v2
> >        - items:
> >            - enum:
> > -- 
> > 2.18.0
> > 
> >
Chunfeng Yun (云春峰) Feb. 28, 2022, 8:25 a.m. UTC | #4
On Thu, 2022-02-24 at 21:06 +0800, allen-kh.cheng wrote:
> On Wed, 2022-02-23 at 12:35 -0500, Nícolas F. R. A. Prado wrote:
> > Hi Allen,
> > 
> > thanks for the patch. Please see the comment below.
> > 
> > On Thu, Feb 17, 2022 at 09:56:20PM +0800, Allen-KH Cheng wrote:
> > > This commit adds dt-binding documentation of T-Phy for Mediatek
> > > MT8192 SoC
> > > Platform.
> > 
> > Commit messages should be in imperative [1]. I'd suggest the
> > following message:
> > 
> > 	Add MT8192 compatible to the Mediatek T-PHY dt-binding.
> > 
> > [1] 
> > 
https://urldefense.com/v3/__https://www.kernel.org/doc/html/latest/process/submitting-patches.html*describe-your-changes__;Iw!!CTRNKA9wMg0ARbw!ytrmGsQ_IVF_eZi5hXk1tym2Wn45bf6Y1c_AoeE8OsM1FGUkenxCB8Um_o7qhgoM_O038eXqb0T_pdTT6YqTE_Gg7w$
> >  
> > 
> > Also, the commit title would be better if it had the tag for the
> > tphy
> > file, like
> > this:
> > 
> > 	dt-bindings: phy: mediatek,tphy: Add compatible for MT8192

Use prefix, "dt-bindings: phy: mediatek: tphy: " as other patches,
thanks

> > 
> > Otherwise it's not clear that you're changing the T-PHY just from
> > the
> > title.
> > 
> > > 
> > > Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> > 
> > Other than that,
> > 
> > Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> > 
> > Thanks,
> > Nícolas
> > 
> 
> HI Nícolas,
> 
> Ok I will update commit for the comment. thanks. 
> 
> Allen
> 
> > > ---
> > >  Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git
> > > a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > > b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > > index d279ba222316..7b2e1bc119be 100644
> > > --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > > +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
> > > @@ -81,6 +81,7 @@ properties:
> > >                - mediatek,mt7629-tphy
> > >                - mediatek,mt8183-tphy
> > >                - mediatek,mt8186-tphy
> > > +              - mediatek,mt8192-tphy
> > >            - const: mediatek,generic-tphy-v2
> > >        - items:
> > >            - enum:
> > > -- 
> > > 2.18.0
> > > 
> > > 
> 
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
index d279ba222316..7b2e1bc119be 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
@@ -81,6 +81,7 @@  properties:
               - mediatek,mt7629-tphy
               - mediatek,mt8183-tphy
               - mediatek,mt8186-tphy
+              - mediatek,mt8192-tphy
           - const: mediatek,generic-tphy-v2
       - items:
           - enum: