FILE
adi,adau7118.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/sound/adi,adau7118.yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/adi,adau7118.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter 8 9maintainers: 10 - Nuno Sá <nuno.sa@analog.com> 11 12description: | 13 Analog Devices ADAU7118 8 Channel PDM to I2S/TDM Converter over I2C or HW 14 standalone mode. 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf 16 17allOf: 18 - $ref: dai-common.yaml# 19 20properties: 21 compatible: 22 enum: 23 - adi,adau7118 24 25 reg: 26 maxItems: 1 27 28 "#sound-dai-cells": 29 const: 0 30 31 iovdd-supply: 32 description: Digital Input/Output Power Supply. 33 34 dvdd-supply: 35 description: Internal Core Digital Power Supply. 36 37 adi,decimation-ratio: 38 description: | 39 This property set's the decimation ratio of PDM to PCM audio data. 40 $ref: /schemas/types.yaml#/definitions/uint32 41 enum: [64, 32, 16] 42 default: 64 43 44 adi,pdm-clk-map: 45 description: | 46 The ADAU7118 has two PDM clocks for the four Inputs. Each input must be 47 assigned to one of these two clocks. This property set's the mapping 48 between the clocks and the inputs. 49 $ref: /schemas/types.yaml#/definitions/uint32-array 50 minItems: 4 51 maxItems: 4 52 items: 53 maximum: 1 54 default: [0, 0, 1, 1] 55 56required: 57 - "#sound-dai-cells" 58 - compatible 59 - iovdd-supply 60 - dvdd-supply 61 62unevaluatedProperties: false 63 64examples: 65 - | 66 i2c { 67 /* example with i2c support */ 68 #address-cells = <1>; 69 #size-cells = <0>; 70 adau7118_codec: audio-codec@14 { 71 compatible = "adi,adau7118"; 72 reg = <0x14>; 73 #sound-dai-cells = <0>; 74 iovdd-supply = <&supply>; 75 dvdd-supply = <&supply>; 76 adi,pdm-clk-map = <1 1 0 0>; 77 adi,decimation-ratio = <16>; 78 }; 79 }; 80 81 /* example with hw standalone mode */ 82 adau7118_codec_hw: adau7118-codec-hw { 83 compatible = "adi,adau7118"; 84 #sound-dai-cells = <0>; 85 iovdd-supply = <&supply>; 86 dvdd-supply = <&supply>; 87 };
~/
Read-only file preview.