From: Xing Zheng Date: Tue, 1 Mar 2016 08:21:30 +0000 (+0800) Subject: clk: rockchip: update dt-binding header for rk3399 X-Git-Tag: firefly_0821_release~3337 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4db3d2b3f5f1457120ed0d34232b407b3dbae860;p=firefly-linux-kernel-4.4.55.git clk: rockchip: update dt-binding header for rk3399 Separate the number of CRU and PMUCRU, and modify the date to 2016. Change-Id: I235fc8a93640e13fb112f45bb3387542b07e1a87 Signed-off-by: Xing Zheng --- diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock/rk3399-cru.h index 77916886c180..d489850e8468 100644 --- a/include/dt-bindings/clock/rk3399-cru.h +++ b/include/dt-bindings/clock/rk3399-cru.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Rockchip Electronics Co. Ltd. + * Copyright (c) 2016 Rockchip Electronics Co. Ltd. * Author: Xing Zheng * * This program is free software; you can redistribute it and/or modify @@ -306,6 +306,8 @@ #define HCLK_SDIO_NOC 495 #define HCLK_SDIOAUDIO_NOC 496 +#define CLK_NR_CLKS (HCLK_SDIOAUDIO_NOC + 1) + /* pmu-clocks indices */ #define SCLK_32K_SUSPEND_PMU 521 #define SCLK_SPI3_PMU 522 @@ -342,7 +344,7 @@ #define PCLK_INTR_ARB_PMU 564 #define HCLK_NOC_PMU 565 -#define CLK_NR_CLKS (HCLK_NOC_PMU + 1) +#define CLKPMU_NR_CLKS (HCLK_NOC_PMU - SCLK_32K_SUSPEND_PMU + 1) /* soft-reset indices */