All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] add mipi_csi_xx gate clocks for SC9863A
@ 2020-03-30  7:14 Chunyan Zhang
  2020-03-30  7:14 ` [PATCH 1/4] clk: sprd: check its parent status before reading gate clock Chunyan Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Chunyan Zhang @ 2020-03-30  7:14 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette, Rob Herring, Mark Rutland
  Cc: linux-clk, devicetree, linux-kernel, Orson Zhai, Baolin Wang,
	Chunyan Zhang, Chunyan Zhang

From: Chunyan Zhang <chunyan.zhang@unisoc.com>

mipi_csi_xx clocks are used by camera sensors. These clocks cannot be
accessed (even read) if their parent gate clock is disabled. So this
patchset also add a check to parent clocks when reading these gate
clocks which marked with the specific flag (SPRD_GATE_NON_AON).

Chunyan Zhang (4):
  clk: sprd: check its parent status before reading gate clock
  dt-bindings: clk: sprd: add mipi_csi_xx clocks for SC9863A
  clk: sprd: add dt-bindings include for mipi_csi_xx clocks
  clk: sprd: add mipi_csi_xx gate clocks

 .../bindings/clock/sprd,sc9863a-clk.yaml      |  1 +
 drivers/clk/sprd/gate.c                       |  8 +++++
 drivers/clk/sprd/gate.h                       |  9 ++++++
 drivers/clk/sprd/sc9863a-clk.c                | 32 +++++++++++++++++++
 include/dt-bindings/clock/sprd,sc9863a-clk.h  |  5 +++
 5 files changed, 55 insertions(+)

-- 
2.20.1


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

end of thread, other threads:[~2020-04-10 17:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-30  7:14 [PATCH 0/4] add mipi_csi_xx gate clocks for SC9863A Chunyan Zhang
2020-03-30  7:14 ` [PATCH 1/4] clk: sprd: check its parent status before reading gate clock Chunyan Zhang
2020-03-30  7:31   ` Chunyan Zhang
2020-03-30  7:14 ` [PATCH 2/4] dt-bindings: clk: sprd: add mipi_csi_xx clocks for SC9863A Chunyan Zhang
2020-04-10 17:11   ` Rob Herring
2020-03-30  7:14 ` [PATCH 3/4] clk: sprd: add dt-bindings include for mipi_csi_xx clocks Chunyan Zhang
2020-04-10 17:11   ` Rob Herring
2020-03-30  7:14 ` [PATCH 4/4] clk: sprd: add mipi_csi_xx gate clocks Chunyan Zhang

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.