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/nvidia,tegra-audio-rt5640.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 NVIDIA Tegra audio complex, with RT5640 CODEC
    2 
    3 Required properties:
    4 - compatible : "nvidia,tegra-audio-rt5640"
    5 - clocks : Must contain an entry for each entry in clock-names.
    6   See ../clocks/clock-bindings.txt for details.
    7 - clock-names : Must include the following entries:
    8   - pll_a
    9   - pll_a_out0
   10   - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
   11 - nvidia,model : The user-visible name of this sound complex.
   12 - nvidia,audio-routing : A list of the connections between audio components.
   13   Each entry is a pair of strings, the first being the connection's sink,
   14   the second being the connection's source. Valid names for sources and
   15   sinks are the RT5640's pins (as documented in its binding), and the jacks
   16   on the board:
   17 
   18   * Headphones
   19   * Speakers
   20   * Mic Jack
   21 
   22 - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
   23   connected to the CODEC.
   24 - nvidia,audio-codec : The phandle of the RT5640 audio codec. This binding
   25   assumes that AIF1 on the CODEC is connected to Tegra.
   26 
   27 Optional properties:
   28 - nvidia,hp-det-gpios : The GPIO that detects headphones are plugged in
   29 
   30 Example:
   31 
   32 sound {
   33         compatible = "nvidia,tegra-audio-rt5640-dalmore",
   34                         "nvidia,tegra-audio-rt5640";
   35         nvidia,model = "NVIDIA Tegra Dalmore";
   36 
   37         nvidia,audio-routing =
   38                 "Headphones", "HPOR",
   39                 "Headphones", "HPOL",
   40                 "Speakers", "SPORP",
   41                 "Speakers", "SPORN",
   42                 "Speakers", "SPOLP",
   43                 "Speakers", "SPOLN";
   44 
   45         nvidia,i2s-controller = <&tegra_i2s1>;
   46         nvidia,audio-codec = <&rt5640>;
   47 
   48         nvidia,hp-det-gpios = <&gpio 143 0>; /* GPIO PR7 */
   49 
   50         clocks = <&tegra_car 216>, <&tegra_car 217>, <&tegra_car 120>;
   51         clock-names = "pll_a", "pll_a_out0", "mclk";
   52 };

Cache object: 8aefd2e52c14f440d23b7525a915e07b


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