dt-bindings: clock: sun8i-de2: Add H6 DE3 clock description
authorJernej Skrabec <jernej.skrabec@siol.net>
Sun, 4 Nov 2018 18:26:42 +0000 (19:26 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 5 Nov 2018 09:22:02 +0000 (10:22 +0100)
This commit adds necessary description and dt includes for H6 DE3 clock.
It is very similar to others, but memory region has some additional
registers not found in DE2.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Documentation/devicetree/bindings/clock/sun8i-de2.txt
include/dt-bindings/clock/sun8i-de2.h
include/dt-bindings/reset/sun8i-de2.h

index e94582e8b8a917ef04252d53caabeb4e4b3ea90f..41a52c2acffd00f23aa66e8c936db558e4817ddc 100644 (file)
@@ -1,5 +1,5 @@
-Allwinner Display Engine 2.0 Clock Control Binding
---------------------------------------------------
+Allwinner Display Engine 2.0/3.0 Clock Control Binding
+------------------------------------------------------
 
 Required properties :
 - compatible: must contain one of the following compatibles:
@@ -8,6 +8,7 @@ Required properties :
                - "allwinner,sun8i-v3s-de2-clk"
                - "allwinner,sun50i-a64-de2-clk"
                - "allwinner,sun50i-h5-de2-clk"
+               - "allwinner,sun50i-h6-de3-clk"
 
 - reg: Must contain the registers base address and length
 - clocks: phandle to the clocks feeding the display engine subsystem.
index 3bed63b524aa16e6e780b960d80433c3812c501b..7768f73b051efa0994a72192cad75728ee4c491b 100644 (file)
@@ -15,4 +15,7 @@
 #define CLK_MIXER1             7
 #define CLK_WB                 8
 
+#define CLK_BUS_ROT            9
+#define CLK_ROT                        10
+
 #endif /* _DT_BINDINGS_CLOCK_SUN8I_DE2_H_ */
index 9526017432f097391fd2499dc543fb42cad42128..1c36a6ac86d656c6525e35bdcba9f28044a8004f 100644 (file)
@@ -10,5 +10,6 @@
 #define RST_MIXER0     0
 #define RST_MIXER1     1
 #define RST_WB         2
+#define RST_ROT                3
 
 #endif /* _DT_BINDINGS_RESET_SUN8I_DE2_H_ */