brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 65e4c51 Raw
85 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/maxim,max98090.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim Integrated MAX98090/MAX98091 audio codecs8 9maintainers:10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>11 12description: |13  Pins on the device (for linking into audio routes):14  MIC1, MIC2, DMICL, DMICR, IN1, IN2, IN3, IN4, IN5, IN6, IN12, IN34, IN56,15  HPL, HPR, SPKL, SPKR, RCVL, RCVR, MICBIAS16 17allOf:18  - $ref: dai-common.yaml#19 20properties:21  compatible:22    enum:23      - maxim,max9809024      - maxim,max9809125 26  reg:27    maxItems: 128 29  clocks:30    items:31      - description: master clock32 33  clock-names:34    items:35      - const: mclk36 37  interrupts:38    maxItems: 139 40  maxim,dmic-freq:41    $ref: /schemas/types.yaml#/definitions/uint3242    default: 250000043    description:44      DMIC clock frequency45 46  maxim,micbias:47    $ref: /schemas/types.yaml#/definitions/uint3248    enum: [ 0, 1, 2, 3 ]49    default: 350    description: |51      Micbias voltage applied to the analog mic, valid voltages value are:52        0 - 2.2v53        1 - 2.55v54        2 - 2.4v55        3 - 2.8v56 57  '#sound-dai-cells':58    const: 059 60required:61  - compatible62  - reg63  - interrupts64 65unevaluatedProperties: false66 67examples:68  - |69    #include <dt-bindings/interrupt-controller/irq.h>70 71    i2c {72        #address-cells = <1>;73        #size-cells = <0>;74 75        audio-codec@10 {76            compatible = "maxim,max98090";77            reg = <0x10>;78            interrupt-parent = <&gpx3>;79            interrupts = <2 IRQ_TYPE_EDGE_FALLING>;80            clocks = <&i2s0 0>;81            clock-names = "mclk";82            #sound-dai-cells = <0>;83        };84    };85