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

dt-bindings: phy: Add the M31 based eUSB2 PHY bindings

On SM8750, the M31 eUSB2 PHY is being used to support USB2. Add the
binding definition for the PHY driver.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Melody Olvera <melody.olvera@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250527-sm8750_usb_master-v6-2-d58de3b41d34@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Wesley Cheng and committed by
Vinod Koul
1166a2ca 439cdb30

+79
+79
Documentation/devicetree/bindings/phy/qcom,m31-eusb2-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,m31-eusb2-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm M31 eUSB2 phy 8 + 9 + maintainers: 10 + - Wesley Cheng <quic_wcheng@quicinc.com> 11 + 12 + description: 13 + M31 based eUSB2 controller, which supports LS/FS/HS usb connectivity 14 + on Qualcomm chipsets. It is paired with a eUSB2 repeater. 15 + 16 + properties: 17 + compatible: 18 + items: 19 + - enum: 20 + - qcom,sm8750-m31-eusb2-phy 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + "#phy-cells": 26 + const: 0 27 + 28 + clocks: 29 + items: 30 + - description: reference clock 31 + 32 + clock-names: 33 + items: 34 + - const: ref 35 + 36 + resets: 37 + maxItems: 1 38 + 39 + phys: 40 + maxItems: 1 41 + description: 42 + Phandle to eUSB2 repeater 43 + 44 + vdd-supply: 45 + description: 46 + Phandle to 0.88V regulator supply to PHY digital circuit. 47 + 48 + vdda12-supply: 49 + description: 50 + Phandle to 1.2V regulator supply to PHY refclk pll block. 51 + 52 + required: 53 + - compatible 54 + - reg 55 + - "#phy-cells" 56 + - clocks 57 + - clock-names 58 + - resets 59 + - vdd-supply 60 + - vdda12-supply 61 + 62 + additionalProperties: false 63 + 64 + examples: 65 + - | 66 + usb_1_hsphy: phy@88e3000 { 67 + compatible = "qcom,sm8750-m31-eusb2-phy"; 68 + reg = <0x88e3000 0x29c>; 69 + 70 + clocks = <&tcsrcc_usb2_clkref_en>; 71 + clock-names = "ref"; 72 + 73 + resets = <&gcc_qusb2phy_prim_bcr>; 74 + 75 + #phy-cells = <0>; 76 + 77 + vdd-supply = <&vreg_l2d_0p88>; 78 + vdda12-supply = <&vreg_l3g_1p2>; 79 + };