]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: dt-bindings: Provide human readable define for Clocksource mode
authorLee Jones <lee.jones@linaro.org>
Tue, 12 May 2015 12:58:09 +0000 (13:58 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 23 Jul 2015 10:34:25 +0000 (11:34 +0100)
ST's Low Power Controller can now operate in three supported modes;
Watchdog, Real Time Clock and most recently as a Clocksource.  This new
define will allow the LPC IP to be configured for Clocksource from DT.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/dt-bindings/mfd/st-lpc.h

index e3e6c75d8822cf2d2d6485c872bccd645e97ddd0..d05894afa7e720310665e47d583d2c3cc35fbad0 100644 (file)
@@ -11,5 +11,6 @@
 
 #define ST_LPC_MODE_RTC                0
 #define ST_LPC_MODE_WDT                1
+#define ST_LPC_MODE_CLKSRC     2
 
 #endif /* __DT_BINDINGS_ST_LPC_H__ */