From patchwork Thu Sep 12 03:32:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: allen X-Patchwork-Id: 11142445 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0DB87924 for ; Thu, 12 Sep 2019 07:08:29 +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 E9C64214D8 for ; Thu, 12 Sep 2019 07:08:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9C64214D8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ite.com.tw 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 E19D46EBBF; Thu, 12 Sep 2019 07:08:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from ironport.ite.com.tw (60-251-196-230.HINET-IP.hinet.net [60.251.196.230]) by gabe.freedesktop.org (Postfix) with ESMTP id 23CE46E029 for ; Thu, 12 Sep 2019 03:35:15 +0000 (UTC) Received: from unknown (HELO mse.ite.com.tw) ([192.168.35.30]) by ironport.ite.com.tw with ESMTP; 12 Sep 2019 11:35:14 +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 x8C3Z9JK094786; Thu, 12 Sep 2019 11:35:09 +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; Thu, 12 Sep 2019 11:35:10 +0800 From: allen To: Subject: [PATCH v3 1/2] dt-bindings: Add binding for IT6505. Date: Thu, 12 Sep 2019 11:32:28 +0800 Message-ID: <1568259199-5827-2-git-send-email-allen.chen@ite.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1568259199-5827-1-git-send-email-allen.chen@ite.com.tw> References: <1568259199-5827-1-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 X-Originating-IP: [192.168.70.14] X-MAIL: mse.ite.com.tw x8C3Z9JK094786 X-Mailman-Approved-At: Thu, 12 Sep 2019 07:07:54 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 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" , Pi-Hsun Shih , Jau-Chih Tseng , David Airlie , Allen Chen , "open list:DRM DRIVERS" , open list , Maxime Ripard , Hans Verkuil , Rob Herring , "moderated list:ARM/Mediatek SoC support" , Laurent Pinchart , Matthias Brugger , Icenowy Zheng , Shawn Guo , "moderated list:ARM/Mediatek SoC support" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Allen Chen Add a DT binding documentation for IT6505. 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.txt | 28 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/ite,it6505.txt diff --git a/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt new file mode 100644 index 0000000..72da0c4 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/ite,it6505.txt @@ -0,0 +1,28 @@ +iTE it6505 DP bridge bindings + +Required properties: + - compatible: "ite,it6505" + - reg: i2c address of the bridge + - ovdd-supply: I/O voltage + - pwr18-supply: Core voltage + - interrupts: interrupt specifier of INT pin + - reset-gpios: gpio specifier of RESET pin + - hpd-gpios: + Hotplug detect GPIO. + Indicates which GPIO should be used for hotplug detection + - port@[x]: SoC specific port nodes with endpoint definitions as defined + in Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt + +Example: + 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>; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 967e78c..fb3b643 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -461,6 +461,8 @@ patternProperties: description: Intersil "^issi,.*": description: Integrated Silicon Solutions Inc. + "^ite,.*": + description: ITE Tech. Inc. "^itead,.*": description: ITEAD Intelligent Systems Co.Ltd "^iwave,.*":