From: Rob Herring <robh@kernel.org>
To: Jeff Chase <jnchase@google.com>
Cc: linux-media@vger.kernel.org, mchehab@kernel.org,
hverkuil-cisco@xs4all.nl, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 1/2] dt-bindings: Add ch7322 media i2c device
Date: Fri, 29 May 2020 15:02:18 -0600 [thread overview]
Message-ID: <20200529210218.GA2815707@bogus> (raw)
In-Reply-To: <20200529030012.254592-2-jnchase@google.com>
On Thu, May 28, 2020 at 11:00:11PM -0400, Jeff Chase wrote:
> The ch7322 is a Chrontel CEC controller.
>
> Signed-off-by: Jeff Chase <jnchase@google.com>
> ---
> .../bindings/media/i2c/chrontel,ch7322.yaml | 65 +++++++++++++++++++
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> MAINTAINERS | 7 ++
> 3 files changed, 74 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml b/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml
> new file mode 100644
> index 000000000000..d5706e08164c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml
> @@ -0,0 +1,65 @@
> +# 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: |-
Can drop the '|-' as you don't need any formatting.
> + 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.
How many? (maxItems: 1)
> +
> + standby-gpios:
How many?
> + 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.
> +
> + # see ../cec.txt
> + hdmi-phandle:
> + description: phandle to the HDMI controller
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +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>;
> + };
> + };
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index d3891386d671..7794ffccd325 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -187,6 +187,8 @@ patternProperties:
> description: ChipOne
> "^chipspark,.*":
> description: ChipSPARK
> + "^chrontel,.*":
> + description: Chrontel, Inc.
> "^chrp,.*":
> description: Common Hardware Reference Platform
> "^chunghwa,.*":
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d633a131dcd7..34c6d30e61e5 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -4047,6 +4047,13 @@ F: drivers/power/supply/cros_usbpd-charger.c
> N: cros_ec
> N: cros-ec
>
> +CHRONTEL CH7322 CEC DRIVER
> +M: Jeff Chase <jnchase@google.com>
> +L: linux-media@vger.kernel.org
> +S: Maintained
> +T: git git://linuxtv.org/media_tree.git
> +F: Documentation/devicetree/bindings/media/i2c/chontel,ch7322.yaml
> +
> CIRRUS LOGIC AUDIO CODEC DRIVERS
> M: James Schulman <james.schulman@cirrus.com>
> M: David Rhodes <david.rhodes@cirrus.com>
> --
> 2.27.0.rc0.183.gde8f92d652-goog
>
next prev parent reply other threads:[~2020-05-29 21:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 3:00 [PATCH v3 0/2] CH7322 CEC controller driver Jeff Chase
2020-05-29 3:00 ` [PATCH v3 1/2] dt-bindings: Add ch7322 media i2c device Jeff Chase
2020-05-29 21:02 ` Rob Herring [this message]
2020-05-29 3:00 ` [PATCH v3 2/2] media: cec: i2c: ch7322: Add ch7322 CEC controller driver Jeff Chase
[not found] ` <CALTkaQ2OR+bc2QGeucA5aP3SiM5HLnx5=DoZQ51E_1d99Hb5Uw@mail.gmail.com>
2020-05-29 6:10 ` Fwd: " Jeff Chase
2020-05-29 12:01 ` Hans Verkuil
2020-06-02 18:17 ` Jeff Chase
2020-06-08 11:03 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200529210218.GA2815707@bogus \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jnchase@google.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox