Texas Instruments PCM6240 Family Audio ADC/DAC
Schema identifier ($id): "http://devicetree.org/schemas/sound/ti,pcm6240.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shenghao Ding <shenghao-ding@ti.com>"
The PCM6240 Family is a big family of Audio ADC/DAC for different Specifications, range from Personal Electric to Automotive Electric, even some professional fields.
Specifications about the audio chip can be found at:
https://www.ti.com/lit/gpn/tlv320adc3120
https://www.ti.com/lit/gpn/tlv320adc5120
https://www.ti.com/lit/gpn/tlv320adc6120
https://www.ti.com/lit/gpn/dix4192
https://www.ti.com/lit/gpn/pcm1690
https://www.ti.com/lit/gpn/pcm3120-q1
https://www.ti.com/lit/gpn/pcm3140-q1
https://www.ti.com/lit/gpn/pcm5120-q1
https://www.ti.com/lit/gpn/pcm6120-q1
https://www.ti.com/lit/gpn/pcm6260-q1
https://www.ti.com/lit/gpn/pcm9211
https://www.ti.com/lit/gpn/pcmd3140
https://www.ti.com/lit/gpn/pcmd3180
https://www.ti.com/lit/gpn/taa5212
https://www.ti.com/lit/gpn/tad5212
Properties and child nodes (properties) #
compatible — required here #
ti,adc3120: Stereo-channel, 768-kHz, Burr-Brown™ audio analog-to- digital converter (ADC) with 106-dB SNR.
ti,adc5120: 2-Channel, 768-kHz, Burr-Brown™ Audio ADC with 120-dB SNR.
ti,adc6120: Stereo-channel, 768-kHz, Burr-Brown™ audio analog-to- digital converter (ADC) with 123-dB SNR.
ti,dix4192: 216-kHz digital audio converter with Quad-Channel In and One-Channel Out.
ti,pcm1690: Automotive Catalog 113dB SNR 8-Channel Audio DAC with Differential Outputs.
ti,pcm3120: Automotive, stereo, 106-dB SNR, 768-kHz, low-power software-controlled audio ADC.
ti,pcm3140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC with 106-dB SNR.
ti,pcm5120: Automotive, stereo, 120-dB SNR, 768-kHz, low-power software-controlled audio ADC.
ti,pcm5140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC with 120-dB SNR.
ti,pcm6120: Automotive, stereo, 123-dB SNR, 768-kHz, low-power software-controlled audio ADC.
ti,pcm6140: Automotive, Quad-Channel, 768-kHz, Burr-Brown™ Audio ADC with 123-dB SNR.
ti,pcm6240: Automotive 4-ch audio ADC with integrated programmable mic bias, boost and input diagnostics.
ti,pcm6260: Automotive 6-ch audio ADC with integrated programmable mic bias, boost and input diagnostics.
ti,pcm9211: 216-kHz digital audio converter With Stereo ADC and Routing.
ti,pcmd3140: Four-channel PDM-input to TDM or I2S output converter.
ti,pcmd3180: Eight-channel pulse-density-modulation input to TDM or I2S output converter.
ti,taa5212: Low-power high-performance stereo audio ADC with 118-dB dynamic range.
ti,tad5212: Low-power stereo audio DAC with 120-dB dynamic range.
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"ti,adc3120","ti,adc5120","ti,pcm3120","ti,pcm5120","ti,pcm6120"Item 2
Exact value (
const):"ti,adc6120"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"ti,pcmd512x","ti,pcm9211","ti,taa5212","ti,tad5212"Item 2
Exact value (
const):"ti,adc6120"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"ti,pcm3140","ti,pcm5140","ti,dix4192","ti,pcm6140","ti,pcm6260"Item 2
Exact value (
const):"ti,pcm6240"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"ti,pcmd3140","ti,pcmd3180","ti,pcm1690","ti,taa5412","ti,tad5412"Item 2
Exact value (
const):"ti,pcm6240"
Rule 5
reg — required here #
I2C address, in multiple pcmdevices case, all the i2c address aggregate as one Audio Device to support multiple audio slots.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Invalid only for ti,pcm1690 because of no INT pin.
#sound-dai-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
/* example for two devices with interrupt support */
#address-cells = <1>;
#size-cells = <0>;
audio-codec@48 {
compatible = "ti,pcm6240";
reg = <0x48>, /* primary-device */
<0x4b>; /* secondary-device */
#sound-dai-cells = <0>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
interrupt-parent = <&gpio1>;
interrupts = <15>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 - 2024 Texas Instruments Incorporated