Intel KeemBay I2S
Schema identifier ($id): "http://devicetree.org/schemas/sound/intel,keembay-i2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniele Alessandrelli <daniele.alessandrelli@intel.com>", "Paul J. Murphy <paul.j.murphy@intel.com>"
Intel KeemBay I2S
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): "intel,keembay-i2s", "intel,keembay-tdm", "intel,keembay-hdmi-i2s"
#sound-dai-cells — required here #
Exact value (const): 0
reg — required here #
Array item rules (items) #
Item 1
I2S registers
Item 2
I2S gen configuration
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"i2s-regs"
Item 2
Exact value (
const):"i2s_gen_cfg"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"osc"
Item 2
Exact value (
const):"apb_clk"
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA TX channel
Item 2
DMA RX channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
Required in this object (required): "compatible", "#sound-dai-cells", "reg", "clocks", "clock-names", "interrupts"
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/interrupt-controller/irq.h>
#define KEEM_BAY_PSS_AUX_I2S3
#define KEEM_BAY_PSS_I2S3
i2s@20140000 {
compatible = "intel,keembay-i2s";
#sound-dai-cells = <0>;
reg = <0x20140000 0x200>, /* I2S registers */
<0x202a00a4 0x4>; /* I2S gen configuration */
reg-names = "i2s-regs", "i2s_gen_cfg";
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "osc", "apb_clk";
clocks = <&scmi_clk KEEM_BAY_PSS_AUX_I2S3>, <&scmi_clk KEEM_BAY_PSS_I2S3>;
dmas = <&axi_dma0 29>, <&axi_dma0 33>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2020 Intel Corporation