lkml.org 
[lkml]   [2020]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 9/9] dt-bindings: sp804: add support for Hisilicon sp804 timer
Date
Some Hisilicon SoCs, such as Hi1212, use the Hisilicon extended sp804
timer.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
Documentation/devicetree/bindings/timer/arm,sp804.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/timer/arm,sp804.yaml b/Documentation/devicetree/bindings/timer/arm,sp804.yaml
index ba0945cf799ee0b..06dfcbcc7b24255 100644
--- a/Documentation/devicetree/bindings/timer/arm,sp804.yaml
+++ b/Documentation/devicetree/bindings/timer/arm,sp804.yaml
@@ -15,6 +15,9 @@ description: |+
free-running mode. The input clock is shared, but can be gated and prescaled
independently for each timer.

+ There is a viriant of Arm SP804: Hisilicon 64-bit SP804 timer. Some Hisilicon
+ SoCs, such as Hi1212, should use the dedicated compatible: "hisilicon,sp804".
+
# Need a custom select here or 'arm,primecell' will match on lots of nodes
select:
properties:
@@ -27,7 +30,9 @@ select:
properties:
compatible:
items:
- - const: arm,sp804
+ - enum:
+ - arm,sp804
+ - hisilicon,sp804
- const: arm,primecell

interrupts:
--
1.8.3

\
 
 \ /
  Last update: 2020-09-18 15:24    [W:0.156 / U:2.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site