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/wm8962.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 WM8962 audio CODEC
    2 
    3 This device supports I2C only.
    4 
    5 Required properties:
    6 
    7   - compatible : "wlf,wm8962"
    8 
    9   - reg : the I2C address of the device.
   10 
   11 Optional properties:
   12 
   13   - clocks : The clock source of the mclk
   14 
   15   - spk-mono: This is a boolean property. If present, the SPK_MONO bit
   16     of R51 (Class D Control 2) gets set, indicating that the speaker is
   17     in mono mode.
   18 
   19   - mic-cfg : Default register value for R48 (Additional Control 4).
   20     If absent, the default should be the register default.
   21 
   22   - gpio-cfg : A list of GPIO configuration register values. The list must
   23     be 6 entries long. If absent, no configuration of these registers is
   24     performed. And note that only the value within [0x0, 0xffff] is valid.
   25     Any other value is regarded as setting the GPIO register by its reset
   26     value 0x0.
   27 
   28 Example:
   29 
   30 wm8962: codec@1a {
   31         compatible = "wlf,wm8962";
   32         reg = <0x1a>;
   33         clocks = <&clks IMX6QDL_CLK_CKO>;
   34 
   35         gpio-cfg = <
   36                 0x0000 /* 0:Default */
   37                 0x0000 /* 1:Default */
   38                 0x0013 /* 2:FN_DMICCLK */
   39                 0x0000 /* 3:Default */
   40                 0x8014 /* 4:FN_DMICCDAT */
   41                 0x0000 /* 5:Default */
   42         >;
   43 };

Cache object: 80af0b455989621c99f66dbc019ddcea


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