1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater 8 9maintainers: 10 - Abel Vesa <abel.vesa@linaro.org> 11 12description: 13 eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and 14 allows a eUSB2 PHY to connect to legacy USB 2.0 products 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - enum: 21 - qcom,pm7550ba-eusb2-repeater 22 - const: qcom,pm8550b-eusb2-repeater 23 - enum: 24 - qcom,pm8550b-eusb2-repeater 25 - qcom,pmiv0104-eusb2-repeater 26 - qcom,smb2360-eusb2-repeater 27 - qcom,smb2370-eusb2-repeater 28 29 reg: 30 maxItems: 1 31 32 "#phy-cells": 33 const: 0 34 35 vdd18-supply: true 36 37 vdd3-supply: true 38 39 qcom,tune-usb2-disc-thres: 40 $ref: /schemas/types.yaml#/definitions/uint8 41 description: High-Speed disconnect threshold 42 minimum: 0 43 maximum: 7 44 45 qcom,tune-usb2-amplitude: 46 $ref: /schemas/types.yaml#/definitions/uint8 47 description: High-Speed transmit amplitude 48 minimum: 0 49 maximum: 15 50 51 qcom,tune-usb2-preem: 52 $ref: /schemas/types.yaml#/definitions/uint8 53 description: High-Speed TX pre-emphasis tuning 54 minimum: 0 55 maximum: 7 56 57 qcom,tune-res-fsdif: 58 $ref: /schemas/types.yaml#/definitions/uint8 59 description: FS Differential TX Output Resistance Tuning 60 minimum: 0 61 maximum: 7 62 63 qcom,squelch-detector-bp: 64 description: 65 This adjusts the voltage level for the threshold used to detect valid 66 high-speed data. 67 minimum: -6000 68 maximum: 1000 69 multipleOf: 1000 70 71required: 72 - compatible 73 - reg 74 - "#phy-cells" 75 76additionalProperties: false 77 78examples: 79 - | 80 #include <dt-bindings/spmi/spmi.h> 81 82 pmic@7 { 83 reg = <0x7 SPMI_USID>; 84 #address-cells = <1>; 85 #size-cells = <0>; 86 87 pm8550b_eusb2_repeater: phy@fd00 { 88 compatible = "qcom,pm8550b-eusb2-repeater"; 89 reg = <0xfd00>; 90 #phy-cells = <0>; 91 }; 92 }; 93... 94