brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 4e69b6a Raw
69 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Controller8 9maintainers:10  - Jeff Chase <jnchase@google.com>11 12description:13  The Chrontel CH7322 is a discrete HDMI-CEC controller. It is14  programmable through I2C and drives a single CEC line.15 16allOf:17  - $ref: /schemas/media/cec/cec-common.yaml#18 19properties:20  compatible:21    const: chrontel,ch732222 23  reg:24    description: I2C device address25    maxItems: 126 27  clocks:28    maxItems: 129 30  interrupts:31    maxItems: 132 33  reset-gpios:34    description:35      Reference to the GPIO connected to the RESET pin, if any. This36      pin is active-low.37    maxItems: 138 39  standby-gpios:40    description:41      Reference to the GPIO connected to the OE pin, if any. When low42      the device will respond to power status requests with "standby"43      if in auto mode.44    maxItems: 145 46required:47  - compatible48  - reg49  - interrupts50 51unevaluatedProperties: false52 53examples:54  - |55    #include <dt-bindings/gpio/gpio.h>56    #include <dt-bindings/interrupt-controller/irq.h>57    i2c {58      #address-cells = <1>;59      #size-cells = <0>;60      cec@75 {61        compatible = "chrontel,ch7322";62        reg = <0x75>;63        interrupts = <47 IRQ_TYPE_EDGE_RISING>;64        standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;65        reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;66        hdmi-phandle = <&hdmi>;67      };68    };69