public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
@ 2023-08-25 13:55 Krzysztof Kozlowski
  2023-08-25 13:55 ` [PATCH 2/2] dt-bindings: mmc: sdhci-msm: allow flexible order of optional clocks Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 13:55 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bhupesh Sharma, linux-mmc, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, stable

In the TXT binding before conversion, the "xo" clock was listed as
optional.  Conversion kept it optional in "clock-names", but not in
"clocks".  This fixes dbts_check warnings like:

  qcom-sdx65-mtp.dtb: mmc@8804000: clocks: [[13, 59], [13, 58]] is too short

Cc: <stable@vger.kernel.org>
Fixes: a45537723f4b ("dt-bindings: mmc: sdhci-msm: Convert bindings to yaml")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
index 80141eb7fc6b..10f34aa8ba8a 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
@@ -69,7 +69,7 @@ properties:
     maxItems: 4
 
   clocks:
-    minItems: 3
+    minItems: 2
     items:
       - description: Main peripheral bus clock, PCLK/HCLK - AHB Bus clock
       - description: SDC MMC clock, MCLK
-- 
2.34.1


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

end of thread, other threads:[~2023-09-14 13:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25 13:55 [PATCH 1/2] dt-bindings: mmc: sdhci-msm: correct minimum number of clocks Krzysztof Kozlowski
2023-08-25 13:55 ` [PATCH 2/2] dt-bindings: mmc: sdhci-msm: allow flexible order of optional clocks Krzysztof Kozlowski
2023-08-25 15:29   ` Conor Dooley
2023-09-14 13:02   ` Ulf Hansson
2023-08-25 15:21 ` [PATCH 1/2] dt-bindings: mmc: sdhci-msm: correct minimum number of clocks Conor Dooley
2023-09-14 13:02 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox