summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2021-11-03 09:51:01 +0100
committerNicolas Ferre <nicolas.ferre@microchip.com>2021-12-08 11:19:20 +0100
commit51d0a37dde9b63111d14a59bb77c5cf0273e4c9e (patch)
treee1f5ca19454f84dada78ba80fe2aa6d40198b0b2 /include/dt-bindings
parentdt-bindings: clock: lan966x: Extend for clock gate support (diff)
downloadlinux-51d0a37dde9b63111d14a59bb77c5cf0273e4c9e.tar.xz
linux-51d0a37dde9b63111d14a59bb77c5cf0273e4c9e.zip
dt-bindings: clock: lan966x: Extend includes with clock gates
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
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/microchip,lan966x.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/microchip,lan966x.h b/include/dt-bindings/clock/microchip,lan966x.h
index fe36ed6d8b5f..6f9d43d76d5a 100644
--- a/include/dt-bindings/clock/microchip,lan966x.h
+++ b/include/dt-bindings/clock/microchip,lan966x.h
@@ -23,6 +23,12 @@
#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