ipq40xx: Add patches for 4.19
[openwrt/openwrt.git] / target / linux / ipq40xx / patches-4.19 / 075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch
1 From 5f01733dc755dfadfa51b7b3c6c160e632fc6002 Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Tue, 24 Jul 2018 15:09:36 +0200
4 Subject: [PATCH 1/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document
5
6 This patch adds the binding documentation for the HS/SS USB PHY found
7 inside Qualcom Dakota SoCs.
8
9 Signed-off-by: John Crispin <john@phrozen.org>
10 ---
11 .../bindings/phy/phy-qcom-ipq4019-usb.txt | 21 +++++++++++++++++++++
12 1 file changed, 21 insertions(+)
13 create mode 100644 Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
14
15 --- /dev/null
16 +++ b/Documentation/devicetree/bindings/phy/phy-qcom-ipq4019-usb.txt
17 @@ -0,0 +1,21 @@
18 +Qualcom Dakota HS/SS USB PHY
19 +
20 +Required properties:
21 + - compatible: "qcom,usb-ss-ipq4019-phy",
22 + "qcom,usb-hs-ipq4019-phy"
23 + - reg: offset and length of the registers
24 + - #phy-cells: should be 0
25 + - resets: the reset controllers as listed below
26 + - reset-names: the names of the reset controllers
27 + "por_rst" - the POR reset line for SS and HS phys
28 + "srif_rst" - the SRIF reset line for HS phys
29 +Example:
30 +
31 +hsphy@a8000 {
32 + compatible = "qcom,usb-hs-ipq4019-phy";
33 + phy-cells = <0>;
34 + reg = <0xa8000 0x40>;
35 + resets = <&gcc USB2_HSPHY_POR_ARES>,
36 + <&gcc USB2_HSPHY_S_ARES>;
37 + reset-names = "por_rst", "srif_rst";
38 +};