]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: clk-rcg2: Add support for duty-cycle for RCG
authorTaniya Das <tdas@codeaurora.org>
Sun, 25 Apr 2021 07:08:22 +0000 (12:38 +0530)
committerStephen Boyd <sboyd@kernel.org>
Wed, 26 May 2021 03:36:21 +0000 (20:36 -0700)
commit117a558f2efe486af1a20968cd3b699d2a483fe8
treef17b731f339a3ccb3ec92e947efdb0a74948d2ac
parent78f0a5f86683713bf30eae653c023ab078a37264
clk: qcom: clk-rcg2: Add support for duty-cycle for RCG

The root clock generators with MND divider has the capability to support
change in duty-cycle by updating the 'D'. Add the clock ops which would
check all the boundary conditions and enable setting the desired duty-cycle
as per the consumer.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lore.kernel.org/r/1619334502-9880-2-git-send-email-tdas@codeaurora.org
[sboyd@kernel.org: Remove _val everywhere]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-rcg2.c