UPSTREAM: clk: rockchip: add id of the tsadc clock found on rk3228 SoCs
authorCaesar Wang <wxt@rock-chips.com>
Mon, 15 Feb 2016 07:33:26 +0000 (15:33 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Jun 2016 11:17:55 +0000 (19:17 +0800)
This patch adds 'SCLK_TSADC' and 'PCLK_TSADC' id found on rk3228 SoCs.
That will be needed by TSADC controller.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Acked-by: Michael Turquette <mturquette@baylibre.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
v4.8-clk/next commit 3629e70b8c78ec7a40d5c4fd1356b9dc1937d326)

Change-Id: Ia4c926d4decc9affd63510a794d7f2553f6be3a5
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
include/dt-bindings/clock/rk3228-cru.h

index a78dd891e24a3d7b36b00bf95e93600aada5264b..cd2e06bd6103f504f30cdcd385d6fec270860331 100644 (file)
@@ -29,6 +29,7 @@
 #define SCLK_SDMMC             68
 #define SCLK_SDIO              69
 #define SCLK_EMMC              71
+#define SCLK_TSADC             72
 #define SCLK_UART0             77
 #define SCLK_UART1             78
 #define SCLK_UART2             79
@@ -68,6 +69,7 @@
 #define PCLK_UART0             341
 #define PCLK_UART1             342
 #define PCLK_UART2             343
+#define PCLK_TSADC             344
 #define PCLK_PWM               350
 #define PCLK_TIMER             353
 #define PCLK_PERI              363