Lines Matching +full:codec +full:- +full:reset
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Infineon PEB2466 codec
10 - Herve Codina <herve.codina@bootlin.com>
13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec
16 The time-slots used by the codec must be set and so, the properties
17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes
19 that involve the codec. The codec uses one 8bit time-slot per channel.
20 'dai-tdm-tdm-slot-with' must be set to 8.
22 The PEB2466 codec also supports 28 gpios (signaling pins).
25 - $ref: /schemas/spi/spi-peripheral-props.yaml
26 - $ref: dai-common.yaml#
39 - description: Master clock
41 clock-names:
43 - const: mclk
45 spi-max-frequency:
48 reset-gpios:
50 GPIO used to reset the device.
53 firmware-name:
59 '#sound-dai-cells':
62 '#gpio-cells':
65 gpio-controller: true
68 - compatible
69 - reg
70 - '#sound-dai-cells'
71 - gpio-controller
72 - '#gpio-cells'
77 - |
78 #include <dt-bindings/gpio/gpio.h>
80 #address-cells = <1>;
81 #size-cells = <0>;
82 audio-codec@0 {
85 spi-max-frequency = <8192000>;
86 reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
87 #sound-dai-cells = <0>;
88 gpio-controller;
89 #gpio-cells = <2>;