From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66383C2D0C5 for ; Sat, 14 Dec 2019 08:21:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 49F2A24658 for ; Sat, 14 Dec 2019 08:21:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726072AbfLNIVx (ORCPT ); Sat, 14 Dec 2019 03:21:53 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:34860 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbfLNIVx (ORCPT ); Sat, 14 Dec 2019 03:21:53 -0500 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 0910B804F6; Sat, 14 Dec 2019 09:21:47 +0100 (CET) Date: Sat, 14 Dec 2019 09:21:45 +0100 From: Sam Ravnborg To: allen Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , open list , "open list:DRM DRIVERS" , Rob Herring Subject: Re: [PATCH v5 3/4] dt-bindings: Add binding for IT6505. Message-ID: <20191214082145.GD22818@ravnborg.org> References: <1575957299-12977-1-git-send-email-allen.chen@ite.com.tw> <1575957299-12977-4-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1575957299-12977-4-git-send-email-allen.chen@ite.com.tw> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=Ns9eNvu6AAAA:8 a=cm27Pg_UAAAA:8 a=gEfo2CItAAAA:8 a=7gkXJVJtAAAA:8 a=Dou_bMkpY0JcbTnmFP0A:9 a=CjuIK1q_8ugA:10 a=LZLx1i01EnjtqRv10NxV:22 a=xmb-EsYY8bH0VWELuYED:22 a=sptkURWiP4Gy88Gu7hUp:22 a=E9Po1WZjFZOl8hwRPBS3:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Allen. On Tue, Dec 10, 2019 at 01:53:41PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.yaml | 99 ++++++++++++++++++++++ > 1 file changed, 99 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..23a106a > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > @@ -0,0 +1,99 @@ > +# SPDX-License-Identifier: GPL-2.0 Please dual license new bindings like this: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ite,it6505.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ITE it6505 Device Tree Bindings > + > +maintainers: > + - Allen Chen > + > +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. Can we get consistent indent of the text here. With this fixed: Acked-by: Sam Ravnborg > + > + 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 > + > + reg: > + - maxItems: 1 > + - description: i2c address of the bridge > + > + 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 > + > + hpd-gpios: > + - maxItems: 1 > + - description: > + - Hotplug detect GPIO > + - Indicates which GPIO should be used for hotplug detection > + > + extcon: > + - maxItems: 1 > + - description: extcon specifier for the Power Delivery > + > + port: > + - type: object > + - description: A port node pointing to DPI host port node > + > +required: > + - compatible > + - reg > + - ovdd-supply > + - pwr18-supply > + - interrupts > + - reset-gpios > + - hpd-gpios > + - extcon > + > +examples: > + - | > + dp-bridge@5c { > + compatible = "ite,it6505"; > + interrupts = <152 IRQ_TYPE_EDGE_RISING 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>; > + hpd-gpios = <&pio 9 0>; > + extcon = <&usbc_extcon>; > + > + port { > + it6505_in: endpoint { > + remote-endpoint = <&dpi_out>; > + }; > + }; > + }; > + > +--- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7A4FC43603 for ; Sat, 14 Dec 2019 08:21:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F4C620706 for ; Sat, 14 Dec 2019 08:21:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F4C620706 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E94686E328; Sat, 14 Dec 2019 08:21:51 +0000 (UTC) Received: from asavdk4.altibox.net (asavdk4.altibox.net [109.247.116.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 95EC56E328 for ; Sat, 14 Dec 2019 08:21:50 +0000 (UTC) Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 0910B804F6; Sat, 14 Dec 2019 09:21:47 +0100 (CET) Date: Sat, 14 Dec 2019 09:21:45 +0100 From: Sam Ravnborg To: allen Subject: Re: [PATCH v5 3/4] dt-bindings: Add binding for IT6505. Message-ID: <20191214082145.GD22818@ravnborg.org> References: <1575957299-12977-1-git-send-email-allen.chen@ite.com.tw> <1575957299-12977-4-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1575957299-12977-4-git-send-email-allen.chen@ite.com.tw> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VcLZwmh9 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=Ns9eNvu6AAAA:8 a=cm27Pg_UAAAA:8 a=gEfo2CItAAAA:8 a=7gkXJVJtAAAA:8 a=Dou_bMkpY0JcbTnmFP0A:9 a=CjuIK1q_8ugA:10 a=LZLx1i01EnjtqRv10NxV:22 a=xmb-EsYY8bH0VWELuYED:22 a=sptkURWiP4Gy88Gu7hUp:22 a=E9Po1WZjFZOl8hwRPBS3:22 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Jau-Chih Tseng , David Airlie , open list , "open list:DRM DRIVERS" , Rob Herring , Pi-Hsun Shih Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Allen. On Tue, Dec 10, 2019 at 01:53:41PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.yaml | 99 ++++++++++++++++++++++ > 1 file changed, 99 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..23a106a > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > @@ -0,0 +1,99 @@ > +# SPDX-License-Identifier: GPL-2.0 Please dual license new bindings like this: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/ite,it6505.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ITE it6505 Device Tree Bindings > + > +maintainers: > + - Allen Chen > + > +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. Can we get consistent indent of the text here. With this fixed: Acked-by: Sam Ravnborg > + > + 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 > + > + reg: > + - maxItems: 1 > + - description: i2c address of the bridge > + > + 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 > + > + hpd-gpios: > + - maxItems: 1 > + - description: > + - Hotplug detect GPIO > + - Indicates which GPIO should be used for hotplug detection > + > + extcon: > + - maxItems: 1 > + - description: extcon specifier for the Power Delivery > + > + port: > + - type: object > + - description: A port node pointing to DPI host port node > + > +required: > + - compatible > + - reg > + - ovdd-supply > + - pwr18-supply > + - interrupts > + - reset-gpios > + - hpd-gpios > + - extcon > + > +examples: > + - | > + dp-bridge@5c { > + compatible = "ite,it6505"; > + interrupts = <152 IRQ_TYPE_EDGE_RISING 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>; > + hpd-gpios = <&pio 9 0>; > + extcon = <&usbc_extcon>; > + > + port { > + it6505_in: endpoint { > + remote-endpoint = <&dpi_out>; > + }; > + }; > + }; > + > +--- _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel