Re: [RESEND PATCH v2] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

From: Rob Herring
Date: Thu Oct 27 2016 - 10:44:02 EST


On Fri, Oct 21, 2016 at 09:37:10AM +0800, Jiancheng Xue wrote:
> Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset
> Generator) module generates clock and reset signals used
> by other module blocks on SoC.
>
> Signed-off-by: Jiancheng Xue <xuejiancheng@xxxxxxxxxxxxx>
> ---
> change log
> v2:
> - Fixed compiling error when compiled as a module.
> - Fixed issues pointed by Stephen Boyd.
> - Added prefix HISTB for clock index macro definitions.

What Stephen asked for is send this and the Hi3516CV300 series as one
series since there is a dependency.

>
> .../clock/{hi3519-crg.txt => hisi-crg.txt} | 11 +-

In any case, for the binding:

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/clk/hisilicon/Kconfig | 8 +
> drivers/clk/hisilicon/Makefile | 1 +
> drivers/clk/hisilicon/crg-hi3798cv200.c | 305 +++++++++++++++++++++
> drivers/clk/hisilicon/crg.h | 34 +++
> include/dt-bindings/clock/histb-clock.h | 64 +++++
> 6 files changed, 419 insertions(+), 4 deletions(-)
> rename Documentation/devicetree/bindings/clock/{hi3519-crg.txt => hisi-crg.txt} (82%)
> create mode 100644 drivers/clk/hisilicon/crg-hi3798cv200.c
> create mode 100644 drivers/clk/hisilicon/crg.h
> create mode 100644 include/dt-bindings/clock/histb-clock.h