]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: clock: sun50i-a64-ccu: Add PLL_VIDEO0 macro
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 4 Sep 2018 04:40:49 +0000 (12:40 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Sep 2018 07:19:59 +0000 (09:19 +0200)
Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent.

Include the macro on dt-bindings so-that the same can be used
while defining CCU clock phandles.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
drivers/clk/sunxi-ng/ccu-sun50i-a64.h
include/dt-bindings/clock/sun50i-a64-ccu.h

index 061b6fbb4f9591c0b77a54e8aa6a4ac0bb993e66..cd415b968e8c289582403bb8db97dd4c29b8b434 100644 (file)
@@ -27,7 +27,9 @@
 #define CLK_PLL_AUDIO_2X               4
 #define CLK_PLL_AUDIO_4X               5
 #define CLK_PLL_AUDIO_8X               6
-#define CLK_PLL_VIDEO0                 7
+
+/* PLL_VIDEO0 exported for HDMI PHY */
+
 #define CLK_PLL_VIDEO0_2X              8
 #define CLK_PLL_VE                     9
 #define CLK_PLL_DDR0                   10
index d66432c6e6759730fff0a705edacb88be94fd40b..a8ac4cfcdcbc3e912bf2549d8b30da45b61bf86a 100644 (file)
@@ -43,6 +43,7 @@
 #ifndef _DT_BINDINGS_CLK_SUN50I_A64_H_
 #define _DT_BINDINGS_CLK_SUN50I_A64_H_
 
+#define CLK_PLL_VIDEO0         7
 #define CLK_PLL_PERIPH0                11
 
 #define CLK_BUS_MIPI_DSI       28