dt-bindings: clock: lan966x: Extend includes with clock gates
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 3 Nov 2021 08:51:01 +0000 (09:51 +0100)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Wed, 8 Dec 2021 10:19:20 +0000 (11:19 +0100)
On lan966x it is allow to control the clock to some peripherals like
USB. So extend the include file with these clocks.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211103085102.1656081-4-horatiu.vultur@microchip.com
include/dt-bindings/clock/microchip,lan966x.h

index fe36ed6..6f9d43d 100644 (file)
 #define GCK_ID_TIMER           12
 #define GCK_ID_USB_REFCLK      13
 
-#define N_CLOCKS               14
+/* Gate clocks */
+#define GCK_GATE_UHPHS         14
+#define GCK_GATE_UDPHS         15
+#define GCK_GATE_MCRAMC                16
+#define GCK_GATE_HMATRIX       17
+
+#define N_CLOCKS               18
 
 #endif