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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: timer: fsl,ftm-timer: use items for reg

The original txt binding doc is:
reg : Specifies base physical address and size of the register sets for
the clock event device and clock source device.

And existed dts provide two reg MMIO spaces. So change to use items to
descript reg property.

Update examples.

Fixes: 8fc30d8f8e86 ("dt-bindings: timer: fsl,ftm-timer: Convert to dtschema")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250523141437.533643-1-Frank.Li@nxp.com

authored by

Frank Li and committed by
Daniel Lezcano
c1ff9e91 bb7bf8b4

+5 -2
+5 -2
Documentation/devicetree/bindings/timer/fsl,ftm-timer.yaml
··· 14 14 const: fsl,ftm-timer 15 15 16 16 reg: 17 - maxItems: 1 17 + items: 18 + - description: clock event device 19 + - description: clock source device 18 20 19 21 interrupts: 20 22 maxItems: 1 ··· 52 50 53 51 ftm@400b8000 { 54 52 compatible = "fsl,ftm-timer"; 55 - reg = <0x400b8000 0x1000>; 53 + reg = <0x400b8000 0x1000>, 54 + <0x400b9000 0x1000>; 56 55 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>; 57 56 clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en"; 58 57 clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,