clk: lmk04832: add support for digital delay
authorLiam Beguin <lvb@xiphos.com>
Fri, 23 Apr 2021 00:40:56 +0000 (20:40 -0400)
committerStephen Boyd <sboyd@kernel.org>
Mon, 28 Jun 2021 01:02:50 +0000 (18:02 -0700)
commit6181baa177d417211ea28de793524ec3d13b256d
treef706dc3bce9565f520da7996c2b1b7da70b296a8
parent3bc61cfd6f4a57de32132075b15b0ac8987ced1d
clk: lmk04832: add support for digital delay

The digital delay allows outputs to be delayed from 8 to 1023 VCO
cycles. The delay step can be as small as half the period of the clock
distribution path. For example, a 3.2-GHz VCO frequency results in
156.25-ps steps.  The digital delay value takes effect on the clock
output phase after a SYNC event.

This is required to support JESD204B subclass 1.

Signed-off-by: Liam Beguin <lvb@xiphos.com>
Link: https://lore.kernel.org/r/20210423004057.283926-3-liambeguin@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-lmk04832.c