STMicroelectronics STIH4xx HDMI CEC
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/st,stih-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alain Volmat <alain.volmat@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stih-cec"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec-clk"
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec-irq"
resets — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "hdmi-phandle", "interrupts", "resets", "reg"
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/reset/stih407-resets.h>
cec@94a087c {
compatible = "st,stih-cec";
reg = <0x94a087c 0x64>;
clocks = <&clk_sysin>;
clock-names = "cec-clk";
hdmi-phandle = <&sti_hdmi>;
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "cec-irq";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cec0_default>;
resets = <&softreset STIH407_LPM_SOFTRESET>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause