Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp160928ybc; Mon, 11 Nov 2019 22:37:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwQWiBnOnpUaMrHP7yAEqC2fo3g9oD94xJh8csCVgYmnszYxrFhzkmAaLdtfO3vRlutvjoF X-Received: by 2002:aa7:cd54:: with SMTP id v20mr31064801edw.203.1573540653365; Mon, 11 Nov 2019 22:37:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573540653; cv=pass; d=google.com; s=arc-20160816; b=FWJAfGrmE1ZjF6KH/xfHlTLfxTF+VzsVd5neQWi+mWT+iBLRILR4eHsJfeMo5XZUIp oDYZ3kw/+fEiraiGSRLLRg+HpGDMTATJUARCaEmXKN1LlV3UHA3T7cn3bX1pWDFivzeh y79X2HmlgPMr5oBWHpgjp9a/lhAObqCutxs56YK+DGlLCzis6Y1BEsw/c3Hi9UA744gv /v7/wV2voq/iDoKmdbeY8kh4QY7rEyKUNu23WLfo+qFDdZV3pV3szcUTqbVYItzKOBgP w4kYjOXSjMVn84ARELfF+a5hr4GRNEiMO2gYsPl/cSknU4tO/CPQiafSIcS655tIG56X n5yA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=P5+GYu9VYFD1uOnMGbRWIfFjJqLaFA4oX3QHgEOliP0=; b=pC5IDfWuPe5lijtLJkEFIZae5Eqo55V8BWx/njt02M4TIUVfOJmQXuYifUZtn4Dsu+ 7IGGuxwGypOAKFhCzqMwJVF16lEQoyWHJBBdqO/KyqzW1WuWnca/GH1fssJmGr3q7i3i kgaGUIoLX2oB8CPlhQrAjhoBzI/r+LAYGDwb78nmMYrjEQ0oQgHVvJRuJjwrBhA7x3Bx BSU2nBaqj7B0PNGkFSGuw2yTXx4MYAKuSA1sHGD2rXe4zpusCUdM7fJ/q/mVP0yWgUXi nyB8eKtjd0nKqKo/ASP9NJGerbZfKKaB87hr4SXUoFukhRD7j9XiwmUhluQ7bTi4aZNM YKhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=iFA9I8sD; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bo7si10809142ejb.15.2019.11.11.22.37.08; Mon, 11 Nov 2019 22:37:33 -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=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=iFA9I8sD; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726936AbfKLGde (ORCPT + 99 others); Tue, 12 Nov 2019 01:33:34 -0500 Received: from mail-eopbgr720115.outbound.protection.outlook.com ([40.107.72.115]:6213 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725821AbfKLGde (ORCPT ); Tue, 12 Nov 2019 01:33:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeRc4z88YWQcJ5/vwHWtpGYie0x/c3wQsvBn1INMtHrqmBlCE3ueRBvIa0uUYhY1peyhSlWCl0T2OAnapDBIDLAiM1CnOmL3DEyvpBeUEEwutO1gW/TaMRAU7IleFGi8W1Bo3wB5Fu1kDFCnOb+ZN7yq9d4TH7Om7BcWuSlfzAKEH2yzah/BYtvdsWUk+1Y+7trjIRmjmjdMeQqCw+LJasEtt+wOHSen3eYrt6l7ku8M8AqBPAwrTSyu9M5I1kqOf4ntp/2qZKNJHIPe8Pm/xsJofCcHAbZEsQXk6qJOjDILO/cso+uN7LVu0g28poAsIZCaZ9R+ivR8fzjp/V7gvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P5+GYu9VYFD1uOnMGbRWIfFjJqLaFA4oX3QHgEOliP0=; b=K0SNY3/rQ/4XDNXbgzAnZh0iDqkfHTg+SroVl7c4vh8uTL5uWz4vLzPQjLfnGah0zDjSxiBqBONSkYtWMs7FYMrMBv3qX/iydVJU2mhPvUxDt1zTdOBPg9/bhA5ckQNCf9ZEXWRw+nRXIhgPsRC16E6yNn5c3tV3t34Xq8saEwYqP+Wzm6Kl2xcPugA0ndLYMA1Rx/QUVRmaosBdkDX4NeR7R5ogknJJCiZ8W6muyhohYxYy6FZI/zCRcgPTVmqaynqXYB4xfDX8gGc9rpFCXBAUHxvzjjmLr0O4hsjhNQbnBEaKMXOndnVFyX1tGVpBQH9n17kC26i+YywPa2N75Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P5+GYu9VYFD1uOnMGbRWIfFjJqLaFA4oX3QHgEOliP0=; b=iFA9I8sD2x4S8UyIgxkDRii9yvI6UbUYf94XetR3l6qpFvTcpHCoNv77mXvmuHQ1YWIRys0AZD7CY6EN/h60cVkH1SOBf8vhoLKw6YcVMQiqbW8edbuqzPqarGBDEddgqEvGIUyAOWVLSK8XpJ4oO2EOdksYE7Ebn5xNZuxBtvA= Received: from SN6PR04MB4543.namprd04.prod.outlook.com (52.135.120.29) by SN6PR04MB4288.namprd04.prod.outlook.com (52.135.72.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Tue, 12 Nov 2019 06:33:30 +0000 Received: from SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::859:2d31:1f00:fa16]) by SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::859:2d31:1f00:fa16%5]) with mapi id 15.20.2430.027; Tue, 12 Nov 2019 06:33:30 +0000 From: Xin Ji To: "devel@driverdev.osuosl.org" , Laurent Pinchart , Andrzej Hajda CC: Neil Armstrong , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Dan Carpenter , Nicolas Boichat , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Pi-Hsun Shih , Sheng Pan Subject: [PATCH v5 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Topic: [PATCH v5 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Index: AQHVmSMZqzZdIpzJL0O/xSQqLi248A== Date: Tue, 12 Nov 2019 06:33:30 +0000 Message-ID: <67ccead807b7d0a50df479cab2c9d325041224bc.1573540100.git.xji@analogixsemi.com> References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR01CA0023.apcprd01.prod.exchangelabs.com (2603:1096:203:92::35) To SN6PR04MB4543.namprd04.prod.outlook.com (2603:10b6:805:a8::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xji@analogixsemi.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [114.247.245.252] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f50372c7-da1f-4419-e399-08d7673a3b82 x-ms-traffictypediagnostic: SN6PR04MB4288: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 021975AE46 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(39840400004)(346002)(376002)(396003)(136003)(189003)(199004)(66066001)(26005)(4326008)(6506007)(6306002)(6512007)(102836004)(6436002)(386003)(2906002)(6486002)(486006)(476003)(446003)(11346002)(2616005)(52116002)(76176011)(186003)(107886003)(118296001)(66446008)(64756008)(66556008)(66476007)(66946007)(86362001)(256004)(8936002)(99286004)(71200400001)(3846002)(71190400001)(25786009)(110136005)(7416002)(54906003)(5660300002)(2501003)(36756003)(81156014)(81166006)(478600001)(8676002)(305945005)(316002)(7736002)(6116002)(14454004);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB4288;H:SN6PR04MB4543.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: analogixsemi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KRomdSYjK6S5i+DRIIlqrc60/L86WbzUpHhy/N5Bfgzp7cLWBXOU8XZwnCiPDTuMKdvQZDla+UX8AEVVIOH7I5O465PRD7fUQF7Gp4wLQ5RylvbvLjK7S976G9tGB6S5RJVxz/8zK5IE11Yatx/e4j9FyVVHR2eKbwUA8ndguL5H30VxNzUP5F9NZlAV/nAv7gvqFAmAcMDLOQ2FJmHiqeuwDWZ73qLqRXYkvu0Mdhruvxxitert4Dh9EtuKMknCTi5ccCw1AQ/G2Sxtc3cRMjUNfQcFfyo3HVs4KQX2QxZ4Iek8lPZ14atPQ6CHwtmwdl02Pm/SdcazmKQzJZu/BjAKg2BjY2ZBaqliKlHAHeFH8GxKZ9KJfqTtvS6oqeq3UrkInQfCCVrYeX2/Jt+t36A05JJhYUsrM+H0ErfbOH5SJJoN3Pm0N9ACQzjNwgrO/3AcWTwnjAXLS4G0pN9yIAUiNcoeXHjm6VWTgsS38l0= Content-Type: text/plain; charset="us-ascii" Content-ID: <62656DF881A3F7439A9F7675021F5EAB@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: f50372c7-da1f-4419-e399-08d7673a3b82 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2019 06:33:30.3080 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8Qv0O74+xhZPs6Ly6DHkdNUh0kUm0QQsYAMSLizWJEpPmiBxKyMSpINmBHlbrK/hUpgHIkz46wAzGrgE5uGKSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4288 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI to DisplayPort 1.3 4K. You can add support to your board with binding. Example: anx7625_bridge: encoder@58 { compatible =3D "analogix,anx7625"; reg =3D <0x58>; status =3D "okay"; panel-flags =3D <1>; enable-gpios =3D <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios =3D <&pio 73 GPIO_ACTIVE_HIGH>; #address-cells =3D <1>; #size-cells =3D <0>; port@0 { reg =3D <0>; anx_1_in: endpoint { remote-endpoint =3D <&mipi_dsi>; }; }; port@2 { reg =3D <2>; anx_1_out: endpoint { remote-endpoint =3D <&panel_in>; }; }; }; Signed-off-by: Xin Ji --- .../bindings/display/bridge/anx7625.yaml | 91 ++++++++++++++++++= ++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/anx762= 5.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/anx7625.yaml = b/Documentation/devicetree/bindings/display/bridge/anx7625.yaml new file mode 100644 index 0000000..1149ebb --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/anx7625.yaml @@ -0,0 +1,91 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Analogix Semiconductor, Inc. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/display/bridge/anx7625.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter) + +maintainers: + - Xin Ji + +description: | + The ANX7625 is an ultra-low power 4K Mobile HD Transmitter + designed for portable devices. + +properties: + "#address-cells": true + "#size-cells": true + + compatible: + items: + - const: analogix,anx7625 + + reg: + maxItems: 1 + + panel-flags: + description: indicate the panel is internal or external. + maxItems: 1 + + interrupts: + maxItems: 1 + + enable-gpios: + description: used for power on chip control, POWER_EN pin D2. + maxItems: 1 + + reset-gpios: + description: used for reset chip control, RESET_N pin B7. + maxItems: 1 + + port@0: + type: object + description: + A port node pointing to MIPI DSI host port node. + + port@1: + type: object + description: + A port node pointing to MIPI DPI host port node. + + port@2: + type: object + description: + A port node pointing to panel port node. + +required: + - "#address-cells" + - "#size-cells" + - compatible + - reg + - port@0 + - port@2 + +example: + - | + anx7625_bridge: encoder@58 { + compatible =3D "analogix,anx7625"; + reg =3D <0x58>; + status =3D "okay"; + panel-flags =3D <1>; + enable-gpios =3D <&pio 45 GPIO_ACTIVE_HIGH>; + reset-gpios =3D <&pio 73 GPIO_ACTIVE_HIGH>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + anx_1_in: endpoint { + remote-endpoint =3D <&mipi_dsi>; + }; + }; + + port@2 { + reg =3D <2>; + anx_1_out: endpoint { + remote-endpoint =3D <&panel_in>; + }; + }; + }; --=20 2.7.4