[PATCH v4 4/7] dt-bindings: clock: Add support for rockchip pvtpll
Elaine Zhang
zhangqing at rock-chips.com
Mon Oct 20 20:38:31 PDT 2025
Add pvtpll documentation for rockchip.
Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
---
.../bindings/clock/rockchip,pvtpll.yaml | 100 ++++++++++++++++++
1 file changed, 100 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/rockchip,pvtpll.yaml
diff --git a/Documentation/devicetree/bindings/clock/rockchip,pvtpll.yaml b/Documentation/devicetree/bindings/clock/rockchip,pvtpll.yaml
new file mode 100644
index 000000000000..b4beefb008d1
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/rockchip,pvtpll.yaml
@@ -0,0 +1,100 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/rockchip,clk-pvtpll.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip Pvtpll
+
+maintainers:
+ - Elaine Zhang <zhangqing at rock-chips.com>
+ - Heiko Stuebner <heiko at sntech.de>
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - rockchip,rv1103b-core-pvtpll
+ - rockchip,rv1103b-enc-pvtpll
+ - rockchip,rv1103b-isp-pvtpll
+ - rockchip,rv1103b-npu-pvtpll
+ - rockchip,rv1126b-core-pvtpll
+ - rockchip,rv1126b-isp-pvtpll
+ - rockchip,rv1126b-enc-pvtpll
+ - rockchip,rv1126b-aisp-pvtpll
+ - rockchip,rv1126b-npu-pvtpll
+ - rockchip,rk3506-core-pvtpll
+ - const: syscon
+
+ 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"
+ - clock-output-names
+
+additionalProperties: false
+
+examples:
+ - |
+ pvtpll at 20480000 {
+ compatible = "rockchip,rv1126b-core-pvtpll", "syscon";
+ reg = <0x20480000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_core_pvtpll";
+ };
+
+ - |
+ pvtpll at 21c60000 {
+ compatible = "rockchip,rv1126b-isp-pvtpll", "syscon";
+ reg = <0x21c60000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_isp_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+ - |
+ pvtpll at 21f00000 {
+ compatible = "rockchip,rv1126b-enc-pvtpll", "syscon";
+ reg = <0x21f00000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_vepu_pvtpll";
+ };
+
+ - |
+ pvtpll at 21fc0000 {
+ compatible = "rockchip,rv1126b-aisp-pvtpll", "syscon";
+ reg = <0x21fc0000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_vcp_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+ - |
+ pvtpll at 22080000 {
+ compatible = "rockchip,rv1126b-npu-pvtpll", "syscon";
+ reg = <0x22080000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_npu_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+...
--
2.34.1
More information about the linux-arm-kernel
mailing list