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 <abel.vesa@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230208190200.2966723-2-abel.vesa@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent a9b4449 commit f990aae

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

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 <abel.vesa@linaro.org>
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)