]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt
authorFrank Wang <frank.wang@rock-chips.com>
Fri, 11 Aug 2017 08:07:50 +0000 (16:07 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Aug 2017 04:41:22 +0000 (10:11 +0530)
Add otg-mux property to support multiplexed interrupt in otg-port
on some Rockchip SoC (e.g RV1108).

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt

index 69041373e0187c608822dda199e458e0afb649fb..68230b5756741ab8903de082c7b79c62e403fd0d 100644 (file)
@@ -32,10 +32,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.