Skip to content

Commit f990aae

Browse files
abelvesavinodkoul
authored andcommitted
dt-bindings: phy: Add qcom,snps-eusb2-repeater schema file
The SM8550 SoC uses Synopsis eUSB2 repeater found in PM8550b. Add a dt-binding schema for the new driver. Signed-off-by: Abel Vesa <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent a9b4449 commit f990aae

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
7+
title: Qualcomm Synopsis eUSB2 to USB 2.0 repeater
8+
9+
maintainers:
10+
- Abel Vesa <[email protected]>
11+
12+
description:
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+
16+
properties:
17+
compatible:
18+
const: qcom,pm8550b-eusb2-repeater
19+
20+
reg:
21+
maxItems: 1
22+
23+
"#phy-cells":
24+
const: 0
25+
26+
vdd18-supply: true
27+
28+
vdd3-supply: true
29+
30+
required:
31+
- compatible
32+
- reg
33+
- "#phy-cells"
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
#include <dt-bindings/spmi/spmi.h>
40+
41+
pmic@7 {
42+
reg = <0x7 SPMI_USID>;
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
46+
pm8550b_eusb2_repeater: phy@fd00 {
47+
compatible = "qcom,pm8550b-eusb2-repeater";
48+
reg = <0xfd00>;
49+
#phy-cells = <0>;
50+
};
51+
};
52+
...

0 commit comments

Comments
 (0)