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