Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
2# Copyright (C) 2019 Texas Instruments Incorporated
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/sound/tlv320adcx140.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter
9
10maintainers:
11 - Dan Murphy <dmurphy@ti.com>
12
13description: |
14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
15 PDM microphones recording), high-performance audio, analog-to-digital
16 converter (ADC) with analog inputs supporting up to 2V RMS. The TLV320ADCX140
17 family supports line and microphone Inputs, and offers a programmable
18 microphone bias or supply voltage generation.
19
20 Specifications can be found at:
21 http://www.ti.com/lit/ds/symlink/tlv320adc3140.pdf
22 http://www.ti.com/lit/ds/symlink/tlv320adc5140.pdf
23 http://www.ti.com/lit/ds/symlink/tlv320adc6140.pdf
24
25properties:
26 compatible:
27 oneOf:
28 - const: ti,tlv320adc3140
29 - const: ti,tlv320adc5140
30 - const: ti,tlv320adc6140
31
32 reg:
33 maxItems: 1
34 description: |
35 I2C addresss of the device can be one of these 0x4c, 0x4d, 0x4e or 0x4f
36
37 reset-gpios:
38 description: |
39 GPIO used for hardware reset.
40
41 areg-supply:
42 description: |
43 Regulator with AVDD at 3.3V. If not defined then the internal regulator
44 is enabled.
45
46 ti,mic-bias-source:
47 description: |
48 Indicates the source for MIC Bias.
49 0 - Mic bias is set to VREF
50 1 - Mic bias is set to VREF × 1.096
51 6 - Mic bias is set to AVDD
52 allOf:
53 - $ref: /schemas/types.yaml#/definitions/uint32
54 - enum: [0, 1, 6]
55
56 ti,vref-source:
57 description: |
58 Indicates the source for MIC Bias.
59 0 - Set VREF to 2.75V
60 1 - Set VREF to 2.5V
61 2 - Set VREF to 1.375V
62 allOf:
63 - $ref: /schemas/types.yaml#/definitions/uint32
64 - enum: [0, 1, 2]
65
66required:
67 - compatible
68 - reg
69
70examples:
71 - |
72 #include <dt-bindings/gpio/gpio.h>
73 i2c0 {
74 #address-cells = <1>;
75 #size-cells = <0>;
76 codec: codec@4c {
77 compatible = "ti,tlv320adc5140";
78 reg = <0x4c>;
79 ti,mic-bias-source = <6>;
80 reset-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
81 };
82 };