summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiayu Du <jiayu.riscv@isrc.iscas.ac.cn>2026-01-21 17:55:22 +0300
committerVinod Koul <vkoul@kernel.org>2026-02-27 17:26:35 +0300
commit50357e7d7992ba8f02c87ff7a5c4db17918635da (patch)
tree1c82a6932e7b0530f9dc0c17013c840a51cba314
parent8d869bc943cfe5db08f5aff355b1d8d3abeda865 (diff)
downloadlinux-50357e7d7992ba8f02c87ff7a5c4db17918635da.tar.xz
dt-bindings: phy: Add Canaan K230 USB PHY
K230 SoC USB PHY requires configuring registers for control and configuration. Add USB phy bindings for K230 SoC. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Jiayu Du <jiayu.riscv@isrc.iscas.ac.cn> Link: https://patch.msgid.link/20260121145526.14672-2-jiayu.riscv@isrc.iscas.ac.cn Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml b/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml
new file mode 100644
index 000000000000..b959b381c44c
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/canaan,k230-usb-phy.yaml
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/canaan,k230-usb-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Canaan K230 USB2.0 PHY
+
+maintainers:
+ - Jiayu Du <jiayu.riscv@isrc.iscas.ac.cn>
+
+properties:
+ compatible:
+ const: canaan,k230-usb-phy
+
+ reg:
+ maxItems: 1
+
+ "#phy-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ usbphy: usb-phy@91585000 {
+ compatible = "canaan,k230-usb-phy";
+ reg = <0x91585000 0x400>;
+ #phy-cells = <1>;
+ };