]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: Add cif test clocks for rk3399
authorShunqian Zheng <zhengsq@rock-chips.com>
Tue, 9 Jan 2018 01:42:21 +0000 (09:42 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 12 Feb 2018 08:40:11 +0000 (09:40 +0100)
There are three pins can act as cif test clock for rk3399.
They're sourced from 24M and output 24M by default and some boards
may use them as camera 24M xvclk.

Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 7aa2144e0d47d1fb8e30a2389d4d0fbc5fc4030f..85b30c984acfd33f07d7aaa2c63b1bd6999dcd21 100644 (file)
@@ -2293,6 +2293,23 @@ spi5_tx: spi5-tx {
                        };
                };
 
+               testclk {
+                       test_clkout0: test-clkout0 {
+                               rockchip,pins =
+                                       <0 0 RK_FUNC_1 &pcfg_pull_none>;
+                       };
+
+                       test_clkout1: test-clkout1 {
+                               rockchip,pins =
+                                       <2 25 RK_FUNC_2 &pcfg_pull_none>;
+                       };
+
+                       test_clkout2: test-clkout2 {
+                               rockchip,pins =
+                                       <0 8 RK_FUNC_3 &pcfg_pull_none>;
+                       };
+               };
+
                tsadc {
                        otp_gpio: otp-gpio {
                                rockchip,pins = <1 6 RK_FUNC_GPIO &pcfg_pull_none>;