From 4db3d2b3f5f1457120ed0d34232b407b3dbae860 Mon Sep 17 00:00:00 2001 From: Xing Zheng Date: Tue, 1 Mar 2016 16:21:30 +0800 Subject: [PATCH] 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 --- include/dt-bindings/clock/rk3399-cru.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */ -- 2.34.1