RT5514 audio CODEC
Schema identifier ($id): "http://devicetree.org/schemas/sound/realtek,rt5514.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
This device supports both I2C and SPI.
Pins on the device (for linking into audio routes) for I2C:
* DMIC1L
* DMIC1R
* DMIC2L
* DMIC2R
* AMICL
* AMICR
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "realtek,rt5514"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Array item rules (items) #
Item 1
Master clock to the CODEC
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mclk"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
The interrupt number to the cpu.
realtek,dmic-init-delay-ms — not listed as required here #
Set the DMIC initial delay (ms) to wait it ready for I2C.
spi-max-frequency — not listed as required here #
true — No constraints added by this property rule.
wakeup-source — not listed as required here #
Value type (type): "boolean"
Flag to indicate this device can wake system (suspend/resume).
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
codec@57 {
compatible = "realtek,rt5514";
reg = <0x57>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause