1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: "http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml#" 5$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 7title: Chrontel HDMI-CEC Controller 8 9maintainers: 10 - Jeff Chase <jnchase@google.com> 11 12description: 13 The Chrontel CH7322 is a discrete HDMI-CEC controller. It is 14 programmable through I2C and drives a single CEC line. 15 16properties: 17 compatible: 18 const: chrontel,ch7322 19 20 reg: 21 description: I2C device address 22 maxItems: 1 23 24 clocks: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 reset-gpios: 31 description: 32 Reference to the GPIO connected to the RESET pin, if any. This 33 pin is active-low. 34 maxItems: 1 35 36 standby-gpios: 37 description: 38 Reference to the GPIO connected to the OE pin, if any. When low 39 the device will respond to power status requests with "standby" 40 if in auto mode. 41 maxItems: 1 42 43 # see ../cec.txt 44 hdmi-phandle: 45 description: phandle to the HDMI controller 46 47required: 48 - compatible 49 - reg 50 - interrupts 51 52additionalProperties: false 53 54examples: 55 - | 56 #include <dt-bindings/gpio/gpio.h> 57 #include <dt-bindings/interrupt-controller/irq.h> 58 i2c { 59 #address-cells = <1>; 60 #size-cells = <0>; 61 ch7322@75 { 62 compatible = "chrontel,ch7322"; 63 reg = <0x75>; 64 interrupts = <47 IRQ_TYPE_EDGE_RISING>; 65 standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>; 66 reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>; 67 hdmi-phandle = <&hdmi>; 68 }; 69 }; 70