1 CS53L30 audio CODEC 1 CS53L30 audio CODEC 2 2 3 Required properties: 3 Required properties: 4 4 5 - compatible : "cirrus,cs53l30" 5 - compatible : "cirrus,cs53l30" 6 6 7 - reg : the I2C address of the device 7 - reg : the I2C address of the device 8 8 9 - VA-supply, VP-supply : power supplies for 9 - VA-supply, VP-supply : power supplies for the device, 10 as covered in Documentation/devicetree/bin 10 as covered in Documentation/devicetree/bindings/regulator/regulator.txt. 11 11 12 Optional properties: 12 Optional properties: 13 13 14 - reset-gpios : a GPIO spec for the reset pi 14 - reset-gpios : a GPIO spec for the reset pin. 15 15 16 - mute-gpios : a GPIO spec for the MUTE pin. 16 - mute-gpios : a GPIO spec for the MUTE pin. The active state can be either 17 GPIO_ACTIVE_HIGH or GPIO_ACTI 17 GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW, which would be handled 18 by the driver automatically. 18 by the driver automatically. 19 19 20 - cirrus,micbias-lvl : Set the output voltag 20 - cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin. 21 0 = Hi-Z 21 0 = Hi-Z 22 1 = 1.80 V 22 1 = 1.80 V 23 2 = 2.75 V 23 2 = 2.75 V 24 24 25 - cirrus,use-sdout2 : This is a boolean prop 25 - cirrus,use-sdout2 : This is a boolean property. If present, it indicates 26 the hardware design co 26 the hardware design connects both SDOUT1 and SDOUT2 27 pins to output data. O 27 pins to output data. Otherwise, it indicates that 28 only SDOUT1 is connect 28 only SDOUT1 is connected for data output. 29 * CS53l30 supports 4-c 29 * CS53l30 supports 4-channel data output in the same 30 * frame using two diff 30 * frame using two different ways: 31 * 1) Normal I2S mode o 31 * 1) Normal I2S mode on two data pins -- each SDOUT 32 * carries 2-channel 32 * carries 2-channel data in the same time. 33 * 2) TDM mode on one s !! 33 * 2) TDM mode on one signle data pin -- SDOUT1 carries 34 * 4-channel data pe 34 * 4-channel data per frame. 35 35 36 Example: 36 Example: 37 37 38 codec: cs53l30@48 { 38 codec: cs53l30@48 { 39 compatible = "cirrus,cs53l30"; 39 compatible = "cirrus,cs53l30"; 40 reg = <0x48>; 40 reg = <0x48>; 41 reset-gpios = <&gpio 54 0>; 41 reset-gpios = <&gpio 54 0>; 42 VA-supply = <&cs53l30_va>; 42 VA-supply = <&cs53l30_va>; 43 VP-supply = <&cs53l30_vp>; 43 VP-supply = <&cs53l30_vp>; 44 }; 44 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.