Chrontel HDMI-CEC Controller

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml#"

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

Maintainers (maintainers): "Jeff Chase <jnchase@google.com>"

The Chrontel CH7322 is a discrete HDMI-CEC controller. It is programmable through I2C and drives a single CEC line.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/media/cec/cec-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "chrontel,ch7322"

reg — required here #

I2C device address

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Reference to the GPIO connected to the RESET pin, if any. This pin is active-low.

Maximum number of items (maxItems): 1

standby-gpios — not listed as required here #

Reference to the GPIO connected to the OE pin, if any. When low the device will respond to power status requests with "standby" if in auto mode.

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  cec@75 {
    compatible = "chrontel,ch7322";
    reg = <0x75>;
    interrupts = <47 IRQ_TYPE_EDGE_RISING>;
    standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
    reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
    hdmi-phandle = <&hdmi>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page