1*4882a593SmuzhiyunCS35L32 audio CODEC 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun - compatible : "cirrus,cs35l32" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun - reg : the I2C address of the device for I2C. Address is determined by the level 8*4882a593Smuzhiyun of the AD0 pin. Level 0 is 0x40 while Level 1 is 0x41. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun - VA-supply, VP-supply : power supplies for the device, 11*4882a593Smuzhiyun as covered in Documentation/devicetree/bindings/regulator/regulator.txt. 12*4882a593Smuzhiyun 13*4882a593SmuzhiyunOptional properties: 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 16*4882a593Smuzhiyun deasserted before communication to the codec starts. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun - cirrus,boost-manager : Boost voltage control. 19*4882a593Smuzhiyun 0 = Automatically managed. Boost-converter output voltage is the higher 20*4882a593Smuzhiyun of the two: Class G or adaptive LED voltage. 21*4882a593Smuzhiyun 1 = Automatically managed irrespective of audio, adapting for low-power 22*4882a593Smuzhiyun dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode 23*4882a593Smuzhiyun if LEDs are OFF (VBST = VP). 24*4882a593Smuzhiyun 2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP). 25*4882a593Smuzhiyun 3 = Boost voltage fixed at 5 V. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun - cirrus,sdout-datacfg : Data configuration for dual CS35L32 applications only. 28*4882a593Smuzhiyun Determines the data packed in a two-CS35L32 configuration. 29*4882a593Smuzhiyun 0 = Left/right channels VMON[11:0], IMON[11:0], VPMON[7:0]. 30*4882a593Smuzhiyun 1 = Left/right channels VMON[11:0], IMON[11:0], STATUS. 31*4882a593Smuzhiyun 2 = (Default) left/right channels VMON[15:0], IMON [15:0]. 32*4882a593Smuzhiyun 3 = Left/right channels VPMON[7:0], STATUS. 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun - cirrus,sdout-share : SDOUT sharing. Determines whether one or two CS35L32 35*4882a593Smuzhiyun devices are on board sharing SDOUT. 36*4882a593Smuzhiyun 0 = (Default) One IC. 37*4882a593Smuzhiyun 1 = Two IC's. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun - cirrus,battery-recovery : Low battery nominal recovery threshold, rising VP. 40*4882a593Smuzhiyun 0 = 3.1V 41*4882a593Smuzhiyun 1 = 3.2V 42*4882a593Smuzhiyun 2 = 3.3V (Default) 43*4882a593Smuzhiyun 3 = 3.4V 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun - cirrus,battery-threshold : Low battery nominal threshold, falling VP. 46*4882a593Smuzhiyun 0 = 3.1V 47*4882a593Smuzhiyun 1 = 3.2V 48*4882a593Smuzhiyun 2 = 3.3V 49*4882a593Smuzhiyun 3 = 3.4V (Default) 50*4882a593Smuzhiyun 4 = 3.5V 51*4882a593Smuzhiyun 5 = 3.6V 52*4882a593Smuzhiyun 53*4882a593SmuzhiyunExample: 54*4882a593Smuzhiyun 55*4882a593Smuzhiyuncodec: codec@40 { 56*4882a593Smuzhiyun compatible = "cirrus,cs35l32"; 57*4882a593Smuzhiyun reg = <0x40>; 58*4882a593Smuzhiyun reset-gpios = <&gpio 10 0>; 59*4882a593Smuzhiyun cirrus,boost-manager = <0x03>; 60*4882a593Smuzhiyun cirrus,sdout-datacfg = <0x02>; 61*4882a593Smuzhiyun VA-supply = <®_audio>; 62*4882a593Smuzhiyun}; 63