Skip to content

Commit be02637

Browse files
author
Tero Kristo
committed
dt-bindings: clock: ti: add latching support to mux and divider clocks
Certain hardware configurations, like dra76x, have some of the clock registers partitioned in a funky manner that requires the clock control setup to be latched for PRCM to be notified of the change. This is accomplished with a separate control bit under the register. Add support for this clock latching support to divider and mux clocks. Signed-off-by: Tero Kristo <t-kristo@ti.com> Reviewed-by: Rob Herring <robh@kernel.org>
1 parent 7928b2c commit be02637

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎Documentation/devicetree/bindings/clock/ti/divider.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ Optional properties:
7575
- ti,invert-autoidle-bit : autoidle is enabled by setting the bit to 0,
7676
see [2]
7777
- ti,set-rate-parent : clk_set_rate is propagated to parent
78+
- ti,latch-bit : latch the divider value to HW, only needed if the register
79+
access requires this. As an example dra76x DPLL_GMAC H14 divider implements
80+
such behavior.
7881

7982
Examples:
8083
dpll_usb_m2_ck: dpll_usb_m2_ck@4a008190 {

‎Documentation/devicetree/bindings/clock/ti/mux.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ Optional properties:
4848
zero
4949
- ti,set-rate-parent : clk_set_rate is propagated to parent clock,
5050
not supported by the composite-mux-clock subtype
51+
- ti,latch-bit : latch the mux value to HW, only needed if the register
52+
access requires this. As an example, dra7x DPLL_GMAC H14 muxing
53+
implements such behavior.
5154

5255
Examples:
5356

0 commit comments

Comments
 (0)