mbox series

[0/1] clocksource: sp804: add support for Hisilicon sp804 timer

Message ID 20200919124412.4135-1-thunder.leizhen@huawei.com
Headers show
Series clocksource: sp804: add support for Hisilicon sp804 timer | expand

Message

Leizhen (ThunderTown) Sept. 19, 2020, 12:44 p.m. UTC
This patch is one of the series:
https://patchwork.ozlabs.org/project/devicetree-bindings/cover/20200918132237.3552-1-thunder.leizhen@huawei.com/

All are applied by Daniel Lezcano, except this one.

This patch is come from:
https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20200918132237.3552-10-thunder.leizhen@huawei.com/

But one modification was added:
1. "arm,sp804.yaml" contains "select" property, it requires compatible must
   contain "arm,sp804", so the nodes with compatible "hisilicon,sp804" are
   skipped and are not checked by "arm,sp804.yaml". Add "oneOf" into "select"
   to require one of them.

 select:
   properties:
     compatible:
       contains:
-        const: arm,sp804
+        oneOf:
+          - const: arm,sp804
+          - const: hisilicon,sp804
   required:
     - compatible


Zhen Lei (1):
  dt-bindings: sp804: add support for Hisilicon sp804 timer

 Documentation/devicetree/bindings/timer/arm,sp804.yaml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
1.8.3