Re: [PATCH net-next v16 03/13] dt-bindings: dpll: add SiTime SiT95316 clock generator
From: netdev-bot+sashiko
Date: Mon Nov 23 2026 - 19:40:54 EST
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The new binding uses the shared dpll-pin.yaml property
`supported-frequencies-hz` with 32-bit cells, and nothing states the…
--
dt-bindings: dpll: add SiTime SiT95316 clock generator
This adds a DT binding for the SiTime SiT95316/SiT95317 DPLL clock
generators. It describes the XO, reset, interrupt, supplies and the
input/output pins on top of dpll-device.yaml, and it adds a MAINTAINERS
entry for the binding.
> diff --git a/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml b/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml
> new file mode 100644
> index 0000000000000..5356a73a80620
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dpll/sitime,sit95316.yaml
[ ... ]
> + input-pins:
> + type: object
> + patternProperties:
> + "^pin@[0-9a-f]+$":
> + type: object
> + properties:
> + reg:
> + maximum: 7
> +
> + supported-frequencies-hz:
> + maxItems: 1
> + description:
> + The rate wired to the input, in Hz, as a single entry. An
> + input runs at the rate the board feeds it and has no
> + frequency to select, so that entry is what the pin reports
> + as its frequency.
[Severity: Low]
Should this binding state the cell width of supported-frequencies-hz?
The shared definition in dpll-pin.yaml has no type:
supported-frequencies-hz:
description: List of supported frequencies for this pin, expressed in Hz.
The only other binding that uses it, microchip,zl30731.yaml, writes it
as 64-bit:
supported-frequencies-hz = /bits/ 64 <1>;
zl3073x_pin_props_get() in drivers/dpll/zl3073x/prop.c reads it with
fwnode_property_count_u64().
The example in this binding uses 32-bit cells. The sit9531x driver added
later in this series reads the property with fwnode_property_count_u32()
and fwnode_property_read_u32_array().
A DTB does not record cell width. So a sitime node written the zl30731
way, for example:
supported-frequencies-hz = /bits/ 64 <10000000>;
would be read by the sit9531x driver as two u32 entries, [0, 10000000].
For an input pin, the driver takes the pin rate from freqs[0], so the
pin would report 0 Hz. For an output pin, an extra 0 Hz entry would be
advertised. Output pins have no maxItems limit, so validation would not
catch that case.
Could the encoding be stated here, for example with a uint32-array $ref
or a note in the per-pin description? Or could the type be fixed once in
dpll-pin.yaml, so the two DPLL bindings don't use different encodings
without saying so?
[ ... ]
> + pin@0 {
> + reg = <0>;
> + label = "clkin0";
> + connection-type = "ext";
> + supported-frequencies-hz = <10000000>;
> + };
[ ... ]
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261119225752.41846-1-arouhi%40sitime.com