mbox series

[v2,0/4] add mipi_csi_xx gate clocks for SC9863A

Message ID 20200414033325.26536-1-zhang.lyra@gmail.com (mailing list archive)
Headers show
Series add mipi_csi_xx gate clocks for SC9863A | expand

Message

Chunyan Zhang April 14, 2020, 3:33 a.m. UTC
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).

changes from v1:
* added Rob's acked-by;

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                       |  7 ++++
 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, 54 insertions(+)

Comments

Chunyan Zhang April 27, 2020, 2:36 a.m. UTC | #1
Hi Stephen,

On Tue, 14 Apr 2020 at 11:33, <zhang.lyra@gmail.com> wrote:
>
> 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).
>
> changes from v1:
> * added Rob's acked-by;
>
> 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
>

Do you have comments or could you please take this patchset to your tree?

Thanks,
Chunyan

>  .../bindings/clock/sprd,sc9863a-clk.yaml      |  1 +
>  drivers/clk/sprd/gate.c                       |  7 ++++
>  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, 54 insertions(+)
>
> --
> 2.20.1
>