STMicroelectronics STM32 CEC

Schema identifier ($id): "http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml#"

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

Maintainers (maintainers): "Yannick Fertre <yannick.fertre@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stm32-cec"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Module Clock

Item 2

Bus Clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cec"

Item 2

Exact value (const): "hdmi-cec"

access-controllers — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
cec: cec@40006c00 {
    compatible = "st,stm32-cec";
    reg = <0x40006c00 0x400>;
    interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&rcc CEC_K>, <&clk_lse>;
    clock-names = "cec", "hdmi-cec";
};

Source notes #

Annotations retained from the schema source

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

Edit this page