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

Ghennadi Procopciuc ghennadi.procopciuc at oss.nxp.com
Wed Apr 2 23:33:11 PDT 2025


On 4/2/2025 12:07 PM, Daniel Lezcano wrote:
[ ... ]
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    timer at 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




More information about the linux-arm-kernel mailing list