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

dt-bindings: timer: meson6_timer: document the clock inputs

The Meson Timer IP has two clock inputs:
- pclk which is used as "system clock" timebase of Timer E
- xtal which is used for the 1us, 10us, 100us and 1ms timebases of Timer
A, B, C, D and E

The IP block has four internal dividers (XTAL is running at 24MHz):
- "xtal div 24" for 1us resolution
- "xtal div 240" for 10us resolution
- "xtal div 2400" for 100us resolution
- "xtal div 24000" for 1ms resolution

Suggested-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>

authored by

Martin Blumenstingl and committed by
Kevin Hilman
be215b92 e55b892e

+4
+4
Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
··· 5 5 - compatible : should be "amlogic,meson6-timer" 6 6 - reg : Specifies base physical address and size of the registers. 7 7 - interrupts : The four interrupts, one for each timer event 8 + - clocks : phandles to the pclk (system clock) and XTAL clocks 9 + - clock-names : must contain "pclk" and "xtal" 8 10 9 11 Example: 10 12 ··· 17 15 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>, 18 16 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, 19 17 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>; 18 + clocks = <&xtal>, <&clk81>; 19 + clock-names = "xtal", "pclk"; 20 20 };