Skip to content

Commit d95b7c4

Browse files
Alain Volmatfabiobaltieri
authored andcommitted
dts: bindings: stm32: add div-q and div-r on stm32mp13 plls
Depending on the PLL, all DIV-P / DIV-Q and DIV-R are available on STM32MP13 PLLs. Adjust valid range in order to be able to set for all 4 PLLs. Clarify DT properties description. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 933446f commit d95b7c4

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

dts/bindings/clock/st,stm32mp13-pll-clock.yaml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ description: |
2828
than 1000 MHz or program the mpuss_ck mux to use the MPUDIV
2929
(refer to the stm32mp13 reference manual for details)
3030
31+
div-m (aka DIVM1 + 1), div-p (aka DIVP + 1), div-q (aka DIVQ + 1),
32+
div-r (aka DIVR + 1) have identical valid ranges for all 4 PLLs.
33+
mul-n (aka DIVN + 1) valid range depends on the PLL
34+
PLL1: 31 - 125
35+
PLL2: 25 - 100
36+
PLL3: 25 - 200
37+
PLL4: 25 - 200
38+
3139
compatible: "st,stm32mp13-pll-clock"
3240

3341
include: [clock-controller.yaml, base.yaml]
@@ -44,21 +52,32 @@ properties:
4452
type: int
4553
required: true
4654
description: |
47-
Prescaler for PLLx
48-
input clock
55+
PLLx division factor (aka DIVM1 + 1) of the input clock divider
4956
Valid range: 1 - 64
5057
5158
mul-n:
5259
type: int
5360
required: true
5461
description: |
55-
PLLx multiplication factor for VCO
56-
Valid range: 31 - 125
62+
PLLx multiplication factor (aka DIVN + 1) for VCO
63+
Valid range: 25 - 200
5764
5865
div-p:
5966
type: int
6067
description: |
61-
PLLx DIVP division factor
68+
PLLx_P division factor (aka DIVP + 1)
69+
Valid range: 1 - 128
70+
71+
div-q:
72+
type: int
73+
description: |
74+
PLLx_Q division factor (aka DIVQ + 1)
75+
Valid range: 1 - 128
76+
77+
div-r:
78+
type: int
79+
description: |
80+
PLLx_R division factor (aka DIVR + 1)
6281
Valid range: 1 - 128
6382
6483
frac-v:

0 commit comments

Comments
 (0)