Ingenic JZ47xx internal codec
Schema identifier ($id): "http://devicetree.org/schemas/sound/ingenic,codec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^audio-codec@.*"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"ingenic,jz4770-codec","ingenic,jz4760-codec","ingenic,jz4725b-codec","ingenic,jz4740-codec"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ingenic,jz4760b-codec"Item 2
Exact value (
const):"ingenic,jz4760-codec"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aic"
#sound-dai-cells — required here #
Exact value (const): 0
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#sound-dai-cells"
Examples (examples) #
#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
codec: audio-codec@10020080 {
compatible = "ingenic,jz4740-codec";
reg = <0x10020080 0x8>;
#sound-dai-cells = <0>;
clocks = <&cgu JZ4740_CLK_AIC>;
clock-names = "aic";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)