linux/Documentation/devicetree/bindings/sound/rt5640.txt
<<
>>
Prefs
   1RT5640 audio CODEC
   2
   3This device supports I2C only.
   4
   5Required properties:
   6
   7- compatible : "realtek,rt5640".
   8
   9- reg : The I2C address of the device.
  10
  11- interrupts : The CODEC's interrupt output.
  12
  13Optional properties:
  14
  15- realtek,in1-differential
  16- realtek,in2-differential
  17  Boolean. Indicate MIC1/2 input are differential, rather than single-ended.
  18
  19- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
  20
  21Example:
  22
  23rt5640 {
  24        compatible = "realtek,rt5640";
  25        reg = <0x1c>;
  26        interrupt-parent = <&gpio>;
  27        interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
  28        realtek,ldo1-en-gpios =
  29                <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  30};
  31