Skip to content

Commit dac7d7a

Browse files
robherringbebarino
authored andcommitted
dt-bindings: arm: hisilicon,cpuctrl: Merge "hisilicon,hix5hd2-clock" into parent binding
The "hisilicon,hix5hd2-clock" is simple enough to just add it into its parent node binding, "hisilicon,cpuctrl". This fixes a warning that "hisilicon,hix5hd2-clock" is missing a schema. Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 06c2afb commit dac7d7a

File tree

2 files changed

+20
-30
lines changed

2 files changed

+20
-30
lines changed

Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,26 @@ properties:
2929

3030
ranges: true
3131

32+
patternProperties:
33+
"^clock@[0-9a-f]+$":
34+
type: object
35+
additionalProperties: false
36+
37+
properties:
38+
compatible:
39+
const: hisilicon,hix5hd2-clock
40+
41+
reg:
42+
maxItems: 1
43+
44+
"#clock-cells":
45+
const: 1
46+
47+
required:
48+
- compatible
49+
- reg
50+
- "#clock-cells"
51+
3252
required:
3353
- compatible
3454
- reg

Documentation/devicetree/bindings/clock/hix5hd2-clock.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)