Commit f4b0b85e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mauro Carvalho Chehab
Browse files

media: dt-bindings: cec: convert common CEC properties to DT schema



Convert common HDMI CEC adapter bindings to DT schema.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 8f437662
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
Common bindings for HDMI CEC adapters

- hdmi-phandle: phandle to the HDMI controller.

- needs-hpd: if present the CEC support is only available when the HPD
  is high. Some boards only let the CEC pin through if the HPD is high,
  for example if there is a level converter that uses the HPD to power
  up or down.
+28 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/media/cec/cec-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: HDMI CEC Adapters Common Properties

maintainers:
  - Hans Verkuil <hverkuil@xs4all.nl>

properties:
  $nodename:
    pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$"

  hdmi-phandle:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      Phandle to the HDMI controller.

  needs-hpd:
    type: boolean
    description:
      The CEC support is only available when the HPD is high. Some boards only
      let the CEC pin through if the HPD is high, for example if there is a
      level converter that uses the HPD to power up or down.

additionalProperties: true
+1 −1
Original line number Diff line number Diff line
@@ -4834,7 +4834,7 @@ S: Supported
W:	http://linuxtv.org
T:	git git://linuxtv.org/media_tree.git
F:	Documentation/ABI/testing/debugfs-cec-error-inj
F:	Documentation/devicetree/bindings/media/cec.txt
F:	Documentation/devicetree/bindings/media/cec/cec-common.yaml
F:	Documentation/driver-api/media/cec-core.rst
F:	Documentation/userspace-api/media/cec
F:	drivers/media/cec/