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/max98504.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 Maxim MAX98504 class D mono speaker amplifier
    2 
    3 This device supports I2C control interface and an IRQ output signal. It features
    4 a PCM and PDM digital audio interface (DAI) and a differential analog input.
    5 
    6 Required properties:
    7 
    8  - compatible : "maxim,max98504"
    9  - reg : should contain the I2C slave device address
   10  - DVDD-supply, DIOVDD-supply, PVDD-supply: power supplies for the device,
   11    as covered in ../regulator/regulator.txt
   12  - interrupts : should specify the interrupt line the device is connected to,
   13    as described in ../interrupt-controller/interrupts.txt
   14 
   15 Optional properties:
   16 
   17  - maxim,brownout-threshold - the PVDD brownout threshold, the value must be
   18    from 0, 1...21 range, corresponding to 2.6V, 2.65V...3.65V voltage range
   19  - maxim,brownout-attenuation - the brownout attenuation to the speaker gain
   20    applied during the "attack hold" and "timed hold" phase, the value must be
   21    from 0...6 (dB) range
   22  - maxim,brownout-attack-hold-ms - the brownout attack hold phase time in ms,
   23    0...255 (VBATBROWN_ATTK_HOLD, register 0x0018)
   24  - maxim,brownout-timed-hold-ms - the brownout timed hold phase time in ms,
   25    0...255 (VBATBROWN_TIME_HOLD, register 0x0019)
   26  - maxim,brownout-release-rate-ms - the brownout release phase step time in ms,
   27    0...255 (VBATBROWN_RELEASE, register 0x001A)
   28 
   29 The default value when the above properties are not specified is 0,
   30 the maxim,brownout-threshold property must be specified to actually enable
   31 the PVDD brownout protection.
   32 
   33 Example:
   34 
   35  max98504@31 {
   36         compatible = "maxim,max98504";
   37         reg = <0x31>;
   38         interrupt-parent = <&gpio_bank_0>;
   39         interrupts = <2 0>;
   40 
   41         DVDD-supply = <&regulator>;
   42         DIOVDD-supply = <&regulator>;
   43         PVDD-supply = <&regulator>;
   44 };

Cache object: 028a1e08844e3a444e5f04e6a51cacdd


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