~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/realtek,usb3phy.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 # Copyright 2023 Realtek Semiconductor Corporation
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/phy/realtek,usb3phy.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Realtek DHC SoCs USB 3.0 PHY
  9 
 10 maintainers:
 11   - Stanley Chang <stanley_chang@realtek.com>
 12 
 13 description: |
 14   Realtek USB 3.0 PHY support the digital home center (DHC) RTD series SoCs.
 15   The USB 3.0 PHY driver is designed to support the XHCI controller. The SoCs
 16   support multiple XHCI controllers. One PHY device node maps to one XHCI
 17   controller.
 18 
 19   RTD1295/RTD1619 SoCs USB
 20   The USB architecture includes three XHCI controllers.
 21   Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some
 22   controllers.
 23   XHCI controller#0 -- usb2phy -- phy#0
 24                     |- usb3phy -- phy#0
 25   XHCI controller#1 -- usb2phy -- phy#0
 26   XHCI controller#2 -- usb2phy -- phy#0
 27                     |- usb3phy -- phy#0
 28 
 29   RTD1319/RTD1619b SoCs USB
 30   The USB architecture includes three XHCI controllers.
 31   Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2.
 32   XHCI controller#0 -- usb2phy -- phy#0
 33   XHCI controller#1 -- usb2phy -- phy#0
 34   XHCI controller#2 -- usb2phy -- phy#0
 35                     |- usb3phy -- phy#0
 36 
 37   RTD1319d SoCs USB
 38   The USB architecture includes three XHCI controllers.
 39   Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
 40   XHCI controller#0 -- usb2phy -- phy#0
 41                     |- usb3phy -- phy#0
 42   XHCI controller#1 -- usb2phy -- phy#0
 43   XHCI controller#2 -- usb2phy -- phy#0
 44 
 45 properties:
 46   compatible:
 47     enum:
 48       - realtek,rtd1295-usb3phy
 49       - realtek,rtd1319-usb3phy
 50       - realtek,rtd1319d-usb3phy
 51       - realtek,rtd1619-usb3phy
 52       - realtek,rtd1619b-usb3phy
 53 
 54   reg:
 55     maxItems: 1
 56 
 57   "#phy-cells":
 58     const: 0
 59 
 60   nvmem-cells:
 61     maxItems: 1
 62     description: A phandle to the tx lfps swing trim data provided by
 63       a nvmem device, if unspecified, default values shall be used.
 64 
 65   nvmem-cell-names:
 66     items:
 67       - const: usb_u3_tx_lfps_swing_trim
 68 
 69   realtek,amplitude-control-coarse-tuning:
 70     description:
 71       This adjusts the signal amplitude for normal operation and beacon LFPS.
 72       This value is a parameter for coarse tuning.
 73       For different boards, if the default value is inappropriate, this
 74       property can be assigned to adjust.
 75     $ref: /schemas/types.yaml#/definitions/uint32
 76     default: 255
 77     minimum: 0
 78     maximum: 255
 79 
 80   realtek,amplitude-control-fine-tuning:
 81     description:
 82       This adjusts the signal amplitude for normal operation and beacon LFPS.
 83       This value is used for fine-tuning parameters.
 84     $ref: /schemas/types.yaml#/definitions/uint32
 85     default: 65535
 86     minimum: 0
 87     maximum: 65535
 88 
 89 required:
 90   - compatible
 91   - reg
 92   - "#phy-cells"
 93 
 94 additionalProperties: false
 95 
 96 examples:
 97   - |
 98     usb-phy@13e10 {
 99         compatible = "realtek,rtd1319d-usb3phy";
100         reg = <0x13e10 0x4>;
101         #phy-cells = <0>;
102 
103         nvmem-cells = <&otp_usb_u3_tx_lfps_swing_trim>;
104         nvmem-cell-names = "usb_u3_tx_lfps_swing_trim";
105 
106         realtek,amplitude-control-coarse-tuning = <0x77>;
107     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php