Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp121977ybb; Thu, 19 Mar 2020 17:56:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu66r2r9Wcg1Fr/E/jtuoPfi+lBRlDspv/VPJl5OdDNOZAlwHgLA9XWKF865JGgsI29WtsM X-Received: by 2002:a05:6830:109:: with SMTP id i9mr5040081otp.4.1584665774694; Thu, 19 Mar 2020 17:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584665774; cv=none; d=google.com; s=arc-20160816; b=f9vBfniVGWIl8Vr+7A3VvtZw/668XRzH5V1W1etApkKNrQn1Vi/oTkI4noKT79xoLq uK1a3fOkhL30kR9A72jqqhnnGWjQSV95umoEUOMtoAdfMCDyKY6gj6EDsLjIDU4IY7EH 0DV8+rO3qFCEHqs2fZemp08VcIa6om+255l/rfEctLtvHqOqL5gjT+1/C/SiwQU5MRg3 D61eJdbSoT6oYxwbgaWssdSu4hJHesFbdt6CQzRdDFprH+FSIw1iLX+890p/ZVthg1Nu wvnSxk9baCEPDRXI5I0kfXR77h0nZhcjmZnhPU/i/+u84pzQXbKzMOnZUHzGncf2Qxgq LQmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hTX9N2of5jhjNnF3uYbcSwV8OolqfVP3rpImPzcroQ8=; b=Z9CPk3U0fYptHwuLCImsYv0Po+EygKPrtLY5sP7NlKiFt6VwlUPNi3PR062mONXu3B wHMoCnlceNUZTXpviiyJWFs0OnjJBJjh++wzCikUl7nO5uyVknSKmuo/ulprZGidKu4h pm6xj2FGLkS3c9gIQmKX2FyzXt6IooalXzxX0eHBM/aRt3vn0nC1QqJ/wiJfrMLQwYRj oeyLakLCFTiyRXcou5uNjTRwKE+hgVf3emXlmrp0Dey4ffErG0rMGIqcxpKpFCapOXCt xlkND5XoJ0i3WbzXRK9uXYEQkk4H4T7yE56LHOIAErXEB28jCW4qdDQQtVLY2cOwF1z5 8OkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k22si2166199otn.272.2020.03.19.17.56.01; Thu, 19 Mar 2020 17:56:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727257AbgCTAz1 (ORCPT + 99 others); Thu, 19 Mar 2020 20:55:27 -0400 Received: from mail-il1-f193.google.com ([209.85.166.193]:45714 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbgCTAz0 (ORCPT ); Thu, 19 Mar 2020 20:55:26 -0400 Received: by mail-il1-f193.google.com with SMTP id m9so4075989ilq.12; Thu, 19 Mar 2020 17:55:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hTX9N2of5jhjNnF3uYbcSwV8OolqfVP3rpImPzcroQ8=; b=t5rxHvgGpyHHoDAxZHK3lumLNYDat/W5zDZJ6NsMHDZQlD8cj0c0t6yVG5jRZ+pmYS RzrUfWZjltl9VH+tASz1iO1U4arVgz3qbXmnMvndvujKhJYtsdQEnraDSerBRYCC/5yd yj7Je+ApAR99UoFjN/sPLeG14yh71ztPCtQ6AE4Oj5mu+8CSxpJtrJTXVtiGxk9G+zwl DKa46t/SbSGumzyzaXvcZT4L21/HPLzgRFvreGvq6gyLIp6Szvh0Yl2zNFdsNDL4bNGO qg0tCwqxQBJWFv3aIGfUQQw1iCZ/Q6kULLmQsL4q49dj7yNDuXcSgIKi4rHsWpEYDthI sX2g== X-Gm-Message-State: ANhLgQ3N8fwmc2YHbDhAQQqtnmYb9kPfssBFTaO545UmNSMBbWqHEFGr eutD5dY8uY2aWR46XSfGAA== X-Received: by 2002:a92:d0c1:: with SMTP id y1mr5794271ila.125.1584665725641; Thu, 19 Mar 2020 17:55:25 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id w5sm1456074ilm.69.2020.03.19.17.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Mar 2020 17:55:24 -0700 (PDT) Received: (nullmailer pid 8024 invoked by uid 1000); Fri, 20 Mar 2020 00:55:22 -0000 Date: Thu, 19 Mar 2020 18:55:22 -0600 From: Rob Herring To: allen Cc: Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , Daniel Vetter , Sam Ravnborg , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v7 2/3] dt-bindings: Add binding for IT6505. Message-ID: <20200320005522.GA31982@bogus> References: <1583735298-19266-1-git-send-email-allen.chen@ite.com.tw> <1583735298-19266-3-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: <1583735298-19266-3-git-send-email-allen.chen@ite.com.tw> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 02:26:48PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Acked-by: Sam Ravnborg > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.yaml | 96 ++++++++++++++++++++++ > 1 file changed, 96 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..e9f6b58 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml > @@ -0,0 +1,96 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license new bindings please: (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 > + > +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 > + > + reg: > + maxItems: 1 > + description: i2c address of the bridge Can drop the description as there's nothing specific to this device. > + > + 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: > + maxItems: 1 > + description: extcon specifier for the Power Delivery Drop this. You should be using the usb-connector binding instead which means you should have a OF graph port to the connector. For TypeC, there's a defined port for DP. > + > + port: > + type: object > + description: A port node pointing to DPI host port node > + > +required: > + - compatible > + - reg > + - ovdd-supply > + - pwr18-supply > + - interrupts > + - reset-gpios > + - extcon > + > +examples: > + - | > + #include > + > + 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 >