Texas Instruments PCM186x Universal Audio ADC
Schema identifier ($id): "http://devicetree.org/schemas/sound/ti,pcm1862.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ranganath V N <vnranganath.20@gmail.com>"
The Texas Instruments PCM186x family are multi-channel audio ADCs that support both I2C and SPI control interfaces, selected by pin strapping. These devices include on-chip programmable gain amplifiers and support differential or single-ended analog inputs.
CODEC input pins:
* VINL1
* VINR1
* VINL2
* VINR2
* VINL3
* VINR3
* VINL4
* VINR4
The pins can be used in referring sound node's audio-routing property.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,pcm1862", "ti,pcm1863", "ti,pcm1864", "ti,pcm1865"
reg — required here #
Maximum number of items (maxItems): 1
avdd-supply — required here #
true — No constraints added by this property rule.
dvdd-supply — required here #
true — No constraints added by this property rule.
iovdd-supply — required here #
true — No constraints added by this property rule.
#sound-dai-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "avdd-supply", "dvdd-supply", "iovdd-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
audio-codec@4a {
compatible = "ti,pcm1865";
reg = <0x4a>;
avdd-supply = <®_3v3_analog>;
dvdd-supply = <®_3v3>;
iovdd-supply = <®_1v8>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)