[PATCH v5 4/7] dt-bindings: clock: Add support for rockchip pvtpll
Krzysztof Kozlowski
krzk at kernel.org
Tue Oct 28 00:52:07 PDT 2025
On Mon, Oct 27, 2025 at 04:41:44PM +0800, Elaine Zhang wrote:
> + reg:
> + maxItems: 1
> +
> + "#clock-cells":
> + const: 0
> +
> + clocks:
> + maxItems: 1
> +
> + clock-output-names:
> + maxItems: 1
> +
> + rockchip,cru:
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description: |
> + Phandle to the main Clock and Reset Unit (CRU) controller.
> + Required for PVTPLLs that need to interact with the main CRU
> + for clock management operations.
> +
> +required:
> + - compatible
> + - reg
> + - "#clock-cells"
Missing clocks.
> + - clock-output-names
Missing rockchip,cru
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pvtpll at 20480000 {
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
If you cannot find a name matching your device, please check in kernel
sources for similar cases or you can grow the spec (via pull request to
DT spec repo).
> + compatible = "rockchip,rv1126b-core-pvtpll";
> + reg = <0x20480000 0x100>;
> + #clock-cells = <0>;
> + clock-output-names = "clk_core_pvtpll";
Incomplete example - missing clock.
> + };
> +
> + - |
> + pvtpll at 21c60000 {
Drop all other examples, no need to repeat the same.
They weren't even here before!
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list