Renesas RZ/{G2L,V2L} ASoC Sound Serial Interface (SSIF-2)

Schema identifier ($id): "http://devicetree.org/schemas/sound/renesas,rz-ssi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.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 #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a07g043-ssi", "renesas,r9a07g044-ssi", "renesas,r9a07g054-ssi", "renesas,r9a08g045-ssi", "renesas,r9a08g046-ssi"

Item 2

Exact value (const): "renesas,rz-ssi"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

interrupt-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "int_req"

Item 2

Exact value (const): "dma_rx"

Item 3

Exact value (const): "dma_tx"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "int_req"

Item 2

Exact value (const): "dma_rt"

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ssi"

Item 2

Exact value (const): "ssi_sfr"

Item 3

Exact value (const): "audio_clk1"

Item 4

Exact value (const): "audio_clk2"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

dmas — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

dma-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "rt"

#sound-dai-cells — required here #

Exact value (const): 0

port — not listed as required here #

Shared schema rule ($ref): audio-graph-port.yaml#/definitions/port-base

Connection to controller providing I2S signals

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "#sound-dai-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/r9a07g044-cpg.h>

ssi0: ssi@10049c00 {
    compatible = "renesas,r9a07g044-ssi",
                 "renesas,rz-ssi";
        reg = <0x10049c00 0x400>;
        interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
                     <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>;
        interrupt-names = "int_req", "dma_rx", "dma_tx";
        clocks = <&cpg CPG_MOD R9A07G044_SSI0_PCLK2>,
                 <&cpg CPG_MOD R9A07G044_SSI0_PCLK_SFR>,
                 <&audio_clk1>,
                 <&audio_clk2>;
        clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
        power-domains = <&cpg>;
        resets = <&cpg R9A07G044_SSI0_RST_M2_REG>;
        dmas = <&dmac 0x2655>,
               <&dmac 0x2656>;
        dma-names = "tx", "rx";
        #sound-dai-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 19: RZ/G2UL and RZ/Five

Line 20: RZ/G2{L,LC}

Line 21: RZ/V2L

Line 22: RZ/G3S

Line 23: RZ/G3L

Edit this page