diff mbox series

[v3,9/9] dt-bindings: sp804: add support for Hisilicon sp804 timer

Message ID 20200918132237.3552-10-thunder.leizhen@huawei.com
State New
Headers show
Series clocksource: sp804: add support for Hisilicon sp804 timer | expand

Commit Message

Leizhen (ThunderTown) Sept. 18, 2020, 1:22 p.m. UTC
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(-)

-- 
1.8.3

Comments

Daniel Lezcano Sept. 19, 2020, 11:43 a.m. UTC | #1
On 18/09/2020 15:22, Zhen Lei wrote:
> Some Hisilicon SoCs, such as Hi1212, use the Hisilicon extended sp804

> timer.

> 

> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

> ---


I'm not able to apply this patch, the file does not exists.


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Leizhen (ThunderTown) Sept. 19, 2020, 12:36 p.m. UTC | #2
On 2020/9/19 19:43, Daniel Lezcano wrote:
> On 18/09/2020 15:22, Zhen Lei wrote:

>> Some Hisilicon SoCs, such as Hi1212, use the Hisilicon extended sp804

>> timer.

>>

>> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

>> ---

> 

> I'm not able to apply this patch, the file does not exists.


Hi Rob Herring:
  I will send you a new one, because I didn't notice that there was a
"select" property in arm,sp804.yaml.

> 

>
diff mbox series

Patch

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: