brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 59ef0cf Raw
56 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/dmic-codec.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Generic PDM Digital microphone (DMIC) codec8 9maintainers:10  - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>11 12allOf:13  - $ref: dai-common.yaml#14 15properties:16  compatible:17    const: dmic-codec18 19  '#sound-dai-cells':20    const: 021 22  dmicen-gpios:23    description: GPIO specifier for DMIC to control start and stop24    maxItems: 125 26  num-channels:27    description: Number of microphones on this DAI28    $ref: /schemas/types.yaml#/definitions/uint3229    minimum: 130    maximum: 831    default: 832 33  modeswitch-delay-ms:34    description: Delay (in ms) to complete DMIC mode switch35 36  wakeup-delay-ms:37    description: Delay (in ms) after enabling the DMIC38 39required:40  - compatible41 42unevaluatedProperties: false43 44examples:45  - |46    #include <dt-bindings/gpio/gpio.h>47 48    dmic {49        compatible = "dmic-codec";50        dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;51        num-channels = <1>;52        wakeup-delay-ms = <50>;53        modeswitch-delay-ms = <35>;54    };55...56