Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5017969ybl; Mon, 9 Dec 2019 22:07:50 -0800 (PST) X-Google-Smtp-Source: APXvYqwD4WYtQYbgkaWBAfYXtfjKy44mYPz4dAmzS0PxCvtmhaM61C6f6JWqU9XtulmipEWuAxFM X-Received: by 2002:aca:d502:: with SMTP id m2mr2525657oig.41.1575958070518; Mon, 09 Dec 2019 22:07:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575958070; cv=none; d=google.com; s=arc-20160816; b=QlvM9eXzL0OpLiLSReXRcqh8KKNfR6JkTf745VhDhNXQVtmgCsV+wOEm6ZEU/RW+ci tV5AmN6iaPpRd8SI3EJVEW1rzgzJTngE/Kdl0SR0cmpCvykHpQSFqHTb+FjeSkHoBaue 6Fp513XUlfyoCftY24qtip6NRZJtOz72zM3+twZOjTYziH8yfVltDiYQ3S/sMDQAdrgv qQceRpdlIk9BH/CMYt+4U+BlDWxdyfAPsjsIEO9inIwxUOdGg1btLphTcKD+aeYSSI9t 5BamvkFDQYKuO3c1EAorpeF4O2dsOwS3+X3PR5TBM+3bMryx1KbX/6ATLLhLuRpVPrF8 BVuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from; bh=Exxid1LNaPxsKVvjiXR/kzb0FRrWrlRmP3Gv3EB9rsc=; b=im4KW/SQcmq1o632vOAS58jyIf5kDJXLY4fMC0d/72oIsLo72ZMCDXQyc2aJ+64yBN TJzg1JD0+2QIFo99B+zt8ssk0BnWGX8xWXx5EQc1LlYbrUX/lQZQIMaXpaLKX7EbhdeS I2vu5hOzgDa/NJywE3jjE3JpMetsgEBuxyi1terkKT4aQxQmn9j0YTE+CwmM5ys1la1H IEBVHlptToObjVzwVJxFLjzoE97RcJF98QDAmUEJTIwLGr+MmUfzHiho/mrv10eWhrkk 8d/qVdCl7PxJKmZ86u4xe7/FND/jzCe80di0qou2IlfENNZkr6/RXDkzgwKQ6T8hRPHF tHkA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s68si1429425oih.275.2019.12.09.22.07.37; Mon, 09 Dec 2019 22:07:50 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727187AbfLJGFx (ORCPT + 99 others); Tue, 10 Dec 2019 01:05:53 -0500 Received: from 60-251-196-230.HINET-IP.hinet.net ([60.251.196.230]:22537 "EHLO ironport.ite.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbfLJGFw (ORCPT ); Tue, 10 Dec 2019 01:05:52 -0500 Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 10 Dec 2019 14:05:50 +0800 Received: from csbcas.internal.ite.com.tw (csbcas1.internal.ite.com.tw [192.168.65.46]) by mse.ite.com.tw with ESMTP id xBA65mA8018391; Tue, 10 Dec 2019 14:05:48 +0800 (GMT-8) (envelope-from allen.chen@ite.com.tw) Received: from allen-VirtualBox.internal.ite.com.tw (192.168.70.14) by csbcas1.internal.ite.com.tw (192.168.65.45) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 10 Dec 2019 14:05:48 +0800 From: allen CC: Allen Chen , Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: [PATCH v5 3/4] dt-bindings: Add binding for IT6505. Date: Tue, 10 Dec 2019 13:53:41 +0800 Message-ID: <1575957299-12977-4-git-send-email-allen.chen@ite.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1575957299-12977-1-git-send-email-allen.chen@ite.com.tw> References: <1575957299-12977-1-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.70.14] X-MAIL: mse.ite.com.tw xBA65mA8018391 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 +%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. + + 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>; + }; + }; + }; + +--- -- 1.9.1