All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] clk: qcom: MISC RCG changes for upcoming targets
@ 2017-10-31  7:19 Amit Nischal
  2017-10-31  7:19 ` [PATCH 1/2] clk: qcom: clear hardware clock control bit of RCG Amit Nischal
  2017-10-31  7:19 ` [PATCH 2/2] clk: qcom: Modify RCG shared ops to support freq_tbl without XO entry Amit Nischal
  0 siblings, 2 replies; 5+ messages in thread
From: Amit Nischal @ 2017-10-31  7:19 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: Andy Gross, David Brown, Rajendra Nayak, Odelu Kukatla,
	linux-arm-msm, linux-soc, linux-clk, linux-kernel, Amit Nischal

This patch series modifies clk_rcg2_shared_ops to support clock controller
drivers used in future chipsets and also clear hardware clock control bit
of RCGs where HW clock control bit is set in order to control those root
clocks by software.

Amit Nischal (2):
  clk: qcom: clear hardware clock control bit of RCG
  clk: qcom: Modify RCG shared ops to support freq_tbl without XO entry

 drivers/clk/qcom/clk-rcg2.c | 84 +++++++++++++++++++++++++++++++++++++++------
 1 file changed, 73 insertions(+), 11 deletions(-)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 0/2] clk: qcom: MISC RCG changes for SDM845
@ 2017-12-15  9:04 Amit Nischal
  2017-12-15  9:04 ` [PATCH 1/2] clk: qcom: Clear hardware clock control bit of RCG Amit Nischal
  0 siblings, 1 reply; 5+ messages in thread
From: Amit Nischal @ 2017-12-15  9:04 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: Andy Gross, David Brown, Rajendra Nayak, Odelu Kukatla,
	linux-arm-msm, linux-soc, linux-clk, linux-kernel, Amit Nischal

This patch series does the miscellaneous changes for RCGs
used in SDM845.

1. Clear hardware clock control bit of RCGs where HW clock
   control bit is set by default so that software can control
   those root clocks.
2. Introduces clk_rcg2_shared_ops to support clock controller
   drivers for SDM845. With new shared ops, RCGs with shared
   branches will be configured to a safe source in disable
   path and actual RCG update configuration will be done in
   enable path instead of doing config update in set_rate.
   In set_rate(), just cache the rate instead of doing actual
   configuration update. Also each RCG in clock controller
   driver will have their own safe configuration frequency
   table to switch to safe frequency.

Amit Nischal (2):
  clk: qcom: Clear hardware clock control bit of RCG
  clk: qcom: Configure the RCGs to a safe source as needed

 drivers/clk/qcom/clk-rcg.h  |   8 ++-
 drivers/clk/qcom/clk-rcg2.c | 154 +++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 159 insertions(+), 3 deletions(-)

--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-15  9:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31  7:19 [PATCH 0/2] clk: qcom: MISC RCG changes for upcoming targets Amit Nischal
2017-10-31  7:19 ` [PATCH 1/2] clk: qcom: clear hardware clock control bit of RCG Amit Nischal
2017-10-31  7:19 ` [PATCH 2/2] clk: qcom: Modify RCG shared ops to support freq_tbl without XO entry Amit Nischal
2017-11-02  6:46   ` Stephen Boyd
2017-12-15  9:04 [PATCH 0/2] clk: qcom: MISC RCG changes for SDM845 Amit Nischal
2017-12-15  9:04 ` [PATCH 1/2] clk: qcom: Clear hardware clock control bit of RCG Amit Nischal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.