[v2] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon property
diff mbox series

Message ID 20190109171739.11494-1-enric.balletbo@collabora.com
State New
Headers show
Series
  • [v2] dt-bindings: phy-rockchip-inno-usb2: add documentation for extcon property
Related show

Commit Message

Enric Balletbo i Serra Jan. 9, 2019, 5:17 p.m. UTC
Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for
rk3399") introduces the extcon property that is used to detect the
cable-state. Document this property in the documentation binding.

Fixes: 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for rk3399")
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
Hi all,

This patch was send for the first time within these series [1], but
might have more sense sent alone as doesn't depends on the rest of
the series, so, remove from these series and send a second version
that can be applied independently.

Best regards,
Enric

[1] https://lkml.org/lkml/2018/8/15/141

Changes in v2:
- Split from the first version and send as a separate patch.
- Mention that the extcon provides the cable-state. (Heiko)
- Remove the introduced utmi-avalid documentation.

 .../devicetree/bindings/phy/phy-rockchip-inno-usb2.txt          | 2 ++
 1 file changed, 2 insertions(+)

Comments

Heiko Stuebner Jan. 10, 2019, 12:25 p.m. UTC | #1
Am Mittwoch, 9. Januar 2019, 18:17:39 CET schrieb Enric Balletbo i Serra:
> Commit 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for
> rk3399") introduces the extcon property that is used to detect the
> cable-state. Document this property in the documentation binding.
> 
> Fixes: 98898f3bc83c8 ("phy: rockchip-inno-usb2: support otg-port for rk3399")
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>

Patch
diff mbox series

diff --git a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
index 074a7b3b0425..00639baae74a 100644
--- a/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
+++ b/Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt
@@ -23,6 +23,8 @@  Optional properties:
 		 register files". When set driver will request its
 		 phandle as one companion-grf for some special SoCs
 		 (e.g RV1108).
+ - extcon : phandle to the extcon device providing the cable state for
+		 the otg phy.
 
 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,