brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · dc256ad Raw
45 lines · plain
1CS53L30 audio CODEC2 3Required properties:4 5  - compatible : "cirrus,cs53l30"6 7  - reg : the I2C address of the device8 9  - VA-supply, VP-supply : power supplies for the device,10    as covered in Documentation/devicetree/bindings/regulator/regulator.txt.11 12Optional properties:13 14  - reset-gpios : a GPIO spec for the reset pin.15 16  - mute-gpios : a GPIO spec for the MUTE pin. The active state can be either17		 GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW, which would be handled18		 by the driver automatically.19 20  - cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin.21			 0 = Hi-Z22			 1 = 1.80 V23			 2 = 2.75 V24 25  - cirrus,use-sdout2 : This is a boolean property. If present, it indicates26			the hardware design connects both SDOUT1 and SDOUT227			pins to output data. Otherwise, it indicates that28			only SDOUT1 is connected for data output.29			* CS53l30 supports 4-channel data output in the same30			* frame using two different ways:31			* 1) Normal I2S mode on two data pins -- each SDOUT32			*    carries 2-channel data in the same time.33			* 2) TDM mode on one single data pin -- SDOUT1 carries34			*    4-channel data per frame.35 36Example:37 38codec: cs53l30@48 {39	compatible = "cirrus,cs53l30";40	reg = <0x48>;41	reset-gpios = <&gpio 54 0>;42	VA-supply = <&cs53l30_va>;43	VP-supply = <&cs53l30_vp>;44};45