PCM512x and TAS575x audio CODECs/amplifiers
Schema identifier ($id): "http://devicetree.org/schemas/sound/ti,pcm512x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
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,pcm5121", "ti,pcm5122", "ti,pcm5141", "ti,pcm5142", "ti,pcm5242", "ti,tas5754", "ti,tas5756"
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.
CPVDD-supply — required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
A clock specifier for the clock connected as SCLK. If this is absent the device will be configured to clock from BCLK. If pll-in and pll-out are specified in addition to a clock, the device is configured to accept clock input on a specified gpio pin.
#sound-dai-cells — not listed as required here #
Exact value (const): 0
pll-in — not listed as required here #
GPIO pin used to connect the pll using <1> through <6>. The device will be configured for clock input on the given pll-in pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 6
pll-out — not listed as required here #
GPIO pin used to connect the pll using <1> through <6>. The device will be configured for PLL output on the given pll-out pin. An external connection from the pll-out pin to the SCLK pin is assumed.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 6
Required in this object (required): "compatible", "reg", "AVDD-supply", "DVDD-supply", "CPVDD-supply"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Properties and child nodes (
properties) #
pll-in— not listed as required here #Maximum value (
maximum):3
pll-out— not listed as required here #Maximum value (
maximum):3
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
codec@4c {
compatible = "ti,pcm5142";
reg = <0x4c>;
AVDD-supply = <®_3v3_analog>;
DVDD-supply = <®_1v8>;
CPVDD-supply = <®_3v3>;
#sound-dai-cells = <0>;
clocks = <&sck>;
pll-in = <3>;
pll-out = <6>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)