Re: [PATCH 2/4] dt-bindings: clock: ti: Convert to yaml

From: Krzysztof Kozlowski
Date: Fri Apr 04 2025 - 06:46:37 EST


On Thu, Apr 03, 2025 at 06:44:58PM GMT, Sukrut Bellary wrote:
> +maintainers:
> + - Tero Kristo <kristo@xxxxxxxxxx>
> + - Sukrut Bellary <sbellary@xxxxxxxxxxxx>
> +
> +description: |

Do not need '|' unless you need to preserve formatting.

> + Every clock on TI SoC belongs to one clockdomain. For specific clocks, the
> + parent clockdomain has to be controlled when the clock is enabled/disabled.
> + This binding doesn't define a new clock binding type, it is used to group
> + the existing clock nodes under hardware hierarchy.
> +
> +properties:
> + compatible:
> + const: ti,clockdomain
> +
> + clocks:
> + description:
> + Clocks within this domain

Missing constraints.

> +
> +required:
> + - compatible
> + - clocks
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + l3init_clkdm: l3init_clkdm {

Follow DTS coding style. Also drop unused label.

Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation

> + compatible = "ti,clockdomain";
> + clocks = <&dpll_usb_ck>;
> + };
> --
> 2.34.1
>