Merge branch 'for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / phy / phy-rockchip-inno-usb2.txt
index 84d59b0db8df5f095cdbe2c5328407af122b9b79..a67ef2a3874f43bc55d6a013298fa72743d89714 100644 (file)
@@ -6,6 +6,7 @@ Required properties (phy (parent) node):
        * "rockchip,rk3328-usb2phy"
        * "rockchip,rk3366-usb2phy"
        * "rockchip,rk3399-usb2phy"
+       * "rockchip,rv1108-usb2phy"
  - reg : the address offset of grf for usb-phy configuration.
  - #clock-cells : should be 0.
  - clock-output-names : specify the 480m output clock name.
@@ -18,6 +19,10 @@ Optional properties:
                 usb-phy output 480m and xin24m.
                 Refer to clk/clock-bindings.txt for generic clock
                 consumer properties.
+ - rockchip,usbgrf : phandle to the syscon managing the "usb general
+                register files". When set driver will request its
+                phandle as one companion-grf for some special SoCs
+                (e.g RV1108).
 
 Required nodes : a sub-node is required for each port the phy provides.
                 The sub-node name is used to identify host or otg port,
@@ -28,10 +33,14 @@ Required nodes : a sub-node is required for each port the phy provides.
 Required properties (port (child) node):
  - #phy-cells : must be 0. See ./phy-bindings.txt for details.
  - interrupts : specify an interrupt for each entry in interrupt-names.
- - interrupt-names : a list which shall be the following entries:
+ - interrupt-names : a list which should be one of the following cases:
+       Regular case:
        * "otg-id" : for the otg id interrupt.
        * "otg-bvalid" : for the otg vbus interrupt.
        * "linestate" : for the host/otg linestate interrupt.
+       Some SoCs use one interrupt with the above muxed together, so for these
+       * "otg-mux" : otg-port interrupt, which mux otg-id/otg-bvalid/linestate
+               to one.
 
 Optional properties:
  - phy-supply : phandle to a regulator that provides power to VBUS.