From: Yakir Yang Date: Wed, 24 Feb 2016 10:08:20 +0000 (+0800) Subject: UPSTREAM: clk: rockchip: add the new clock ids for RK3228 VOP X-Git-Tag: firefly_0821_release~2407 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f1f0f97bf55bd9a42d66e6b488db8310ee36475c;p=firefly-linux-kernel-4.4.55.git UPSTREAM: clk: rockchip: add the new clock ids for RK3228 VOP There are four clocks that vop module would need to operate: DCLK_VOP, HCLK_VOP, SCLK_VOP, ACLK_VOP, Signed-off-by: Yakir Yang Signed-off-by: Heiko Stuebner (cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git v4.8-shared/clkids commit 31b1fed36eb56ae8bd25af42ad1625c4110615eb) Change-Id: Iea57109b85928c4139283e366ce5d60430e8984b Signed-off-by: Xing Zheng --- diff --git a/include/dt-bindings/clock/rk3228-cru.h b/include/dt-bindings/clock/rk3228-cru.h index cd2e06bd6103..9ce3da8b51c3 100644 --- a/include/dt-bindings/clock/rk3228-cru.h +++ b/include/dt-bindings/clock/rk3228-cru.h @@ -50,10 +50,15 @@ #define SCLK_SDMMC_SAMPLE 118 #define SCLK_SDIO_SAMPLE 119 #define SCLK_EMMC_SAMPLE 121 +#define SCLK_VOP 122 + +/* dclk gates */ +#define DCLK_VOP 190 /* aclk gates */ #define ACLK_DMAC 194 #define ACLK_PERI 210 +#define ACLK_VOP 211 /* pclk gates */ #define PCLK_GPIO0 320 @@ -75,6 +80,7 @@ #define PCLK_PERI 363 /* hclk gates */ +#define HCLK_VOP 452 #define HCLK_NANDC 453 #define HCLK_SDMMC 456 #define HCLK_SDIO 457