All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chanho Park" <chanho61.park@samsung.com>
To: "'Krzysztof Kozlowski'" <krzysztof.kozlowski@linaro.org>,
	"'Krzysztof Kozlowski'" <krzysztof.kozlowski+dt@linaro.org>,
	"'Rob Herring'" <robh+dt@kernel.org>
Cc: "'Alim Akhtar'" <alim.akhtar@samsung.com>,
	<devicetree@vger.kernel.org>, <linux-samsung-soc@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Subject: RE: [PATCH] dt-bindings: phy: samsung,ufs-phy: match clock items
Date: Thu, 7 Jul 2022 15:23:34 +0900	[thread overview]
Message-ID: <013601d891ca$160b4bd0$4221e370$@samsung.com> (raw)
In-Reply-To: <f8107455-7bf0-2bc7-2fcd-4d0bb65ffd58@linaro.org>

> > Below error is detected from dtbs_check. exynos7-ufs-phy is required
> > symbol clocks otherwise only PLL ref clock is required.
> >
> > clock-names: ['ref_clk'] is too short
> 
> Thank you for your patch. There is something to discuss/improve.

Thanks for your review :) 

> 
> >
> > Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Suggested-by: Alim Akhtar <alim.akhtar@samsung.com>
> > Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> > ---
> >  .../bindings/phy/samsung,ufs-phy.yaml         | 47 +++++++++++++++----
> >  1 file changed, 37 insertions(+), 10 deletions(-)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > index 8da99461e817..3b04f31d9f21 100644
> > --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > @@ -27,18 +27,12 @@ properties:
> >        - const: phy-pma
> >
> >    clocks:
> > -    items:
> > -      - description: PLL reference clock
> > -      - description: symbol clock for input symbol ( rx0-ch0 symbol
> clock)
> > -      - description: symbol clock for input symbol ( rx1-ch1 symbol
> clock)
> > -      - description: symbol clock for output symbol ( tx0 symbol clock)
> > +    minItems: 1
> > +    maxItems: 4
> >
> >    clock-names:
> > -    items:
> > -      - const: ref_clk
> > -      - const: rx1_symbol_clk
> > -      - const: rx0_symbol_clk
> > -      - const: tx0_symbol_clk
> > +    minItems: 1
> > +    maxItems: 4
> >
> >    samsung,pmu-syscon:
> >      $ref: '/schemas/types.yaml#/definitions/phandle-array'
> > @@ -53,6 +47,39 @@ properties:
> >        It can be phandle/offset pair. The second cell which can represent
> an
> >        offset is optional.
> >
> > +allOf:
> 
> The allOf block should go after "required" block.

I wrote the block after required block but I changed the order by referring
https://elixir.bootlin.com/linux/v5.18-rc2/source/Documentation/devicetree/bindings/clock/samsung,exynos7885-clock.yaml#L53
I'll correct the order.

> 
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            const: samsung,exynos7-ufs-phy
> > +
> > +    then:
> > +      properties:
> > +        clocks:
> > +          items:
> > +            - description: PLL reference clock
> > +            - description: symbol clock for input symbol ( rx0-ch0 symbol
> clock)
> > +            - description: symbol clock for input symbol ( rx1-ch1 symbol
> clock)
> > +            - description: symbol clock for output symbol ( tx0
> > + symbol clock)
> 
> While moving drop space after '('.

I'll drop the spaces.

Best Regards,
Chanho Park


WARNING: multiple messages have this Message-ID (diff)
From: "Chanho Park" <chanho61.park@samsung.com>
To: "'Krzysztof Kozlowski'" <krzysztof.kozlowski@linaro.org>,
	"'Krzysztof Kozlowski'" <krzysztof.kozlowski+dt@linaro.org>,
	"'Rob Herring'" <robh+dt@kernel.org>
Cc: "'Alim Akhtar'" <alim.akhtar@samsung.com>,
	<devicetree@vger.kernel.org>, <linux-samsung-soc@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Subject: RE: [PATCH] dt-bindings: phy: samsung,ufs-phy: match clock items
Date: Thu, 7 Jul 2022 15:23:34 +0900	[thread overview]
Message-ID: <013601d891ca$160b4bd0$4221e370$@samsung.com> (raw)
In-Reply-To: <f8107455-7bf0-2bc7-2fcd-4d0bb65ffd58@linaro.org>

> > Below error is detected from dtbs_check. exynos7-ufs-phy is required
> > symbol clocks otherwise only PLL ref clock is required.
> >
> > clock-names: ['ref_clk'] is too short
> 
> Thank you for your patch. There is something to discuss/improve.

Thanks for your review :) 

> 
> >
> > Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > Suggested-by: Alim Akhtar <alim.akhtar@samsung.com>
> > Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> > ---
> >  .../bindings/phy/samsung,ufs-phy.yaml         | 47 +++++++++++++++----
> >  1 file changed, 37 insertions(+), 10 deletions(-)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > index 8da99461e817..3b04f31d9f21 100644
> > --- a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
> > @@ -27,18 +27,12 @@ properties:
> >        - const: phy-pma
> >
> >    clocks:
> > -    items:
> > -      - description: PLL reference clock
> > -      - description: symbol clock for input symbol ( rx0-ch0 symbol
> clock)
> > -      - description: symbol clock for input symbol ( rx1-ch1 symbol
> clock)
> > -      - description: symbol clock for output symbol ( tx0 symbol clock)
> > +    minItems: 1
> > +    maxItems: 4
> >
> >    clock-names:
> > -    items:
> > -      - const: ref_clk
> > -      - const: rx1_symbol_clk
> > -      - const: rx0_symbol_clk
> > -      - const: tx0_symbol_clk
> > +    minItems: 1
> > +    maxItems: 4
> >
> >    samsung,pmu-syscon:
> >      $ref: '/schemas/types.yaml#/definitions/phandle-array'
> > @@ -53,6 +47,39 @@ properties:
> >        It can be phandle/offset pair. The second cell which can represent
> an
> >        offset is optional.
> >
> > +allOf:
> 
> The allOf block should go after "required" block.

I wrote the block after required block but I changed the order by referring
https://elixir.bootlin.com/linux/v5.18-rc2/source/Documentation/devicetree/bindings/clock/samsung,exynos7885-clock.yaml#L53
I'll correct the order.

> 
> > +  - if:
> > +      properties:
> > +        compatible:
> > +          contains:
> > +            const: samsung,exynos7-ufs-phy
> > +
> > +    then:
> > +      properties:
> > +        clocks:
> > +          items:
> > +            - description: PLL reference clock
> > +            - description: symbol clock for input symbol ( rx0-ch0 symbol
> clock)
> > +            - description: symbol clock for input symbol ( rx1-ch1 symbol
> clock)
> > +            - description: symbol clock for output symbol ( tx0
> > + symbol clock)
> 
> While moving drop space after '('.

I'll drop the spaces.

Best Regards,
Chanho Park


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-07-07  6:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20220707005844epcas2p474d0ac5ca2d11bb37bc6353b9e7d50bc@epcas2p4.samsung.com>
2022-07-07  0:55 ` [PATCH] dt-bindings: phy: samsung,ufs-phy: match clock items Chanho Park
2022-07-07  0:55   ` Chanho Park
2022-07-07  6:19   ` Krzysztof Kozlowski
2022-07-07  6:19     ` Krzysztof Kozlowski
2022-07-07  6:23     ` Chanho Park [this message]
2022-07-07  6:23       ` Chanho Park
2022-07-07  6:24       ` Krzysztof Kozlowski
2022-07-07  6:24         ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='013601d891ca$160b4bd0$4221e370$@samsung.com' \
    --to=chanho61.park@samsung.com \
    --cc=alim.akhtar@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.