mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 11:53:41 +00:00

Cleanup bindings dropping unneeded quotes. Once all these are fixed, checking for this can be enabled in yamllint. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Joe Tessler <jrt@google.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> #rockchip Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> [Sakari Ailus: Drop changes for files in which they had been done already] Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Chrontel HDMI-CEC Controller
|
|
|
|
maintainers:
|
|
- Jeff Chase <jnchase@google.com>
|
|
|
|
description:
|
|
The Chrontel CH7322 is a discrete HDMI-CEC controller. It is
|
|
programmable through I2C and drives a single CEC line.
|
|
|
|
allOf:
|
|
- $ref: /schemas/media/cec/cec-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: chrontel,ch7322
|
|
|
|
reg:
|
|
description: I2C device address
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
reset-gpios:
|
|
description:
|
|
Reference to the GPIO connected to the RESET pin, if any. This
|
|
pin is active-low.
|
|
maxItems: 1
|
|
|
|
standby-gpios:
|
|
description:
|
|
Reference to the GPIO connected to the OE pin, if any. When low
|
|
the device will respond to power status requests with "standby"
|
|
if in auto mode.
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
cec@75 {
|
|
compatible = "chrontel,ch7322";
|
|
reg = <0x75>;
|
|
interrupts = <47 IRQ_TYPE_EDGE_RISING>;
|
|
standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
hdmi-phandle = <&hdmi>;
|
|
};
|
|
};
|