xref: /freebsd-src/sys/contrib/device-tree/Bindings/media/cec/cec-common.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/media/cec/cec-common.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: HDMI CEC Adapters Common Properties
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Hans Verkuil <hverkuil@xs4all.nl>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotproperties:
13*cb7aa33aSEmmanuel Vadot  $nodename:
14*cb7aa33aSEmmanuel Vadot    pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$"
15*cb7aa33aSEmmanuel Vadot
16*cb7aa33aSEmmanuel Vadot  hdmi-phandle:
17*cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
18*cb7aa33aSEmmanuel Vadot    description:
19*cb7aa33aSEmmanuel Vadot      Phandle to the HDMI controller.
20*cb7aa33aSEmmanuel Vadot
21*cb7aa33aSEmmanuel Vadot  needs-hpd:
22*cb7aa33aSEmmanuel Vadot    type: boolean
23*cb7aa33aSEmmanuel Vadot    description:
24*cb7aa33aSEmmanuel Vadot      The CEC support is only available when the HPD is high. Some boards only
25*cb7aa33aSEmmanuel Vadot      let the CEC pin through if the HPD is high, for example if there is a
26*cb7aa33aSEmmanuel Vadot      level converter that uses the HPD to power up or down.
27*cb7aa33aSEmmanuel Vadot
28*cb7aa33aSEmmanuel VadotadditionalProperties: true
29