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

clocksource: clps711x: Add DT bindings documentation

This patch adds DT binding documentation for the Cirrus Logic
CLPS711X-based CPUs clocksource subsystem.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Alexander Shiyan and committed by
Daniel Lezcano
fd944da3 f0b7fabe

+29
+29
Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt
··· 1 + * Cirrus Logic CLPS711X Timer Counter 2 + 3 + Required properties: 4 + - compatible: Shall contain "cirrus,clps711x-timer". 5 + - reg : Address and length of the register set. 6 + - interrupts: The interrupt number of the timer. 7 + - clocks : phandle of timer reference clock. 8 + 9 + Note: Each timer should have an alias correctly numbered in "aliases" node. 10 + 11 + Example: 12 + aliases { 13 + timer0 = &timer1; 14 + timer1 = &timer2; 15 + }; 16 + 17 + timer1: timer@80000300 { 18 + compatible = "cirrus,ep7312-timer", "cirrus,clps711x-timer"; 19 + reg = <0x80000300 0x4>; 20 + interrupts = <8>; 21 + clocks = <&clks 5>; 22 + }; 23 + 24 + timer2: timer@80000340 { 25 + compatible = "cirrus,ep7312-timer", "cirrus,clps711x-timer"; 26 + reg = <0x80000340 0x4>; 27 + interrupts = <9>; 28 + clocks = <&clks 6>; 29 + };