]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288-cru: sync the clock dt-binding header from Linux
authorJohan Jonker <jbx6244@gmail.com>
Fri, 15 Apr 2022 21:21:38 +0000 (23:21 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
In order to update the DT for rk3288
sync the clock dt-binding header.
This is the state as of v5.17 in Linux.
Keep SCLK_MAC_PLL in use for rk3288 clock driver.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/dt-bindings/clock/rk3288-cru.h

index e368d767506e476bf6874db0dbbba9431df5a92c..453f66718c6b112d24c412419da48c76c3ebfeba 100644 (file)
@@ -1,9 +1,12 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (c) 2014 MundoReader S.L.
  * Author: Heiko Stuebner <heiko@sntech.de>
  */
 
+#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H
+#define _DT_BINDINGS_CLK_ROCKCHIP_RK3288_H
+
 /* core clocks */
 #define PLL_APLL               1
 #define PLL_DPLL               2
@@ -74,6 +77,9 @@
 #define SCLK_USBPHY480M_SRC    122
 #define SCLK_PVTM_CORE         123
 #define SCLK_PVTM_GPU          124
+#define SCLK_CRYPTO            125
+#define SCLK_MIPIDSI_24M       126
+#define SCLK_VIP_OUT           127
 
 #define SCLK_MAC_PLL           150
 #define SCLK_MAC               151
 #define PCLK_DDRUPCTL1         366
 #define PCLK_PUBL1             367
 #define PCLK_WDT               368
+#define PCLK_EFUSE256          369
+#define PCLK_EFUSE1024         370
+#define PCLK_ISP_IN            371
 
 /* hclk gates */
 #define HCLK_GPS               448
 #define SRST_TSP_CLKIN0                189
 #define SRST_TSP_CLKIN1                190
 #define SRST_TSP_27M           191
+
+#endif