1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/ti,pcm3168a.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Texas Instruments PCM3168A Audio Codec 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Damien Horsley <Damien.Horsley@imgtec.com> 11cb7aa33aSEmmanuel Vadot - Geert Uytterhoeven <geert+renesas@glider.be> 12cb7aa33aSEmmanuel Vadot - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13cb7aa33aSEmmanuel Vadot 14cb7aa33aSEmmanuel Vadotdescription: 15cb7aa33aSEmmanuel Vadot The Texas Instruments PCM3168A is a 24-bit Multi-channel Audio CODEC with 16cb7aa33aSEmmanuel Vadot 96/192kHz sampling rate, supporting both SPI and I2C bus access. 17cb7aa33aSEmmanuel Vadot 18cb7aa33aSEmmanuel Vadotproperties: 19cb7aa33aSEmmanuel Vadot compatible: 20cb7aa33aSEmmanuel Vadot const: ti,pcm3168a 21cb7aa33aSEmmanuel Vadot 22cb7aa33aSEmmanuel Vadot reg: 23cb7aa33aSEmmanuel Vadot maxItems: 1 24cb7aa33aSEmmanuel Vadot 25cb7aa33aSEmmanuel Vadot clocks: 26cb7aa33aSEmmanuel Vadot items: 27cb7aa33aSEmmanuel Vadot - description: System clock input 28cb7aa33aSEmmanuel Vadot 29cb7aa33aSEmmanuel Vadot clock-names: 30cb7aa33aSEmmanuel Vadot items: 31cb7aa33aSEmmanuel Vadot - const: scki 32cb7aa33aSEmmanuel Vadot 33cb7aa33aSEmmanuel Vadot reset-gpios: 34cb7aa33aSEmmanuel Vadot items: 35cb7aa33aSEmmanuel Vadot - description: | 36cb7aa33aSEmmanuel Vadot GPIO line connected to the active-low RST pin of the codec. 37cb7aa33aSEmmanuel Vadot RST = low: device power-down 38cb7aa33aSEmmanuel Vadot RST = high: device is enabled 39cb7aa33aSEmmanuel Vadot 40cb7aa33aSEmmanuel Vadot "#sound-dai-cells": 41cb7aa33aSEmmanuel Vadot enum: [0, 1] 42cb7aa33aSEmmanuel Vadot 43cb7aa33aSEmmanuel Vadot VDD1-supply: 44cb7aa33aSEmmanuel Vadot description: Digital power supply regulator 1 (+3.3V) 45cb7aa33aSEmmanuel Vadot 46cb7aa33aSEmmanuel Vadot VDD2-supply: 47cb7aa33aSEmmanuel Vadot description: Digital power supply regulator 2 (+3.3V) 48cb7aa33aSEmmanuel Vadot 49cb7aa33aSEmmanuel Vadot VCCAD1-supply: 50cb7aa33aSEmmanuel Vadot description: ADC power supply regulator 1 (+5V) 51cb7aa33aSEmmanuel Vadot 52cb7aa33aSEmmanuel Vadot VCCAD2-supply: 53cb7aa33aSEmmanuel Vadot description: ADC power supply regulator 2 (+5V) 54cb7aa33aSEmmanuel Vadot 55cb7aa33aSEmmanuel Vadot VCCDA1-supply: 56cb7aa33aSEmmanuel Vadot description: DAC power supply regulator 1 (+5V) 57cb7aa33aSEmmanuel Vadot 58cb7aa33aSEmmanuel Vadot VCCDA2-supply: 59cb7aa33aSEmmanuel Vadot description: DAC power supply regulator 2 (+5V) 60cb7aa33aSEmmanuel Vadot 61cb7aa33aSEmmanuel Vadot ports: 62cb7aa33aSEmmanuel Vadot $ref: audio-graph-port.yaml#/definitions/port-base 63*84943d6fSEmmanuel Vadot unevaluatedProperties: false 64cb7aa33aSEmmanuel Vadot properties: 65cb7aa33aSEmmanuel Vadot port@0: 66cb7aa33aSEmmanuel Vadot $ref: audio-graph-port.yaml# 67cb7aa33aSEmmanuel Vadot description: Audio input port. 68cb7aa33aSEmmanuel Vadot 69cb7aa33aSEmmanuel Vadot port@1: 70cb7aa33aSEmmanuel Vadot $ref: audio-graph-port.yaml# 71cb7aa33aSEmmanuel Vadot description: Audio output port. 72cb7aa33aSEmmanuel Vadot 73cb7aa33aSEmmanuel Vadotrequired: 74cb7aa33aSEmmanuel Vadot - compatible 75cb7aa33aSEmmanuel Vadot - reg 76cb7aa33aSEmmanuel Vadot - clocks 77cb7aa33aSEmmanuel Vadot - clock-names 78cb7aa33aSEmmanuel Vadot - VDD1-supply 79cb7aa33aSEmmanuel Vadot - VDD2-supply 80cb7aa33aSEmmanuel Vadot - VCCAD1-supply 81cb7aa33aSEmmanuel Vadot - VCCAD2-supply 82cb7aa33aSEmmanuel Vadot - VCCDA1-supply 83cb7aa33aSEmmanuel Vadot - VCCDA2-supply 84cb7aa33aSEmmanuel Vadot 85cb7aa33aSEmmanuel VadotadditionalProperties: false 86cb7aa33aSEmmanuel Vadot 87cb7aa33aSEmmanuel Vadotexamples: 88cb7aa33aSEmmanuel Vadot - | 89cb7aa33aSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 90cb7aa33aSEmmanuel Vadot 91cb7aa33aSEmmanuel Vadot i2c { 92cb7aa33aSEmmanuel Vadot #address-cells = <1>; 93cb7aa33aSEmmanuel Vadot #size-cells = <0>; 94cb7aa33aSEmmanuel Vadot 95cb7aa33aSEmmanuel Vadot pcm3168a: audio-codec@44 { 96cb7aa33aSEmmanuel Vadot compatible = "ti,pcm3168a"; 97cb7aa33aSEmmanuel Vadot reg = <0x44>; 98cb7aa33aSEmmanuel Vadot reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 99cb7aa33aSEmmanuel Vadot clocks = <&clk_core 42>; 100cb7aa33aSEmmanuel Vadot clock-names = "scki"; 101cb7aa33aSEmmanuel Vadot VDD1-supply = <&supply3v3>; 102cb7aa33aSEmmanuel Vadot VDD2-supply = <&supply3v3>; 103cb7aa33aSEmmanuel Vadot VCCAD1-supply = <&supply5v0>; 104cb7aa33aSEmmanuel Vadot VCCAD2-supply = <&supply5v0>; 105cb7aa33aSEmmanuel Vadot VCCDA1-supply = <&supply5v0>; 106cb7aa33aSEmmanuel Vadot VCCDA2-supply = <&supply5v0>; 107cb7aa33aSEmmanuel Vadot }; 108cb7aa33aSEmmanuel Vadot }; 109