devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p
@ 2023-04-19 12:09 Bartosz Golaszewski
  2023-04-21 19:48 ` Rob Herring
  2023-05-08 10:22 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-04-19 12:09 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Vinod Koul,
	Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, linux-scsi,
	Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

maxItems is already globally set to 3. To make the binding easier to read
and remove redundancy, set minItems to 3 for sa8775p as this platform
requires exactly three clocks.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
v1 -> v2:
- rephrased the commit message as this is not a fix but rather
  a readability improvement

 .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
index 94c0fab065a8..a1897a7606df 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
@@ -78,9 +78,9 @@ allOf:
     then:
       properties:
         clocks:
-          maxItems: 3
+          minItems: 3
         clock-names:
-          maxItems: 3
+          minItems: 3
     else:
       properties:
         clocks:
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p
  2023-04-19 12:09 [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p Bartosz Golaszewski
@ 2023-04-21 19:48 ` Rob Herring
  2023-05-08 10:22 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-04-21 19:48 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Konrad Dybcio, Rob Herring, linux-kernel, linux-phy, Andy Gross,
	Bjorn Andersson, Vinod Koul, Kishon Vijay Abraham I,
	Krzysztof Kozlowski, linux-arm-msm, devicetree,
	Bartosz Golaszewski, linux-scsi


On Wed, 19 Apr 2023 14:09:14 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> maxItems is already globally set to 3. To make the binding easier to read
> and remove redundancy, set minItems to 3 for sa8775p as this platform
> requires exactly three clocks.
> 
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> ---
> v1 -> v2:
> - rephrased the commit message as this is not a fix but rather
>   a readability improvement
> 
>  .../devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml    | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p
  2023-04-19 12:09 [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p Bartosz Golaszewski
  2023-04-21 19:48 ` Rob Herring
@ 2023-05-08 10:22 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2023-05-08 10:22 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, linux-phy, devicetree, linux-kernel, linux-scsi,
	Bartosz Golaszewski

On 19-04-23, 14:09, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> maxItems is already globally set to 3. To make the binding easier to read
> and remove redundancy, set minItems to 3 for sa8775p as this platform
> requires exactly three clocks.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-08 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 12:09 [PATCH v2] dt-bindings: phy: qmp-ufs: tweak clock and clock-names for sa8775p Bartosz Golaszewski
2023-04-21 19:48 ` Rob Herring
2023-05-08 10:22 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).