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

dt-bindings: Add Qualcomm USB SuperSpeed PHY bindings

Binding description for Qualcomm's Synopsys 1.0.0 SuperSpeed PHY. This PHY
appears in a number of SoCs on various flavors of 20nm and 28nm nodes.

This commit adds information related to the 28nm node only.

Based on Sriharsha Allenki's <sallenki@codeaurora.org> original
definitions.

[bod: converted to yaml format]

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Cc: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Jorge Ramirez-Ortiz and committed by
Kishon Vijay Abraham I
8563ec5a 67b27dbe

+83
+83
Documentation/devicetree/bindings/phy/qcom,usb-ss.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: "http://devicetree.org/schemas/phy/qcom,usb-ss.yaml#" 5 + $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + 7 + title: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 8 + 9 + maintainers: 10 + - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 11 + 12 + description: | 13 + Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - qcom,usb-ss-28nm-phy 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + "#phy-cells": 24 + const: 0 25 + 26 + clocks: 27 + items: 28 + - description: rpmcc clock 29 + - description: PHY AHB clock 30 + - description: SuperSpeed pipe clock 31 + 32 + clock-names: 33 + items: 34 + - const: ref 35 + - const: ahb 36 + - const: pipe 37 + 38 + vdd-supply: 39 + description: phandle to the regulator VDD supply node. 40 + 41 + vdda1p8-supply: 42 + description: phandle to the regulator 1.8V supply node. 43 + 44 + resets: 45 + items: 46 + - description: COM reset 47 + - description: PHY reset line 48 + 49 + reset-names: 50 + items: 51 + - const: com 52 + - const: phy 53 + 54 + required: 55 + - compatible 56 + - reg 57 + - "#phy-cells" 58 + - clocks 59 + - clock-names 60 + - vdd-supply 61 + - vdda1p8-supply 62 + 63 + additionalProperties: false 64 + 65 + examples: 66 + - | 67 + #include <dt-bindings/clock/qcom,gcc-qcs404.h> 68 + #include <dt-bindings/clock/qcom,rpmcc.h> 69 + usb3_phy: usb3-phy@78000 { 70 + compatible = "qcom,usb-ss-28nm-phy"; 71 + reg = <0x78000 0x400>; 72 + #phy-cells = <0>; 73 + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, 74 + <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, 75 + <&gcc GCC_USB3_PHY_PIPE_CLK>; 76 + clock-names = "ref", "ahb", "pipe"; 77 + resets = <&gcc GCC_USB3_PHY_BCR>, 78 + <&gcc GCC_USB3PHY_PHY_BCR>; 79 + reset-names = "com", "phy"; 80 + vdd-supply = <&vreg_l3_1p05>; 81 + vdda1p8-supply = <&vreg_l5_1p8>; 82 + }; 83 + ...