Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3398817ybl; Mon, 27 Jan 2020 03:19:35 -0800 (PST) X-Google-Smtp-Source: APXvYqyS1sGjArDldZ4EZcf0wh4GX8T6PEC1Sb5UihZF5jduRir/26UNSYKL6VQHobrvNYPsSp/+ X-Received: by 2002:a05:6830:128e:: with SMTP id z14mr12218576otp.184.1580123975107; Mon, 27 Jan 2020 03:19:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580123975; cv=none; d=google.com; s=arc-20160816; b=RPq7SKYh/lrPkTQl5ljLKBAxaHEc3bJ5Ol5HdS0Zh6GR53+GnXVZU8smNrKMj10Dpe t5lYOWvksrfYzbR/1tsPOWPYhp0XUayeEzl4+c/IGi42H8BJD+wf4LuRHPIyio74JLTs RXc36Mnkg9H/XxnGiSq9/LsowHJhRQXNvpRPH6tX2gfCEKBq1jztdPIyYODgRA+NGTat mBPYKLyfn7A1XXKWgT4jRLeK0RissfHrq+k1r6D1nWDdXKU8mmXO+qiKcEVvRoX4yBkM gbB8xmrHdCZWT7qxpFnJDJp0xRpchog4TO9s+YMXKTizmJgqE2mwMHIC8pj5QNFacR9W u5jw== 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=bSzMhNpfR2tSQKzeTTnZQyCy3i+6+xWTPWNXD5SYymo=; b=O6U36MiFqCmHwluOAAtTNaHCFbI5DDJrxfiv7Idl1lDoRFtNq4mg4J1/KIMt9ItQdZ 6Eiz5Y56EGX0YNo57fwI7V7YPGDRzNoupltTSyQJnIIbO4jczY8qD4L4LXjn8WkLIyqF SDO4DOyrnnYrIK5BWsvG532TejUCMBfRKF9ViioEctZg1TLX2RPxWmKI27YwnNC7By3J VWeDRsbQq8lyIOO4e0eLWx+pR3Sitb+lFDPYbIP7lPigBmxADbPPTjpFiQ1XkyH9Kj48 KKQbJM9kL7djAtx/K/g6zbBjs8sgWMpjJws9eqEWv0F9zRm3dL8cq1SzZ+CMJNaZDMSC A+ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a56nwxdz; 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 14si3435409oie.181.2020.01.27.03.19.23; Mon, 27 Jan 2020 03:19:35 -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=a56nwxdz; 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 S1730138AbgA0K4L (ORCPT + 99 others); Mon, 27 Jan 2020 05:56:11 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:48988 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbgA0K4L (ORCPT ); Mon, 27 Jan 2020 05:56:11 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00RAtt0H109735; Mon, 27 Jan 2020 04:55:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1580122555; bh=bSzMhNpfR2tSQKzeTTnZQyCy3i+6+xWTPWNXD5SYymo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=a56nwxdzrtHabjNXzLUvYzrVfKyqxFHyBWsjcZrR7u2ywOdm2ZIkCS5s7YF7irdLE vZr+49Ys1hlt7bn1MKHgaXuqbI1fBKiIADyFXuLBHpC8jGIJgHMFbi41pBk1qdQX+u EmR0NpJUQegWX/1dKvigZayVerAFEgBlVPjBT0H0= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00RAtthO012043 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 27 Jan 2020 04:55:55 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 27 Jan 2020 04:55:54 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) 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; Mon, 27 Jan 2020 04:55:54 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00RAtmOZ079625; Mon, 27 Jan 2020 04:55:51 -0600 From: Peter Ujfalusi To: , , , , , CC: , , , , , , Subject: [PATCH v3 1/2] dt-bindings: display: bridge: Add documentation for Toshiba tc358768 Date: Mon, 27 Jan 2020 12:56:33 +0200 Message-ID: <20200127105634.7638-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200127105634.7638-1-peter.ujfalusi@ti.com> References: <20200127105634.7638-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 | 158 ++++++++++++++++++ 1 file changed, 158 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..8dd8cca39a77 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml @@ -0,0 +1,158 @@ +# 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: + - | + i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + dsi_bridge: tc358768@0e { + compatible = "toshiba,tc358768"; + reg = <0x0e>; + + clocks = <&tc358768_refclk>; + clock-names = "refclk"; + + /* GPIO line is inverted before going to the bridge */ + reset-gpios = <&pcf_display_board 0 1 /* 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