xref: /linux/Documentation/devicetree/bindings/sound/everest,es7241.yaml (revision 9e676a024fa1fa2bd8150c2d2ba85478280353bc)
178df231dSNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
278df231dSNeil Armstrong%YAML 1.2
378df231dSNeil Armstrong---
478df231dSNeil Armstrong$id: http://devicetree.org/schemas/sound/everest,es7241.yaml#
578df231dSNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
678df231dSNeil Armstrong
778df231dSNeil Armstrongtitle: Everest ES7241 2 channels I2S analog to digital converter
878df231dSNeil Armstrong
978df231dSNeil Armstrongmaintainers:
1078df231dSNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
1178df231dSNeil Armstrong
1278df231dSNeil Armstrongproperties:
1378df231dSNeil Armstrong  compatible:
1478df231dSNeil Armstrong    enum:
1578df231dSNeil Armstrong      - everest,es7241
1678df231dSNeil Armstrong
1778df231dSNeil Armstrong  reset-gpios:
1878df231dSNeil Armstrong    maxItems: 1
1978df231dSNeil Armstrong    description: GPIO connected to the reset pin
2078df231dSNeil Armstrong
2178df231dSNeil Armstrong  m0-gpios:
2278df231dSNeil Armstrong    maxItems: 1
2378df231dSNeil Armstrong    description: GPIO connected to the m0 pin
2478df231dSNeil Armstrong
2578df231dSNeil Armstrong  m1-gpios:
2678df231dSNeil Armstrong    maxItems: 1
2778df231dSNeil Armstrong    description: GPIO connected to the m0 pin
2878df231dSNeil Armstrong
2978df231dSNeil Armstrong  everest,sdout-pull-down:
3078df231dSNeil Armstrong    type: boolean
3178df231dSNeil Armstrong    description:
3278df231dSNeil Armstrong      Format used by the serial interface is controlled by pulling
3378df231dSNeil Armstrong      the sdout. If the sdout is pulled down, leftj format is used.
3478df231dSNeil Armstrong      If this property is not provided, sdout is assumed to pulled
3578df231dSNeil Armstrong      up and i2s format is used
3678df231dSNeil Armstrong
3778df231dSNeil Armstrong  VDDP-supply: true
3878df231dSNeil Armstrong  VDDA-supply: true
3978df231dSNeil Armstrong  VDDD-supply: true
4078df231dSNeil Armstrong
4178df231dSNeil Armstrong  '#sound-dai-cells':
4278df231dSNeil Armstrong    const: 0
4378df231dSNeil Armstrong
4478df231dSNeil Armstrongrequired:
4578df231dSNeil Armstrong  - compatible
4678df231dSNeil Armstrong  - VDDP-supply
4778df231dSNeil Armstrong  - VDDA-supply
4878df231dSNeil Armstrong  - VDDD-supply
4978df231dSNeil Armstrong
5078df231dSNeil ArmstrongallOf:
5178df231dSNeil Armstrong  - $ref: dai-common.yaml#
5278df231dSNeil Armstrong
5378df231dSNeil ArmstrongunevaluatedProperties: false
5478df231dSNeil Armstrong
5578df231dSNeil Armstrongexamples:
5678df231dSNeil Armstrong  - |
5778df231dSNeil Armstrong    #include <dt-bindings/gpio/gpio.h>
58*fffe003fSKrzysztof Kozlowski
5978df231dSNeil Armstrong    codec {
6078df231dSNeil Armstrong        compatible = "everest,es7241";
6178df231dSNeil Armstrong        #sound-dai-cells = <0>;
6278df231dSNeil Armstrong        reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
6378df231dSNeil Armstrong        VDDP-supply = <&vddp_supply>;
6478df231dSNeil Armstrong        VDDA-supply = <&vdda_supply>;
6578df231dSNeil Armstrong        VDDD-supply = <&vddd_supply>;
6678df231dSNeil Armstrong    };
6778df231dSNeil Armstrong
6878df231dSNeil Armstrong...
69