From: Rob Herring <robh@kernel.org>
To: allen <allen.chen@ite.com.tw>
Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>, Pi-Hsun Shih <pihsun@chromium.org>,
Jau-Chih Tseng <Jau-Chih.Tseng@ite.com.tw>,
David Airlie <airlied@linux.ie>,
open list <linux-kernel@vger.kernel.org>,
"open list:DRM DRIVERS" <dri-devel@lists.freedesktop.org>,
Sam Ravnborg <sam@ravnborg.org>
Subject: Re: [PATCH v8 2/3] dt-bindings: Add binding for IT6505.
Date: Thu, 26 Mar 2020 13:10:12 -0600 [thread overview]
Message-ID: <20200326191012.GB15606@bogus> (raw)
In-Reply-To: <1584941015-20541-3-git-send-email-allen.chen@ite.com.tw>
On Mon, Mar 23, 2020 at 01:21:53PM +0800, allen wrote:
> Add a DT binding documentation for IT6505.
>
> Acked-by: Sam Ravnborg <sam@ravnborg.org>
> Signed-off-by: Allen Chen <allen.chen@ite.com.tw>
> Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
> ---
> cros-ec does not have an associated driver that uses the standard Linux USB-C driver class.
> extcon is used to model the Type-C connector.(crbug.com/982932)
That's nice, but doesn't matter for upstream. And sounds like a driver
problem, not a binding issue.
> ---
> .../bindings/display/bridge/ite,it6505.yaml | 91 ++++++++++++++++++++++
> 1 file changed, 91 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml
> new file mode 100644
> index 00000000..13feeef
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml
> @@ -0,0 +1,91 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/bridge/ite,it6505.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ITE it6505 Device Tree Bindings
> +
> +maintainers:
> + - Allen Chen <allen.chen@ite.com.tw>
> +
> +description: |
> + The IT6505 is a high-performance DisplayPort 1.1a transmitter,
> + fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications.
> + The IT6505 supports color depth of up to 36 bits (12 bits/color)
> + and ensures robust transmission of high-quality uncompressed video
> + content, along with uncompressed and compressed digital audio content.
> +
> + Aside from the various video output formats supported, the IT6505
> + also encodes and transmits up to 8 channels of I2S digital audio,
> + with sampling rate up to 192kHz and sample size up to 24 bits.
> + In addition, an S/PDIF input port takes in compressed audio of up to
> + 192kHz frame rate.
> +
> + Each IT6505 chip comes preprogrammed with an unique HDCP key,
> + in compliance with the HDCP 1.3 standard so as to provide secure
> + transmission of high-definition content. Users of the IT6505 need not
> + purchase any HDCP keys or ROMs.
> +
> +properties:
> + compatible:
> + const: ite,it6505
> +
> + ovdd-supply:
> + maxItems: 1
> + description: I/O voltage
> +
> + pwr18-supply:
> + maxItems: 1
> + description: core voltage
> +
> + interrupts:
> + maxItems: 1
> + description: interrupt specifier of INT pin
> +
> + reset-gpios:
> + maxItems: 1
> + description: gpio specifier of RESET pin
> +
> + extcon:
Think I said this already, but don't use extcon and define an output
port to a DP or USB connector.
> + maxItems: 1
> + description: extcon specifier for the Power Delivery
> +
> + port:
> + type: object
> + description: A port node pointing to DPI host port node
> +
> +required:
> + - compatible
> + - ovdd-supply
> + - pwr18-supply
> + - interrupts
> + - reset-gpios
> + - extcon
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c3 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + dp-bridge@5c {
> + compatible = "ite,it6505";
> + interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
> + reg = <0x5c>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&it6505_pins>;
> + ovdd-supply = <&mt6358_vsim1_reg>;
> + pwr18-supply = <&it6505_pp18_reg>;
> + reset-gpios = <&pio 179 1>;
> + extcon = <&usbc_extcon>;
> +
> + port {
> + it6505_in: endpoint {
> + remote-endpoint = <&dpi_out>;
> + };
> + };
> + };
> + };
> --
> 1.9.1
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-03-26 19:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-23 5:21 [PATCH v8 0/3] IT6505 cover letter allen
2020-03-23 5:21 ` [PATCH v8 2/3] dt-bindings: Add binding for IT6505 allen
2020-03-26 19:10 ` Rob Herring [this message]
2020-03-23 5:21 ` [PATCH v8 3/3] drm/bridge: add it6505 driver allen
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=20200326191012.GB15606@bogus \
--to=robh@kernel.org \
--cc=Jau-Chih.Tseng@ite.com.tw \
--cc=airlied@linux.ie \
--cc=allen.chen@ite.com.tw \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pihsun@chromium.org \
--cc=sam@ravnborg.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;
as well as URLs for NNTP newsgroup(s).