Re: [PATCH RFC v3 1/5] dt-bindings: clk: zte: Add zx297520v3 top clock and reset bindings.
From: Conor Dooley
Date: Fri May 29 2026 - 12:48:15 EST
On Fri, May 29, 2026 at 12:52:58AM +0300, Stefan Dösinger wrote:
> +examples:
> + - |
> + #include <dt-bindings/clock/zte,zx297520v3-clk.h>
> +
> + osc26m: osc26m {
> + compatible = "fixed-clock";
> + clock-frequency = <26000000>;
> + #clock-cells = <0>;
> + };
> +
> + osc32k: osc32k {
> + compatible = "fixed-clock";
> + clock-frequency = <32768>;
> + #clock-cells = <0>;
> + };
Drop these two nodes, the tooling will "fake" them when validating the
example.
> +
> + topclk: clk@13b000 {
And drop the unused "topclk" label here.
> + compatible = "zte,zx297520v3-topclk";
> + reg = <0x0013b000 0x400>,
> + <0x01306000 0x400>;
> + reg-names = "top", "matrix";
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + clocks = <&osc26m>, <&osc32k>;
> + clock-names = "osc26m", "osc32k";
> + };
> +#define ZX297520V3_TOPCLK_END 79
> +#define ZX297520V3_TOPRST_END 29
These are not permitted in bindings, please remove them.
Half the time they end up changing because people find other clocks, and
they never actually get used in a dts. If you need the definitions, add
them to the driver.
pw-bot: changes-requested
Cheers,
Conor.
Attachment:
signature.asc
Description: PGP signature