Skip to content

Commit d62f45b

Browse files
tmaimonbebarino
authored andcommitted
dt-bindings: reset: npcm: add clock properties
This commit adds a 25MHz reference clock and clock-cell properties to the NPCM reset document. The addition is necessitated by the integration of the NPCM8xx clock auxiliary bus device into the NPCM reset driver. The inclusion of the NPCM8xx clock properties in the reset document is crucial as the reset block also serves as a clock provider for the NPCM8xx clock. This enhancement is intended to facilitate the use of the NPCM8xx clock driver. Signed-off-by: Tomer Maimon <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 9852d85 commit d62f45b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/devicetree/bindings/reset/nuvoton,npcm750-reset.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ properties:
2121
'#reset-cells':
2222
const: 2
2323

24+
'#clock-cells':
25+
const: 1
26+
27+
clocks:
28+
items:
29+
- description: specify external 25MHz reference clock.
30+
2431
nuvoton,sysgcr:
2532
$ref: /schemas/types.yaml#/definitions/phandle
2633
description: a phandle to access GCR registers.
@@ -39,6 +46,17 @@ required:
3946
- '#reset-cells'
4047
- nuvoton,sysgcr
4148

49+
if:
50+
properties:
51+
compatible:
52+
contains:
53+
enum:
54+
- nuvoton,npcm845-reset
55+
then:
56+
required:
57+
- '#clock-cells'
58+
- clocks
59+
4260
additionalProperties: false
4361

4462
examples:

0 commit comments

Comments
 (0)