Amlogic Meson AO-CEC Controller
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/amlogic,meson-gx-ao-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is to handle communication between HDMI connected devices over the CEC bus.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,meson-gx-ao-cec", "amlogic,meson-g12a-ao-cec", "amlogic,meson-sm1-ao-cec"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
AO-CEC clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"amlogic,meson-g12a-ao-cec","amlogic,meson-sm1-ao-cec"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
AO-CEC clock generator source
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"oscin"
Required in this object (required): "compatible", "reg", "interrupts", "hdmi-phandle", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
cec_AO: cec@100 {
compatible = "amlogic,meson-gx-ao-cec";
reg = <0x00100 0x14>;
interrupts = <199>;
clocks = <&clkc_cec>;
clock-names = "core";
hdmi-phandle = <&hdmi_tx>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Line 20: GXBB, GXL, GXM, G12A and SM1 AO_CEC_A module
Line 21: G12A AO_CEC_B module
Line 22: SM1 AO_CEC_B module