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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/samsung,usb2-phy.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-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/phy/samsung,usb2-phy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Samsung S5P/Exynos SoC USB 2.0 PHY
  8 
  9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>
 11   - Marek Szyprowski <m.szyprowski@samsung.com>
 12   - Sylwester Nawrocki <s.nawrocki@samsung.com>
 13 
 14 description: |
 15   The first phandle argument in the PHY specifier identifies the PHY, its
 16   meaning is compatible dependent. For the currently supported SoCs (Exynos4210
 17   and Exynos4212) it is as follows::
 18     0 - USB device ("device"),
 19     1 - USB host ("host"),
 20     2 - HSIC0 ("hsic0"),
 21     3 - HSIC1 ("hsic1"),
 22   Exynos3250 has only USB device phy available as phy 0.
 23 
 24   Exynos4210 and Exynos4212 use mode switching and require that mode switch
 25   register is supplied.
 26 
 27 properties:
 28   compatible:
 29     enum:
 30       - samsung,exynos3250-usb2-phy
 31       - samsung,exynos4210-usb2-phy
 32       - samsung,exynos4x12-usb2-phy
 33       - samsung,exynos5250-usb2-phy
 34       - samsung,exynos5420-usb2-phy
 35       - samsung,s5pv210-usb2-phy
 36 
 37   clocks:
 38     items:
 39       - description: PHY module gate clock.
 40       - description: Reference rate clock of PHY module.
 41 
 42   clock-names:
 43     items:
 44       - const: phy
 45       - const: ref
 46 
 47   "#phy-cells":
 48     const: 1
 49 
 50   reg:
 51     maxItems: 1
 52 
 53   samsung,pmureg-phandle:
 54     $ref: /schemas/types.yaml#/definitions/phandle
 55     description:
 56       Phandle to PMU system controller interface.
 57 
 58   samsung,sysreg-phandle:
 59     $ref: /schemas/types.yaml#/definitions/phandle
 60     description:
 61       Phandle to system registers interface.
 62 
 63   vbus-supply:
 64     description:
 65       VBUS power source.
 66 
 67 required:
 68   - compatible
 69   - clocks
 70   - clock-names
 71   - "#phy-cells"
 72   - reg
 73   - samsung,pmureg-phandle
 74 
 75 allOf:
 76   - if:
 77       properties:
 78         compatible:
 79           contains:
 80             enum:
 81               - samsung,exynos4x12-usb2-phy
 82               - samsung,exynos5250-usb2-phy
 83               - samsung,exynos5420-usb2-phy
 84     then:
 85       required:
 86         - samsung,sysreg-phandle
 87 
 88 additionalProperties: false
 89 
 90 examples:
 91   - |
 92     #include <dt-bindings/clock/exynos5420.h>
 93 
 94     phy@12130000 {
 95         compatible = "samsung,exynos5420-usb2-phy";
 96         reg = <0x12130000 0x100>;
 97         #phy-cells = <1>;
 98         clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;
 99         clock-names = "phy", "ref";
100         samsung,sysreg-phandle = <&sysreg_system_controller>;
101         samsung,pmureg-phandle = <&pmu_system_controller>;
102     };

~ [ 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