ti,pcm3168a.txt (1382B)
1Texas Instruments pcm3168a DT bindings 2 3This driver supports both SPI and I2C bus access for this codec 4 5Required properties: 6 7 - compatible: "ti,pcm3168a" 8 9 - clocks : Contains an entry for each entry in clock-names 10 11 - clock-names : Includes the following entries: 12 "scki" The system clock 13 14 - VDD1-supply : Digital power supply regulator 1 (+3.3V) 15 16 - VDD2-supply : Digital power supply regulator 2 (+3.3V) 17 18 - VCCAD1-supply : ADC power supply regulator 1 (+5V) 19 20 - VCCAD2-supply : ADC power supply regulator 2 (+5V) 21 22 - VCCDA1-supply : DAC power supply regulator 1 (+5V) 23 24 - VCCDA2-supply : DAC power supply regulator 2 (+5V) 25 26For required properties on SPI/I2C, consult SPI/I2C device tree documentation 27 28Optional properties: 29 30 - reset-gpios : Optional reset gpio line connected to RST pin of the codec. 31 The RST line is low active: 32 RST = low: device power-down 33 RST = high: device is enabled 34 35Examples: 36 37i2c0: i2c0@0 { 38 39 ... 40 41 pcm3168a: audio-codec@44 { 42 compatible = "ti,pcm3168a"; 43 reg = <0x44>; 44 reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 45 clocks = <&clk_core CLK_AUDIO>; 46 clock-names = "scki"; 47 VDD1-supply = <&supply3v3>; 48 VDD2-supply = <&supply3v3>; 49 VCCAD1-supply = <&supply5v0>; 50 VCCAD2-supply = <&supply5v0>; 51 VCCDA1-supply = <&supply5v0>; 52 VCCDA2-supply = <&supply5v0>; 53 pinctrl-names = "default"; 54 pinctrl-0 = <&dac_clk_pin>; 55 }; 56};