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/tas2770.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 # Copyright (C) 2019-20 Texas Instruments Incorporated
    3 %YAML 1.2
    4 ---
    5 $id: "http://devicetree.org/schemas/sound/tas2770.yaml#"
    6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    7 
    8 title: Texas Instruments TAS2770 Smart PA
    9 
   10 maintainers:
   11   - Shi Fu <shifu0704@thundersoft.com>
   12 
   13 description: |
   14   The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
   15   efficiently driving high peak power into small loudspeakers.
   16   Integrated speaker voltage and current sense provides for
   17   real time monitoring of loudspeaker behavior.
   18 
   19 properties:
   20   compatible:
   21     enum:
   22       - ti,tas2770
   23 
   24   reg:
   25     maxItems: 1
   26     description: |
   27        I2C address of the device can be between 0x41 to 0x48.
   28 
   29   reset-gpio:
   30     maxItems: 1
   31     description: GPIO used to reset the device.
   32 
   33   shutdown-gpios:
   34     maxItems: 1
   35     description: GPIO used to control the state of the device.
   36 
   37   interrupts:
   38     maxItems: 1
   39 
   40   ti,imon-slot-no:
   41     $ref: /schemas/types.yaml#/definitions/uint32
   42     description: TDM TX current sense time slot.
   43 
   44   ti,vmon-slot-no:
   45     $ref: /schemas/types.yaml#/definitions/uint32
   46     description: TDM TX voltage sense time slot.
   47 
   48   ti,asi-format:
   49     deprecated: true
   50     $ref: /schemas/types.yaml#/definitions/uint32
   51     description: Sets TDM RX capture edge.
   52     enum:
   53       - 0 # Rising edge
   54       - 1 # Falling edge
   55 
   56   '#sound-dai-cells':
   57     const: 1
   58 
   59 required:
   60   - compatible
   61   - reg
   62 
   63 additionalProperties: false
   64 
   65 examples:
   66   - |
   67    #include <dt-bindings/gpio/gpio.h>
   68    i2c0 {
   69      #address-cells = <1>;
   70      #size-cells = <0>;
   71      codec: codec@41 {
   72        compatible = "ti,tas2770";
   73        reg = <0x41>;
   74        #sound-dai-cells = <1>;
   75        interrupt-parent = <&gpio1>;
   76        interrupts = <14>;
   77        reset-gpio = <&gpio1 15 0>;
   78        shutdown-gpios = <&gpio1 14 0>;
   79        ti,imon-slot-no = <0>;
   80        ti,vmon-slot-no = <2>;
   81      };
   82    };

Cache object: 5dfb3445789a3b4c18cb68267a7f568c


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