lkml.org 
[lkml]   [2022]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 1/3] dt-bindings: timer: Rearrange compatible entries of arch timer
Date
Compatibles entries of arch timer includes few extra items and enum
pairs which are redundant and can be simplified in a more clear, concise
and readable way. Do it.

Signed-off-by: Kuldeep Singh <singh.kuldeep87k@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
.../devicetree/bindings/timer/arm,arch_timer.yaml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
index df8ce87fd54b..ba2910f0a7b2 100644
--- a/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
+++ b/Documentation/devicetree/bindings/timer/arm,arch_timer.yaml
@@ -21,17 +21,13 @@ description: |+
properties:
compatible:
oneOf:
+ - enum:
+ - arm,armv7-timer
+ - arm,armv8-timer
- items:
- enum:
- arm,cortex-a15-timer
- - enum:
- - arm,armv7-timer
- - items:
- - enum:
- - arm,armv7-timer
- - items:
- - enum:
- - arm,armv8-timer
+ - const: arm,armv7-timer

interrupts:
minItems: 1
--
2.25.1
\
 
 \ /
  Last update: 2022-03-17 20:16    [W:0.070 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site