Linux Audio

Check our new training course

Yocto / OpenEmbedded training

Feb 10-13, 2025
Register
Loading...
v6.9.4
 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
16allOf:
17  - $ref: /schemas/media/cec/cec-common.yaml#
18
19properties:
20  compatible:
21    const: chrontel,ch7322
22
23  reg:
24    description: I2C device address
25    maxItems: 1
26
27  clocks:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33  reset-gpios:
34    description:
35      Reference to the GPIO connected to the RESET pin, if any. This
36      pin is active-low.
37    maxItems: 1
38
39  standby-gpios:
40    description:
41      Reference to the GPIO connected to the OE pin, if any. When low
42      the device will respond to power status requests with "standby"
43      if in auto mode.
44    maxItems: 1
45
 
 
 
 
46required:
47  - compatible
48  - reg
49  - interrupts
50
51unevaluatedProperties: false
52
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    };
v6.2
 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    };