Skip to content

Commit 358df00

Browse files
Sukrut Bellarybebarino
authored andcommitted
dt-bindings: clock: ti: add ti,autoidle.yaml reference
ti,divider-clock uses properties from ti,autoidle. As we are converting autoidle binding to ti,autoidle.yaml, fix the reference here. Signed-off-by: Sukrut Bellary <sbellary@baylibre.com> Link: https://lore.kernel.org/r/20250516081612.767559-4-sbellary@baylibre.com Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a7953b6 commit 358df00

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

Documentation/devicetree/bindings/clock/ti/ti,divider-clock.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ description: |
5555
is missing it is the same as supplying a zero shift.
5656
5757
This binding can also optionally provide support to the hardware autoidle
58-
feature, see [1].
58+
feature.
5959
60-
[1] Documentation/devicetree/bindings/clock/ti/autoidle.txt
60+
allOf:
61+
- $ref: ti,autoidle.yaml#
6162

6263
properties:
6364
compatible:
@@ -97,7 +98,6 @@ properties:
9798
minimum: 1
9899
default: 1
99100

100-
101101
ti,max-div:
102102
$ref: /schemas/types.yaml#/definitions/uint32
103103
description:
@@ -116,20 +116,6 @@ properties:
116116
valid divisor programming must be a power of two,
117117
only valid if ti,dividers is not defined.
118118

119-
ti,autoidle-shift:
120-
$ref: /schemas/types.yaml#/definitions/uint32
121-
description:
122-
bit shift of the autoidle enable bit for the clock,
123-
see [1].
124-
maximum: 31
125-
default: 0
126-
127-
ti,invert-autoidle-bit:
128-
type: boolean
129-
description:
130-
autoidle is enabled by setting the bit to 0,
131-
see [1]
132-
133119
ti,set-rate-parent:
134120
type: boolean
135121
description:
@@ -156,7 +142,7 @@ required:
156142
- clocks
157143
- reg
158144

159-
additionalProperties: false
145+
unevaluatedProperties: false
160146

161147
examples:
162148
- |

0 commit comments

Comments
 (0)