Re: [PATCH v4 1/2] dt-bindings: timer: Add NXP System Timer Module

From: Ghennadi Procopciuc
Date: Thu Apr 03 2025 - 02:38:09 EST


On 4/2/2025 12:07 PM, Daniel Lezcano wrote:
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + timer@4011c000 {
> + compatible = "nxp,s32g2-stm";
> + reg = <0x4011c000 0x3000>;
> + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clks 0x3b>;
> + };

The S32G reference manual specifies two clocks for the STM module: one
for the registers and another for the counter itself. Shouldn't both
clocks be represented in the bindings?

--
Regards,
Ghennadi