Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp522389ybl; Fri, 31 Jan 2020 03:16:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxQRpkRCmBtAoCN6MxqGNR/bG98miRw32d5pDpxRHoE/D/bm3V/txDLxEIaNQwr8jRbdQMT X-Received: by 2002:aca:4ece:: with SMTP id c197mr6024755oib.53.1580469397767; Fri, 31 Jan 2020 03:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580469397; cv=none; d=google.com; s=arc-20160816; b=oglX9XZPQUtFEx4GFYV8sFYKKd9LjwmLu4kDUTcgYEDtue+pjor3LXEbrgwUC7x5cN jh7SOAPLWkYjsRns6HJo2Szd24wSeLrVdkmvOs1vImu6unEcWvrepaP6HV41lntK2QlF dXsOOY7SBuVC8z1bmXekkwjKXXcOzMXY0/OwAiE0R87eoB1YoVSCRH0JV8CsEyO74mon hIf1xq36QsI2zKN0Z93s0IKOw2IxxGGWWRKsP+vhgWjHQg1TYCfG8D5zvqnYTlBj5bo0 y3nmIgJnR6PkpL3NjjyAGnS5kS1oX7Pts8KCAPl0/7ePFxIM5rrE+I0FqjQnzq8Yxtfu Nnvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BdpuZjoq6e26Vd2QRkcbX3snICg0iYFLr814nhpi3XQ=; b=H9xaO5yMhrcrmNkM+52gm4M5mAbW8vUvA3Ltz1jpzjEdhzQ78DPCnfVKsSW6mu9jkZ eE923kMPjP+iTw12sJlvFoOonoq5XIqvYlqoKuyg2Q+TzR3KIQ/GBTmde4ocr5EvnJ9g 2783FJJsNQJ0e++19HPPayEWwe5QPwHKhyyl2sIarfxbrfyWLxdeVjxIb0tXw3BW0pbL B0g4qBAuTYtVyIKH8WMw+KMLGI5mzkZJH+7HxBumwUjHrXQluqSWgstPQhx5ySBMOm8y VvhkljTCYi16k7fCSKMPJimqa1xqw4sErOdVhN3xuoJxNxDOFBI7QkIjIHzX5r1m8H4p vgEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=G8zk6p5v; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si4668494otq.222.2020.01.31.03.16.25; Fri, 31 Jan 2020 03:16:37 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=G8zk6p5v; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728429AbgAaLPa (ORCPT + 99 others); Fri, 31 Jan 2020 06:15:30 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:58516 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728380AbgAaLP3 (ORCPT ); Fri, 31 Jan 2020 06:15:29 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00VBFBH2085199; Fri, 31 Jan 2020 05:15:11 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1580469311; bh=BdpuZjoq6e26Vd2QRkcbX3snICg0iYFLr814nhpi3XQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=G8zk6p5vdW2ldiN4NLj4eZzY5dCW+lQ0Wrt8/3i6+G0YorvsVlGZZpL0OuSQT/dDh polUClIgSOTtOQtMUX7FWzw8eqLp27DK/g7STVNRIfwGc0NoF5XzjmFtN+JDBw0xzG J3t/vFXqZl8FVtnknUdpKHxn7SKafkXULUJ8jv3E= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00VBFBF6078748 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 Jan 2020 05:15:11 -0600 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 31 Jan 2020 05:15:11 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 31 Jan 2020 05:15:11 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00VBF4Ej026862; Fri, 31 Jan 2020 05:15:08 -0600 From: Peter Ujfalusi To: , , , , , CC: , , , , , , Subject: [PATCH v4 1/2] dt-bindings: display: bridge: Add documentation for Toshiba tc358768 Date: Fri, 31 Jan 2020 13:15:52 +0200 Message-ID: <20200131111553.472-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200131111553.472-1-peter.ujfalusi@ti.com> References: <20200131111553.472-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TC358768/TC358778 is a Parallel RGB to MIPI DSI bridge. Signed-off-by: Peter Ujfalusi --- .../display/bridge/toshiba,tc358768.yaml | 159 ++++++++++++++++++ 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml new file mode 100644 index 000000000000..c036a75db8f7 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml @@ -0,0 +1,159 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/toshiba,tc358768.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge + +maintainers: + - Peter Ujfalusi + +description: | + The TC358768/TC358778 is bridge device which converts RGB to DSI. + +properties: + compatible: + enum: + - toshiba,tc358768 + - toshiba,tc358778 + + reg: + maxItems: 1 + description: base I2C address of the device + + reset-gpios: + maxItems: 1 + description: GPIO connected to active low RESX pin + + vddc-supply: + description: Regulator for 1.2V internal core power. + + vddmipi-supply: + description: Regulator for 1.2V for the MIPI. + + vddio-supply: + description: Regulator for 1.8V - 3.3V IO power. + + clocks: + maxItems: 1 + + clock-names: + const: refclk + + ports: + type: object + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + port@0: + type: object + additionalProperties: false + + description: | + Video port for RGB input + + properties: + reg: + const: 0 + + patternProperties: + endpoint: + type: object + additionalProperties: false + + properties: + data-lines: + enum: [ 16, 18, 24 ] + + remote-endpoint: true + + required: + - reg + + port@1: + type: object + additionalProperties: false + + description: | + Video port for DSI output (panel or connector). + + properties: + reg: + const: 1 + + patternProperties: + endpoint: + type: object + additionalProperties: false + + properties: + remote-endpoint: true + + required: + - reg + + required: + - "#address-cells" + - "#size-cells" + - port@0 + - port@1 + +required: + - compatible + - reg + - vddc-supply + - vddmipi-supply + - vddio-supply + - ports + +additionalProperties: false + +examples: + - | + #include + + i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + dsi_bridge: dsi-bridge@e { + compatible = "toshiba,tc358768"; + reg = <0xe>; + + clocks = <&tc358768_refclk>; + clock-names = "refclk"; + + reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>; + + vddc-supply = <&v1_2d>; + vddmipi-supply = <&v1_2d>; + vddio-supply = <&v3_3d>; + + dsi_bridge_ports: ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + rgb_in: endpoint { + remote-endpoint = <&dpi_out>; + data-lines = <24>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&lcd_in>; + }; + }; + }; + }; + }; + -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki