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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/cs43130.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 CS43130 DAC
  2 
  3 Required properties:
  4 
  5   - compatible : "cirrus,cs43130", "cirrus,cs4399", "cirrus,cs43131",
  6                  "cirrus,cs43198"
  7 
  8   - reg : the I2C address of the device for I2C
  9 
 10   - VA-supply, VP-supply, VL-supply, VCP-supply, VD-supply:
 11         power supplies for the device, as covered in
 12         Documentation/devicetree/bindings/regulator/regulator.txt.
 13 
 14 
 15 Optional properties:
 16 
 17   - reset-gpios : Active low GPIO used to reset the device
 18 
 19   - cirrus,xtal-ibias:
 20    When external MCLK is generated by external crystal
 21    oscillator, CS43130 can be used to provide bias current
 22    for external crystal.  Amount of bias current sent is
 23    set as:
 24    1 = 7.5uA
 25    2 = 12.5uA
 26    3 = 15uA
 27 
 28   - cirrus,dc-measure:
 29    Boolean, define to enable headphone DC impedance measurement.
 30 
 31   - cirrus,ac-measure:
 32    Boolean, define to enable headphone AC impedance measurement.
 33    DC impedance must also be enabled for AC impedance measurement.
 34 
 35   - cirrus,dc-threshold:
 36    Define 2 DC impedance thresholds in ohms for HP output control.
 37    Default values are 50 and 120 Ohms.
 38 
 39   - cirrus,ac-freq:
 40    Define the frequencies at which to measure HP AC impedance.
 41    Only used if "cirrus,dc-measure" is defined.
 42    Exactly 10 frequencies must be defined.
 43    If this properties is undefined, by default,
 44    following frequencies are used:
 45    <24 43 93 200 431 928 2000 4309 9283 20000>
 46    The above frequencies are logarithmically equally spaced.
 47    Log base is 10.
 48 
 49 Example:
 50 
 51 cs43130: audio-codec@30 {
 52    compatible = "cirrus,cs43130";
 53    reg = <0x30>;
 54    reset-gpios = <&axi_gpio 54 0>;
 55    VA-supply = <&dummy_vreg>;
 56    VP-supply = <&dummy_vreg>;
 57    VL-supply = <&dummy_vreg>;
 58    VCP-supply = <&dummy_vreg>;
 59    VD-supply = <&dummy_vreg>;
 60    cirrus,xtal-ibias = <2>;
 61    interrupt-parent = <&gpio0>;
 62    interrupts = <55 8>;
 63    cirrus,dc-measure;
 64    cirrus,ac-measure;
 65    cirrus,dc-threshold = /bits/ 16 <20 100>;
 66    cirrus,ac-freq = /bits/ 16 <24 43 93 200 431 928 2000 4309 9283 20000>;
 67 };

~ [ 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