Renesas FIFO-buffered Serial Interface (FSI)
Schema identifier ($id): "http://devicetree.org/schemas/sound/renesas,fsi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"
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): "^sound@.*"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,fsi2-sh73a0","renesas,fsi2-r8a7740"Item 2
Rule 2
Array item rules (
items)Item 1
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — required here #
Exact value (const): 1
Properties matching a name pattern (patternProperties) #
^fsi(a|b),spdif-connection$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
FSI is connected by S/PDIF
^fsi(a|b),stream-mode-support$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
FSI supports 16bit stream mode
^fsi(a|b),use-internal-clock$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
FSI uses internal clock when master mode
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "#sound-dai-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7740-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sh_fsi2: sound@fe1f0000 {
compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
reg = <0xfe1f0000 0x400>;
interrupts = <GIC_SPI 9 0x4>;
clocks = <&mstp3_clks R8A7740_CLK_FSI>;
power-domains = <&pd_a4mp>;
#sound-dai-cells = <1>;
fsia,spdif-connection;
fsia,stream-mode-support;
fsia,use-internal-clock;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 21: for FSI2 SoC
Line 24: SH-Mobile AG5
Line 25: R-Mobile A1
Line 28: for Generic