[PATCH v5 4/7] dt-bindings: clock: Add support for rockchip pvtpll
Elaine Zhang
zhangqing at rock-chips.com
Mon Oct 27 01:41:44 PDT 2025
Add pvtpll documentation for rockchip.
Signed-off-by: Elaine Zhang <zhangqing at rock-chips.com>
---
.../bindings/clock/rockchip,pvtpll.yaml | 98 +++++++++++++++++++
1 file changed, 98 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..681024749d65
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/rockchip,pvtpll.yaml
@@ -0,0 +1,98 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/rockchip,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:
+ 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
+
+ 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";
+ reg = <0x20480000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_core_pvtpll";
+ };
+
+ - |
+ pvtpll at 21c60000 {
+ compatible = "rockchip,rv1126b-isp-pvtpll";
+ reg = <0x21c60000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_isp_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+ - |
+ pvtpll at 21f00000 {
+ compatible = "rockchip,rv1126b-enc-pvtpll";
+ reg = <0x21f00000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_vepu_pvtpll";
+ };
+
+ - |
+ pvtpll at 21fc0000 {
+ compatible = "rockchip,rv1126b-aisp-pvtpll";
+ reg = <0x21fc0000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_vcp_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+ - |
+ pvtpll at 22080000 {
+ compatible = "rockchip,rv1126b-npu-pvtpll";
+ reg = <0x22080000 0x100>;
+ #clock-cells = <0>;
+ clock-output-names = "clk_npu_pvtpll";
+ rockchip,cru = <&cru>;
+ };
+
+...
--
2.34.1
More information about the Linux-rockchip
mailing list