1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/ti,pcm1862.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments PCM186x Universal Audio ADC 8 9maintainers: 10 - Ranganath V N <vnranganath.20@gmail.com> 11 12description: | 13 The Texas Instruments PCM186x family are multi-channel audio ADCs 14 that support both I2C and SPI control interfaces, selected by 15 pin strapping. These devices include on-chip programmable gain 16 amplifiers and support differential or single-ended analog inputs. 17 18 CODEC input pins: 19 * VINL1 20 * VINR1 21 * VINL2 22 * VINR2 23 * VINL3 24 * VINR3 25 * VINL4 26 * VINR4 27 28 The pins can be used in referring sound node's audio-routing property. 29 30allOf: 31 - $ref: dai-common.yaml# 32 33properties: 34 compatible: 35 enum: 36 - ti,pcm1862 37 - ti,pcm1863 38 - ti,pcm1864 39 - ti,pcm1865 40 41 reg: 42 maxItems: 1 43 44 avdd-supply: true 45 46 dvdd-supply: true 47 48 iovdd-supply: true 49 50 '#sound-dai-cells': 51 const: 0 52 53required: 54 - compatible 55 - reg 56 - avdd-supply 57 - dvdd-supply 58 - iovdd-supply 59 60unevaluatedProperties: false 61 62examples: 63 - | 64 i2c { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 68 audio-codec@4a { 69 compatible = "ti,pcm1865"; 70 reg = <0x4a>; 71 72 avdd-supply = <®_3v3_analog>; 73 dvdd-supply = <®_3v3>; 74 iovdd-supply = <®_1v8>; 75 }; 76 }; 77