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

Zhen Lei thunder.leizhen at huawei.com
Sat Sep 19 08:44:11 EDT 2020


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





More information about the linux-arm-kernel mailing list