Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy-qcom-ipq4019-usb: add binding document

This patch adds the binding documentation for the HS/SS USB PHY found
inside Qualcom Dakota SoCs.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Link: https://lore.kernel.org/r/20200503201823.531757-2-robert.marko@sartura.hr
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Robert Marko and committed by
Vinod Koul
4f8dad0a 3c9d8f6c

+50
+50
Documentation/devicetree/bindings/phy/qcom-usb-ipq4019-phy.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: Qualcom IPQ40xx Dakota HS/SS USB PHY 8 + 9 + maintainers: 10 + - Robert Marko <robert.marko@sartura.hr> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - qcom,usb-ss-ipq4019-phy 16 + - qcom,usb-hs-ipq4019-phy 17 + 18 + reg: 19 + maxItems: 1 20 + 21 + resets: 22 + maxItems: 2 23 + 24 + reset-names: 25 + items: 26 + - const: por_rst 27 + - const: srif_rst 28 + 29 + "#phy-cells": 30 + const: 0 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - resets 36 + - reset-names 37 + - "#phy-cells" 38 + 39 + examples: 40 + - | 41 + #include <dt-bindings/clock/qcom,gcc-ipq4019.h> 42 + 43 + hsphy@a8000 { 44 + #phy-cells = <0>; 45 + compatible = "qcom,usb-hs-ipq4019-phy"; 46 + reg = <0xa8000 0x40>; 47 + resets = <&gcc USB2_HSPHY_POR_ARES>, 48 + <&gcc USB2_HSPHY_S_ARES>; 49 + reset-names = "por_rst", "srif_rst"; 50 + };