xref: /linux/Documentation/devicetree/bindings/sound/everest,es71x4.yaml (revision 9e676a024fa1fa2bd8150c2d2ba85478280353bc)
1*534a0e5eSNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*534a0e5eSNeil Armstrong%YAML 1.2
3*534a0e5eSNeil Armstrong---
4*534a0e5eSNeil Armstrong$id: http://devicetree.org/schemas/sound/everest,es71x4.yaml#
5*534a0e5eSNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
6*534a0e5eSNeil Armstrong
7*534a0e5eSNeil Armstrongtitle: Everest ES7134/7144/7154 2 channels I2S analog to digital converter
8*534a0e5eSNeil Armstrong
9*534a0e5eSNeil Armstrongmaintainers:
10*534a0e5eSNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
11*534a0e5eSNeil Armstrong
12*534a0e5eSNeil Armstrongproperties:
13*534a0e5eSNeil Armstrong  compatible:
14*534a0e5eSNeil Armstrong    enum:
15*534a0e5eSNeil Armstrong      - everest,es7134
16*534a0e5eSNeil Armstrong      - everest,es7144
17*534a0e5eSNeil Armstrong      - everest,es7154
18*534a0e5eSNeil Armstrong
19*534a0e5eSNeil Armstrong  VDD-supply: true
20*534a0e5eSNeil Armstrong  PVDD-supply: true
21*534a0e5eSNeil Armstrong
22*534a0e5eSNeil Armstrong  '#sound-dai-cells':
23*534a0e5eSNeil Armstrong    const: 0
24*534a0e5eSNeil Armstrong
25*534a0e5eSNeil Armstrongrequired:
26*534a0e5eSNeil Armstrong  - compatible
27*534a0e5eSNeil Armstrong  - VDD-supply
28*534a0e5eSNeil Armstrong
29*534a0e5eSNeil ArmstrongallOf:
30*534a0e5eSNeil Armstrong  - $ref: dai-common.yaml#
31*534a0e5eSNeil Armstrong  - if:
32*534a0e5eSNeil Armstrong      properties:
33*534a0e5eSNeil Armstrong        compatible:
34*534a0e5eSNeil Armstrong          contains:
35*534a0e5eSNeil Armstrong            enum:
36*534a0e5eSNeil Armstrong              - everest,es7134
37*534a0e5eSNeil Armstrong              - everest,es7144
38*534a0e5eSNeil Armstrong    then:
39*534a0e5eSNeil Armstrong      properties:
40*534a0e5eSNeil Armstrong        PVDD-supply: false
41*534a0e5eSNeil Armstrong
42*534a0e5eSNeil Armstrong  - if:
43*534a0e5eSNeil Armstrong      properties:
44*534a0e5eSNeil Armstrong        compatible:
45*534a0e5eSNeil Armstrong          contains:
46*534a0e5eSNeil Armstrong            enum:
47*534a0e5eSNeil Armstrong              - everest,es7154
48*534a0e5eSNeil Armstrong    then:
49*534a0e5eSNeil Armstrong      required:
50*534a0e5eSNeil Armstrong        - PVDD-supply
51*534a0e5eSNeil Armstrong
52*534a0e5eSNeil ArmstrongunevaluatedProperties: false
53*534a0e5eSNeil Armstrong
54*534a0e5eSNeil Armstrongexamples:
55*534a0e5eSNeil Armstrong  - |
56*534a0e5eSNeil Armstrong    codec {
57*534a0e5eSNeil Armstrong        compatible = "everest,es7134";
58*534a0e5eSNeil Armstrong        #sound-dai-cells = <0>;
59*534a0e5eSNeil Armstrong        VDD-supply = <&vdd_supply>;
60*534a0e5eSNeil Armstrong    };
61*534a0e5eSNeil Armstrong
62*534a0e5eSNeil Armstrong...
63