Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: phy: spacemit: add K1 USB2 PHY

Add support for USB2 PHY found on SpacemiT K1 SoC.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Ze Huang <huang.ze@linux.dev>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Junzhong Pan <panjunzhong@linux.spacemit.com>
Link: https://patch.msgid.link/20251017-k1-usb2phy-v6-1-7cf9ea2477a1@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Ze Huang and committed by
Vinod Koul
61b84d5b 5068c09d

+40
+40
Documentation/devicetree/bindings/phy/spacemit,usb2-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/spacemit,usb2-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: SpacemiT K1 SoC USB 2.0 PHY 8 + 9 + maintainers: 10 + - Ze Huang <huang.ze@linux.dev> 11 + 12 + properties: 13 + compatible: 14 + const: spacemit,k1-usb2-phy 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + clocks: 20 + maxItems: 1 21 + 22 + "#phy-cells": 23 + const: 0 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - clocks 29 + - "#phy-cells" 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + usb-phy@c09c0000 { 36 + compatible = "spacemit,k1-usb2-phy"; 37 + reg = <0xc09c0000 0x200>; 38 + clocks = <&syscon_apmu 15>; 39 + #phy-cells = <0>; 40 + };