The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/sound/rt5651.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 RT5651 audio CODEC
    2 
    3 This device supports I2C only.
    4 
    5 Required properties:
    6 
    7 - compatible : "realtek,rt5651".
    8 
    9 - reg : The I2C address of the device.
   10 
   11 Optional properties:
   12 
   13 - realtek,in2-differential
   14   Boolean. Indicate MIC2 input are differential, rather than single-ended.
   15 
   16 - realtek,dmic-en
   17   Boolean. true if dmic is used.
   18 
   19 - realtek,jack-detect-source
   20   u32. Valid values:
   21   1: Use JD1_1 pin for jack-detect
   22   2: Use JD1_2 pin for jack-detect
   23   3: Use JD2 pin for jack-detect
   24 
   25 - realtek,jack-detect-not-inverted
   26   bool. Normal jack-detect switches give an inverted (active-low) signal,
   27   set this bool in the rare case you've a jack-detect switch which is not
   28   inverted.
   29 
   30 - realtek,over-current-threshold-microamp
   31   u32, micbias over-current detection threshold in µA, valid values are
   32   600, 1500 and 2000µA.
   33 
   34 - realtek,over-current-scale-factor
   35   u32, micbias over-current detection scale-factor, valid values are:
   36   0: Scale current by 0.5
   37   1: Scale current by 0.75
   38   2: Scale current by 1.0
   39   3: Scale current by 1.5
   40 
   41 Pins on the device (for linking into audio routes) for RT5651:
   42 
   43   * DMIC L1
   44   * DMIC R1
   45   * IN1P
   46   * IN2P
   47   * IN2N
   48   * IN3P
   49   * HPOL
   50   * HPOR
   51   * LOUTL
   52   * LOUTR
   53   * PDML
   54   * PDMR
   55 
   56 Example:
   57 
   58 rt5651: codec@1a {
   59         compatible = "realtek,rt5651";
   60         reg = <0x1a>;
   61         realtek,dmic-en = "true";
   62         realtek,in2-diff = "false";
   63 };

Cache object: 971f58bc52b16e4dc056317fdc147523


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.