Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: bindings: Supply knowledge of a third supported device - clocksource

Signed-off-by: Lee Jones <lee.jones@linaro.org>

Lee Jones c74a06dc 742e4097

+9 -6
+9 -6
Documentation/devicetree/bindings/rtc/rtc-st-lpc.txt
··· 1 1 STMicroelectronics Low Power Controller (LPC) - RTC 2 2 =================================================== 3 3 4 - LPC currently supports Watchdog OR Real Time Clock functionality. 4 + LPC currently supports Watchdog OR Real Time Clock OR Clocksource 5 + functionality. 5 6 6 7 [See: ../watchdog/st_lpc_wdt.txt for Watchdog options] 8 + [See: ../timer/st,stih407-lpc for Clocksource options] 7 9 8 10 Required properties 9 11 10 - - compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc" 11 - "st,stih415-lpc" "st,stid127-lpc" 12 + - compatible : Must be: "st,stih407-lpc" 12 13 - reg : LPC registers base address + size 13 14 - interrupts : LPC interrupt line number and associated flags 14 15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 15 - - st,lpc-mode : The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or 16 - ST_LPC_MODE_WDT [1]. One (and only one) mode must be 17 - selected. 16 + - st,lpc-mode : The LPC can run either one of three modes: 17 + ST_LPC_MODE_RTC [0] 18 + ST_LPC_MODE_WDT [1] 19 + ST_LPC_MODE_CLKSRC [2] 20 + One (and only one) mode must be selected. 18 21 19 22 Example: 20 23 lpc@fde05000 {