~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/cs35l32.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php