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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch is one of the series:
https://patchwork.ozlabs.org/project/devicetree-bindings/cover/20200918132237.3552-1-thunder.leizhen@xxxxxxxxxx/

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@xxxxxxxxxx/

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





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux