[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251028-hasty-amusing-guan-e57f62@kuoka>
Date: Tue, 28 Oct 2025 08:52:07 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Elaine Zhang <zhangqing@...k-chips.com>
Cc: mturquette@...libre.com, sboyd@...nel.org, sugar.zhang@...k-chips.com,
heiko@...ech.de, robh@...nel.org, krzysztof.kozlowski+dt@...aro.org,
conor+dt@...nel.org, devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org, linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
huangtao@...k-chips.com, finley.xiao@...k-chips.com
Subject: Re: [PATCH v5 4/7] dt-bindings: clock: Add support for rockchip
pvtpll
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@...80000 {
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@...60000 {
Drop all other examples, no need to repeat the same.
They weren't even here before!
Best regards,
Krzysztof
Powered by blists - more mailing lists