Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2698415ybz; Mon, 27 Apr 2020 02:50:46 -0700 (PDT) X-Google-Smtp-Source: APiQypJSwjAUet7QdZj1SUay5yX0Hax2v6PfaNvqi2Ef26RGE+ViZh38UJkIIFPhxMvXoiiPZY2t X-Received: by 2002:a50:c60c:: with SMTP id k12mr17559814edg.111.1587981045987; Mon, 27 Apr 2020 02:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587981045; cv=none; d=google.com; s=arc-20160816; b=Rse9ZBFrQKNqbqD1wCsrKp9sOv0iVx2eiNeSUMZjPh0zJMYbo4Q3bQ8B95NsidaHci uYl3b/rpBtH4w4LRrWDuhVcVsrRfL5XOq1q5sQwBdPNtuTj5hiiJCiokZ7Y549p3r4k0 6yA1+E7jiU8P/2PZa0Gc0Dgs63W+ael2fUNfssl17S28y5QeVF6C5nJPdxTVS/2Lbe+T AtQ2MYwILJcD/BykCx5dPTmcH8E4iiWWsREHagBQUDsa+Sz81O0TdGVXmDzpDsGXrpji 4KR23IfK9MsOZyTWEliS5HyNtQLUbu/mHRUtDNAAG+PbNjG6a8euhTYa3zRA7wrZose+ z6qg== 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:ironport-sdr; bh=TDBfSfmY8IWR46unuRsIy4FVpvQ8wMH2G0mfnCJ1tPc=; b=aS/+F/GWAkd6oF7XW73xW42a8HBbOJJQl/VCMD/eXylGsxq+0O9ag9voL+VjYtVOtI m6o2997CTMXmXWoOV1pjNNXTj4Zjcd5SzmAxoOVWY2LygDJm4RBDiKk0hPKSxXkeuH6v 7cdcLnh89A0/PkWUmrIALzB3xh38oWoG0Q7HPa9hsCtyI1duLsHzARY2RKhcfiLSSVi5 6rc4V/EzMLVGXU3yGN/oDoWFGhqPYdt0+fLersdLl4Az4ZplzVjsXjdl+iHuIzc69hYa t/VrbY1iptMinlJd7vorWuDA5pD1jPA8L4vt3tJRlbDlm0Fkses0Br96nXALY0iQUWX2 Tf+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si7347310edn.565.2020.04.27.02.50.21; Mon, 27 Apr 2020 02:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726923AbgD0JsW (ORCPT + 99 others); Mon, 27 Apr 2020 05:48:22 -0400 Received: from 60-251-196-230.HINET-IP.hinet.net ([60.251.196.230]:10827 "EHLO ironport.ite.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbgD0JsV (ORCPT ); Mon, 27 Apr 2020 05:48:21 -0400 IronPort-SDR: Nb5hj9NuK3oXq9/IH8bi5DrL+aq3AKGZjRkksAkSBaKz+EcT0sqQO+OdCruSL+IKoFZpMrd5U6 kZ4LODGVFRMQ== Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 27 Apr 2020 17:33:10 +0800 Received: from CSBMAIL1.internal.ite.com.tw (csbmail1.internal.ite.com.tw [192.168.65.58]) by mse.ite.com.tw with ESMTP id 03R9X6ei046727; Mon, 27 Apr 2020 17:33:06 +0800 (GMT-8) (envelope-from allen.chen@ite.com.tw) Received: from allen-VirtualBox.internal.ite.com.tw (192.168.70.14) by CSBMAIL1.internal.ite.com.tw (192.168.65.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 27 Apr 2020 17:33:05 +0800 From: allen CC: Allen Chen , Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , Daniel Vetter , Rob Herring , Sam Ravnborg , "open list:DRM DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: [PATCH v9 2/3] dt-bindings: Add binding for IT6505. Date: Mon, 27 Apr 2020 17:16:53 +0800 Message-ID: <1587979103-5630-3-git-send-email-allen.chen@ite.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1587979103-5630-1-git-send-email-allen.chen@ite.com.tw> References: <1587979103-5630-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-ClientProxiedBy: CSBMAIL1.internal.ite.com.tw (192.168.65.58) To CSBMAIL1.internal.ite.com.tw (192.168.65.58) X-TM-SNTS-SMTP: 557488118687ECA03E3E140BD109D111E633E24110D61BF46727D3D572AB26702000:8 X-MAIL: mse.ite.com.tw 03R9X6ei046727 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. Acked-by: Sam Ravnborg Signed-off-by: Allen Chen Signed-off-by: Pi-Hsun Shih --- 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) --- .../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 + +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: + 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 + + 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