Skip to content

Re-introduce parent clock-rate set for fixed-factor clock

Aradhya Bhatia linux-clk linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: clock: fixed-factor: Add TI AM62 SoC OLDI clockDocumentation/devicetree/bindings/clock/fixed-factor-clock.yaml+1 -07 replies
2/2clk: fixed-factor: Re-introduce support for clocks to set parent clock-ratedrivers/clk/clk-fixed-factor.c+10 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Re-introduce parent clock-rate set for fixed-factor clock

Hi all,

The support for configuring CLK_SET_RATE_PARENT flag for a few specific clocks was only used by the legacy Allwinner A10 sunxi clock, and the reason its compatible was dropped was that the code supporting the legacy sunxi platforms was removed (as the below-mentioned patch set highlights) and no other fixed factor clock needed to do the same.

https://lore.kernel.org/lkml/[email protected]/T/

The current patch series adds "ti,k3-am62-oldi-clk-div" (TI's display subsystem (DSS) clock for the 1st videoport (vp0) on the AM625 SoC) as a fixed factor clock and further, it also re-introduces the same support to set the CLK_SET_RATE_PARENT flag.

Based on the clock-set request from DSS (equivalent to pixel frequency), this clock asks its parent for a serial clock (with 7 times the pixel frequrncy), which is required for the generation of serial LVDS signals. This clock thus requires the CLK_SET_RATE_PARENT flag to be set, in order to propagate the set clock-rate request to its parent clock.

Aradhya Bhatia (2):
dt-bindings: clock: fixed-factor: Add TI AM62 SoC OLDI clock
clk: fixed-factor: Re-introduce support for clocks to set parent
clock-rate

 .../devicetree/bindings/clock/fixed-factor-clock.yaml |  1 +
 drivers/clk/clk-fixed-factor.c                        | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.0