Skip to content

Commit e3462f9

Browse files
Meng Dongyangkishon
authored andcommitted
dt-bindings: phy-rockchip-inno-usb2: add assign clock property in usb2-phy node
On some platform such as RK3328, the 480m clock may need to assign clock parent in dts in stead of clock driver. So this patch add property of assigned-clocks and assigned-clock-parents to assign parent for 480m clock. Signed-off-by: Meng Dongyang <[email protected]> Acked-by: Rob Herring <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
1 parent 5e3bf9c commit e3462f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ROCKCHIP USB2.0 PHY WITH INNO IP BLOCK
22

33
Required properties (phy (parent) node):
44
- compatible : should be one of the listed compatibles:
5+
* "rockchip,rk3328-usb2phy"
56
* "rockchip,rk3366-usb2phy"
67
* "rockchip,rk3399-usb2phy"
78
- reg : the address offset of grf for usb-phy configuration.
@@ -11,6 +12,11 @@ Required properties (phy (parent) node):
1112
Optional properties:
1213
- clocks : phandle + phy specifier pair, for the input clock of phy.
1314
- clock-names : input clock name of phy, must be "phyclk".
15+
- assigned-clocks : phandle of usb 480m clock.
16+
- assigned-clock-parents : parent of usb 480m clock, select between
17+
usb-phy output 480m and xin24m.
18+
Refer to clk/clock-bindings.txt for generic clock
19+
consumer properties.
1420

1521
Required nodes : a sub-node is required for each port the phy provides.
1622
The sub-node name is used to identify host or otg port,

0 commit comments

Comments
 (0)