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/wm8960.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 WM8960 audio CODEC
    2 
    3 This device supports I2C only.
    4 
    5 Required properties:
    6 
    7   - compatible : "wlf,wm8960"
    8 
    9   - reg : the I2C address of the device.
   10 
   11 Optional properties:
   12   - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of
   13         R24 (Additional control 2) gets set, indicating that ADCLRC and DACLRC pins
   14         will be disabled only when ADC (Left and Right) and DAC (Left and Right)
   15         are disabled.
   16         When wm8960 works on synchronize mode and DACLRC pin is used to supply
   17         frame clock, it will no frame clock for captrue unless enable DAC to enable
   18         DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue.
   19 
   20   - wlf,capless: This is a boolean property. If present, OUT3 pin will be
   21         enabled and disabled together with HP_L and HP_R pins in response to jack
   22         detect events.
   23 
   24   - wlf,hp-cfg: A list of headphone jack detect configuration register values.
   25                 The list must be 3 entries long.
   26                 hp-cfg[0]: HPSEL[1:0] of R48 (Additional Control 4).
   27                 hp-cfg[1]: {HPSWEN:HPSWPOL} of R24 (Additional Control 2).
   28                 hp-cfg[2]: {TOCLKSEL:TOEN} of R23 (Additional Control 1).
   29 
   30   - wlf,gpio-cfg: A list of GPIO configuration register values.
   31                   The list must be 2 entries long.
   32                   gpio-cfg[0]: ALRCGPIO of R9 (Audio interface)
   33                   gpio-cfg[1]: {GPIOPOL:GPIOSEL[2:0]} of R48 (Additional Control 4).
   34 
   35 Example:
   36 
   37 wm8960: codec@1a {
   38         compatible = "wlf,wm8960";
   39         reg = <0x1a>;
   40 
   41         wlf,shared-lrclk;
   42 };

Cache object: c93e41c1114e8f62faa4b3417166d092


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