mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 08:13:56 -04:00
Another round of wack-a-mole. The json-schema default is additional unknown properties are allowed, but for DT all properties should be defined. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Baolin Wang <baolin.wang7@gmail.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-By: Vinod Koul <vkoul@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio Acked-by: Thierry Reding <treding@nvidia.com> Acked-by: Mark Brown <broonie@kernel.org> Reviewd-by: Corey Minyard <cminyard@mvista.com> Acked-by: Pavel Machek <pavel@ucw.cz> Acked-by: Sebastian Reichel <sre@kernel.org> Link: https://lore.kernel.org/r/20201002234143.3570746-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
70 lines
1.5 KiB
YAML
70 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.
|
|
|
|
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
|
|
|
|
# see ../cec.txt
|
|
hdmi-phandle:
|
|
description: phandle to the HDMI controller
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
ch7322@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>;
|
|
};
|
|
};
|