treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / phy / intel,lgm-emmc-phy.yaml
blobff7959c21af060e8b360b70d2a5f950b656db101
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Intel Lightning Mountain(LGM) eMMC PHY Device Tree Bindings
9 maintainers:
10   - Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@linux.intel.com>
12 description: |+
13   Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon
14   node is used to reference the base address of eMMC phy registers.
16   The eMMC PHY node should be the child of a syscon node with the
17   required property:
19   - compatible:         Should be one of the following:
20                         "intel,lgm-syscon", "syscon"
21   - reg:
22       maxItems: 1
24 properties:
25   compatible:
26       const: intel,lgm-emmc-phy
28   "#phy-cells":
29     const: 0
31   reg:
32     maxItems: 1
34   clocks:
35     maxItems: 1
37 required:
38   - "#phy-cells"
39   - compatible
40   - reg
41   - clocks
43 examples:
44   - |
45     sysconf: chiptop@e0200000 {
46       compatible = "intel,lgm-syscon", "syscon";
47       reg = <0xe0200000 0x100>;
49       emmc-phy: emmc-phy@a8 {
50         compatible = "intel,lgm-emmc-phy";
51         reg = <0x00a8 0x10>;
52         clocks = <&emmc>;
53         #phy-cells = <0>;
54       };
55     };
56 ...