brintos

brintos / linux-shallow public Read only

0
0
Text · 2.5 KiB · 0b4f003 Raw
109 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/ti,pcm3168a.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments PCM3168A Audio Codec8 9maintainers:10  - Damien Horsley <Damien.Horsley@imgtec.com>11  - Geert Uytterhoeven <geert+renesas@glider.be>12  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>13 14description:15  The Texas Instruments PCM3168A is a 24-bit Multi-channel Audio CODEC with16  96/192kHz sampling rate, supporting both SPI and I2C bus access.17 18properties:19  compatible:20    const: ti,pcm3168a21 22  reg:23    maxItems: 124 25  clocks:26    items:27      - description: System clock input28 29  clock-names:30    items:31      - const: scki32 33  reset-gpios:34    items:35      - description: |36          GPIO line connected to the active-low RST pin of the codec.37            RST = low: device power-down38            RST = high: device is enabled39 40  "#sound-dai-cells":41    enum: [0, 1]42 43  VDD1-supply:44    description: Digital power supply regulator 1 (+3.3V)45 46  VDD2-supply:47    description: Digital power supply regulator 2 (+3.3V)48 49  VCCAD1-supply:50    description: ADC power supply regulator 1 (+5V)51 52  VCCAD2-supply:53    description: ADC power supply regulator 2 (+5V)54 55  VCCDA1-supply:56    description: DAC power supply regulator 1 (+5V)57 58  VCCDA2-supply:59    description: DAC power supply regulator 2 (+5V)60 61  ports:62    $ref: audio-graph-port.yaml#/definitions/port-base63    unevaluatedProperties: false64    properties:65      port@0:66        $ref: audio-graph-port.yaml#67        description: Audio input port.68 69      port@1:70        $ref: audio-graph-port.yaml#71        description: Audio output port.72 73required:74  - compatible75  - reg76  - clocks77  - clock-names78  - VDD1-supply79  - VDD2-supply80  - VCCAD1-supply81  - VCCAD2-supply82  - VCCDA1-supply83  - VCCDA2-supply84 85additionalProperties: false86 87examples:88  - |89    #include <dt-bindings/gpio/gpio.h>90 91    i2c {92        #address-cells = <1>;93        #size-cells = <0>;94 95        pcm3168a: audio-codec@44 {96            compatible = "ti,pcm3168a";97            reg = <0x44>;98            reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;99            clocks = <&clk_core 42>;100            clock-names = "scki";101            VDD1-supply = <&supply3v3>;102            VDD2-supply = <&supply3v3>;103            VCCAD1-supply = <&supply5v0>;104            VCCAD2-supply = <&supply5v0>;105            VCCDA1-supply = <&supply5v0>;106            VCCDA2-supply = <&supply5v0>;107        };108    };109