linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: arm: samsung: Force clkoutN names to be unique in PMU
@ 2019-10-04 15:14 Krzysztof Kozlowski
  2019-10-04 15:14 ` [PATCH 2/3] dt-bindings: gpu: samsung-rotator: Fix indentation Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Krzysztof Kozlowski @ 2019-10-04 15:14 UTC (permalink / raw)
  To: Kukjin Kim, Krzysztof Kozlowski, Rob Herring, Mark Rutland,
	David Airlie, Daniel Vetter, Lee Jones, Greg Kroah-Hartman,
	Maciej Falkowski, Marek Szyprowski, linux-arm-kernel,
	linux-samsung-soc, devicetree, linux-kernel, dri-devel,
	linux-serial

The clkoutN names of clocks must be unique because they represent
unique inputs of clock multiplexer.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 Documentation/devicetree/bindings/arm/samsung/pmu.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.yaml b/Documentation/devicetree/bindings/arm/samsung/pmu.yaml
index 73b56fc5bf58..d8e03716f5d2 100644
--- a/Documentation/devicetree/bindings/arm/samsung/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/samsung/pmu.yaml
@@ -53,8 +53,10 @@ properties:
       List of clock names for particular CLKOUT mux inputs
     minItems: 1
     maxItems: 32
-    items:
-      pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$'
+    allOf:
+      - items:
+          pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$'
+      - uniqueItems: true
 
   clocks:
     minItems: 1
-- 
2.17.1


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

end of thread, other threads:[~2019-11-03 15:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 15:14 [PATCH 1/3] dt-bindings: arm: samsung: Force clkoutN names to be unique in PMU Krzysztof Kozlowski
2019-10-04 15:14 ` [PATCH 2/3] dt-bindings: gpu: samsung-rotator: Fix indentation Krzysztof Kozlowski
2019-10-15 19:26   ` Rob Herring
2019-10-04 15:14 ` [PATCH 3/3] dt-bindings: serial: Convert Samsung UART bindings to json-schema Krzysztof Kozlowski
2019-10-15 19:40   ` Rob Herring
2019-11-03 15:56     ` Krzysztof Kozlowski
2019-10-08 12:38 ` [PATCH 1/3] dt-bindings: arm: samsung: Force clkoutN names to be unique in PMU Rob Herring
2019-10-08 12:50   ` Krzysztof Kozlowski
2019-10-08 14:05     ` Rob Herring
2019-10-08 14:17       ` Rob Herring
2019-10-08 14:29         ` Krzysztof Kozlowski
2019-10-08 14:38           ` Rob Herring
2019-10-08 15:04             ` Krzysztof Kozlowski
2019-10-08 15:10               ` Krzysztof Kozlowski

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).