treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / phy / amlogic,meson-g12a-usb2-phy.yaml
blob57d8603076bdbf733f6b7d5ed7e87e8d98ca115e
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
3 %YAML 1.2
4 ---
5 $id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic G12A USB2 PHY
10 maintainers:
11   - Neil Armstrong <narmstrong@baylibre.com>
13 properties:
14   compatible:
15     enum:
16       - amlogic,meson-g12a-usb2-phy
18   reg:
19     maxItems: 1
21   clocks:
22     maxItems: 1
24   clock-names:
25     items:
26       - const: xtal
28   resets:
29     maxItems: 1
31   reset-names:
32     items:
33       - const: phy
35   "#phy-cells":
36     const: 0
38   phy-supply:
39      description:
40        Phandle to a regulator that provides power to the PHY. This
41        regulator will be managed during the PHY power on/off sequence.
43 required:
44   - compatible
45   - reg
46   - clocks
47   - clock-names
48   - resets
49   - reset-names
50   - "#phy-cells"
52 examples:
53   - |
54     phy@36000 {
55           compatible = "amlogic,meson-g12a-usb2-phy";
56           reg = <0x36000 0x2000>;
57           clocks = <&xtal>;
58           clock-names = "xtal";
59           resets = <&phy_reset>;
60           reset-names = "phy";
61           #phy-cells = <0>;
62     };