Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709353

[PATCH v4 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt

From Frank Wang <frank.wang@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v4 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt
Date 2017-08-11 10:10 +0200
Message-ID <uddb3-14n-5@gated-at.bofh.it> (permalink)
References <uddb3-14n-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
index 69041373..68230b5 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
@@ -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.
-- 
2.0.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 4/5] dt-bindings: phy-rockchip-inno-usb2: add otg-mux interrupt Frank Wang <frank.wang@rock-chips.com> - 2017-08-11 10:10 +0200

csiph-web