1e7393b60SDavid Heidelberg# SPDX-License-Identifier: GPL-2.0-only 2e7393b60SDavid Heidelberg%YAML 1.2 3e7393b60SDavid Heidelberg--- 4e7393b60SDavid Heidelberg$id: http://devicetree.org/schemas/phy/qcom,usb-hs-phy.yaml# 5e7393b60SDavid Heidelberg$schema: http://devicetree.org/meta-schemas/core.yaml# 6e7393b60SDavid Heidelberg 79fa3ad1aSKrzysztof Kozlowskititle: Qualcomm's USB HS PHY 8e7393b60SDavid Heidelberg 9e7393b60SDavid Heidelbergmaintainers: 10e7393b60SDavid Heidelberg - Bjorn Andersson <bjorn.andersson@linaro.org> 11e7393b60SDavid Heidelberg 12e7393b60SDavid Heidelbergif: 13e7393b60SDavid Heidelberg properties: 14e7393b60SDavid Heidelberg compatible: 15e7393b60SDavid Heidelberg contains: 16*bc958b3aSRudraksha Gupta enum: 17*bc958b3aSRudraksha Gupta - qcom,usb-hs-phy-apq8064 18*bc958b3aSRudraksha Gupta - qcom,usb-hs-phy-msm8960 19e7393b60SDavid Heidelbergthen: 20e7393b60SDavid Heidelberg properties: 21e7393b60SDavid Heidelberg resets: 22e7393b60SDavid Heidelberg maxItems: 1 23e7393b60SDavid Heidelberg 24e7393b60SDavid Heidelberg reset-names: 25e7393b60SDavid Heidelberg const: por 26e7393b60SDavid Heidelberg 27e7393b60SDavid Heidelbergelse: 28e7393b60SDavid Heidelberg properties: 29e7393b60SDavid Heidelberg resets: 30e7393b60SDavid Heidelberg minItems: 2 31e7393b60SDavid Heidelberg maxItems: 2 32e7393b60SDavid Heidelberg 33e7393b60SDavid Heidelberg reset-names: 34e7393b60SDavid Heidelberg items: 35e7393b60SDavid Heidelberg - const: phy 36e7393b60SDavid Heidelberg - const: por 37e7393b60SDavid Heidelberg 38e7393b60SDavid Heidelbergproperties: 39e7393b60SDavid Heidelberg compatible: 40e7393b60SDavid Heidelberg items: 41e7393b60SDavid Heidelberg - enum: 42e7393b60SDavid Heidelberg - qcom,usb-hs-phy-apq8064 4302e2af20SLinus Torvalds - qcom,usb-hs-phy-msm8226 44e7393b60SDavid Heidelberg - qcom,usb-hs-phy-msm8916 45*bc958b3aSRudraksha Gupta - qcom,usb-hs-phy-msm8960 46e7393b60SDavid Heidelberg - qcom,usb-hs-phy-msm8974 47e7393b60SDavid Heidelberg - const: qcom,usb-hs-phy 48e7393b60SDavid Heidelberg 49e7393b60SDavid Heidelberg clocks: 50e7393b60SDavid Heidelberg minItems: 2 51e7393b60SDavid Heidelberg maxItems: 2 52e7393b60SDavid Heidelberg 53e7393b60SDavid Heidelberg clock-names: 54e7393b60SDavid Heidelberg maxItems: 2 55e7393b60SDavid Heidelberg contains: 56e7393b60SDavid Heidelberg items: 57e7393b60SDavid Heidelberg - const: ref 58e7393b60SDavid Heidelberg - const: sleep 59e7393b60SDavid Heidelberg 60e7393b60SDavid Heidelberg resets: true 61e7393b60SDavid Heidelberg 62e7393b60SDavid Heidelberg reset-names: true 63e7393b60SDavid Heidelberg 64e7393b60SDavid Heidelberg v1p8-supply: true 65e7393b60SDavid Heidelberg 66e7393b60SDavid Heidelberg v3p3-supply: true 67e7393b60SDavid Heidelberg 68e7393b60SDavid Heidelberg extcon: true 69e7393b60SDavid Heidelberg 70e7393b60SDavid Heidelberg "#phy-cells": 71e7393b60SDavid Heidelberg const: 0 72e7393b60SDavid Heidelberg 73e7393b60SDavid Heidelberg qcom,init-seq: 74e7393b60SDavid Heidelberg $ref: /schemas/types.yaml#/definitions/uint8-matrix 75e7393b60SDavid Heidelberg description: > 76e7393b60SDavid Heidelberg Sequence of ULPI address and value pairs to 77e7393b60SDavid Heidelberg program into the ULPI_EXT_VENDOR_SPECIFIC area. 78e7393b60SDavid Heidelberg This is related to Device Mode Eye Diagram test. 79e7393b60SDavid Heidelberg maxItems: 32 # no hard limit 80e7393b60SDavid Heidelberg items: 81e7393b60SDavid Heidelberg items: 82e7393b60SDavid Heidelberg - description: > 83e7393b60SDavid Heidelberg the address is offset from the ULPI_EXT_VENDOR_SPECIFIC address 84e7393b60SDavid Heidelberg - description: value 85e7393b60SDavid Heidelberg 86e7393b60SDavid Heidelbergrequired: 87e7393b60SDavid Heidelberg - clocks 88e7393b60SDavid Heidelberg - clock-names 89e7393b60SDavid Heidelberg - resets 90e7393b60SDavid Heidelberg - reset-names 91e7393b60SDavid Heidelberg - "#phy-cells" 92e7393b60SDavid Heidelberg 93e7393b60SDavid HeidelbergadditionalProperties: false 94e7393b60SDavid Heidelberg 95e7393b60SDavid Heidelbergexamples: 96e7393b60SDavid Heidelberg - | 97e7393b60SDavid Heidelberg otg: usb-controller { 9827e4a85cSRob Herring #reset-cells = <1>; 9927e4a85cSRob Herring 100e7393b60SDavid Heidelberg ulpi { 101e7393b60SDavid Heidelberg phy { 102e7393b60SDavid Heidelberg compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy"; 103e7393b60SDavid Heidelberg #phy-cells = <0>; 104e7393b60SDavid Heidelberg clocks = <&clk 0>, <&clk 258>; 105e7393b60SDavid Heidelberg clock-names = "ref", "sleep"; 106e7393b60SDavid Heidelberg resets = <&gcc 10>, <&otg 0>; 107e7393b60SDavid Heidelberg reset-names = "phy", "por"; 108e7393b60SDavid Heidelberg v3p3-supply = <&pm8941_l24>; 109e7393b60SDavid Heidelberg v1p8-supply = <&pm8941_l6>; 110e7393b60SDavid Heidelberg extcon = <&smbb>; 111e7393b60SDavid Heidelberg qcom,init-seq = /bits/ 8 <0x1 0x63>; 112e7393b60SDavid Heidelberg }; 113e7393b60SDavid Heidelberg }; 114e7393b60SDavid Heidelberg }; 115