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/cs4271.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 Cirrus Logic CS4271 DT bindings
    2 
    3 This driver supports both the I2C and the SPI bus.
    4 
    5 Required properties:
    6 
    7  - compatible: "cirrus,cs4271"
    8 
    9 For required properties on SPI, please consult
   10 Documentation/devicetree/bindings/spi/spi-bus.txt
   11 
   12 Required properties on I2C:
   13 
   14  - reg: the i2c address
   15 
   16 
   17 Optional properties:
   18 
   19  - reset-gpio:  a GPIO spec to define which pin is connected to the chip's
   20                 !RESET pin
   21  - cirrus,amuteb-eq-bmutec:     When given, the Codec's AMUTEB=BMUTEC flag
   22                                 is enabled.
   23  - cirrus,enable-soft-reset:
   24         The CS4271 requires its LRCLK and MCLK to be stable before its RESET
   25         line is de-asserted. That also means that clocks cannot be changed
   26         without putting the chip back into hardware reset, which also requires
   27         a complete re-initialization of all registers.
   28 
   29         One (undocumented) workaround is to assert and de-assert the PDN bit
   30         in the MODE2 register. This workaround can be enabled with this DT
   31         property.
   32 
   33         Note that this is not needed in case the clocks are stable
   34         throughout the entire runtime of the codec.
   35 
   36  - vd-supply:   Digital power
   37  - vl-supply:   Logic power
   38  - va-supply:   Analog Power
   39 
   40 Examples:
   41 
   42         codec_i2c: cs4271@10 {
   43                 compatible = "cirrus,cs4271";
   44                 reg = <0x10>;
   45                 reset-gpio = <&gpio 23 0>;
   46                 vd-supply = <&vdd_3v3_reg>;
   47                 vl-supply = <&vdd_3v3_reg>;
   48                 va-supply = <&vdd_3v3_reg>;
   49         };
   50 
   51         codec_spi: cs4271@0 {
   52                 compatible = "cirrus,cs4271";
   53                 reg = <0x0>;
   54                 reset-gpio = <&gpio 23 0>;
   55                 spi-max-frequency = <6000000>;
   56         };
   57 

Cache object: 64d3a28cd41b1aa3575da7e593d1408f


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