linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] clocksource: sp804: add support for Hisilicon sp804 timer
@ 2020-09-19 12:44 Zhen Lei
  2020-09-19 12:44 ` [PATCH 1/1] dt-bindings: " Zhen Lei
  0 siblings, 1 reply; 3+ messages in thread
From: Zhen Lei @ 2020-09-19 12:44 UTC (permalink / raw)
  To: devicetree, Daniel Lezcano, Thomas Gleixner, Haojian Zhuang,
	Andrew Morton, Russell King, Catalin Marinas, linux-arm-kernel,
	linux-kernel
  Cc: Zhen Lei, Libin, Kefeng Wang

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-23 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19 12:44 [PATCH 0/1] clocksource: sp804: add support for Hisilicon sp804 timer Zhen Lei
2020-09-19 12:44 ` [PATCH 1/1] dt-bindings: " Zhen Lei
2020-09-23 21:00   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).