Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2185615ybx; Fri, 8 Nov 2019 01:01:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzMwys8WmuvcJEnXhWzY2UbBssRUBM3zC71nx81x+aLDXWrPnJr8et7hNzJ4t3XxSytiNph X-Received: by 2002:a17:906:7094:: with SMTP id b20mr7586497ejk.134.1573203701676; Fri, 08 Nov 2019 01:01:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573203701; cv=pass; d=google.com; s=arc-20160816; b=xof5B26A0RHWIZLKlzl6P/feDIN3Cguo2Ehly56SNGbNiMR3Wv/ZHRvhWkK6y09iMP cW5gMnhZZtYQb4ORGdUqUyeRcu7yc+m4R9sj00JIFC214zxgDGwwjVWkJaMuMOG+dev2 zcjmwwc1JCSsUMl+JxIGOUsWrHr6ic0H9S/oF6yYIGIKuHetFNYhwq4HfM1yVUpR6fo+ bxrvBMipL3dUCoCeuOmhLpPQhNOAefqbDyftMzhugpn59gF0+eccFeWXvQghNX6tAcze Xb4U177gF9tMqtTXLGZs18+kP82REcnujeERBp9KJHg3Zs3X99lEh7QJLXFfCptDBLqQ DMSQ== 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=UzQ6IdQxwHQZ/EGc0FnUaFq+aXz6rhewA0tSBlUD1HpKLaK8l4V/kP+EuVbAKKIips eWlD5Gm3SchQZh/Y0bvnDj2ZmDR/bSU66NkuwGJbvezaY9Ri6KDAJGwMtwVUIyyJBnIa aBe6+GP0UKILq21eLYQqaOrefgquQ85VK4Zs36hnL5NOSEPighSLQvHtkFXLzsd3RmjY BxXYCXGtJqF5xFhhQBC2sv7IncKs9bFfH8iNOWjg2CfSw1Q8Qttb2wUDNG87kdNsW0dx X362kxxM6kkHEgCvkLJOzMqlAWisCikE1BrRF8qKWELrzujgRgc0YL1gE7bsV6qsVY3h Rnug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=cRuJWMQe; 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 mh20si3122827ejb.268.2019.11.08.01.01.17; Fri, 08 Nov 2019 01:01:41 -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=cRuJWMQe; 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 S1730948AbfKHJAH (ORCPT + 99 others); Fri, 8 Nov 2019 04:00:07 -0500 Received: from mail-eopbgr820134.outbound.protection.outlook.com ([40.107.82.134]:15624 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730281AbfKHJAH (ORCPT ); Fri, 8 Nov 2019 04:00:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aJyWU0h31FC43F7PLDtgG0axCJ9XXUVDVVx8wHNN4PuysJIAxTA7xl3+Mu7rKuPySGrwrwThIu6szs8A/0WihiOoxQ758ZwdnpbNZXzNkp11sGum8iEQDfiRi5crScDukTbv+PjQ/oaqRbYO22mgjXRznnVu7HNZodB0k1c0yItWNa51r9cxRv629nCdz6O+NOMZ2r1k6tX5PqcKoRP24+YgpGGwQr221xTZbGdN6W5+BlkRyUAhg7G+eO3hPNFxI/oXhZUgWBOK/5/jjWdTW2QSH4mCh+/z5v4AXLckw8Dw4NpP9Z2JvrJL+yndwSrgOdcJXrIeE/IXJDrZ7zTOHw== 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=nH//AnFZVOZuro4vVpuxiZQKRb9pcotK8TP6+8GfHjkhDycWX6cznF6i8gf/ajO1je/m1Jvj8Cfs1MuokFaS3LSRZlngVcJRx652qLx0ZhPLp+muOtyCYJXNoalIdobHlZZJr/uidczIwlZDtsaaMJoQeufKeqyd/6uiQ0b1MBt/9C5KJWgySoys090gO9saHNIaSTk3OtZN/FJmo0OzrEepX58OF/zkH/1BA0N/HWyWS2gunt8Oo21w8Ju1tST/T4Ju7Fb+CXVguKqYOmqw0ioGiruYbOzf8/5Xr6kLEM0Lndm6+oMlokQmhjpd4OpwyUJQ2J+VdxAPRjkiZ0KoaA== 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=cRuJWMQeN83dRadZQJknUZDy+lAYeJeCI4F4fVB9WRbrUcOhiIEgVL1m9EvnbxDolCRXiuyaurLHeBk8X7Q+VU50H4+rRLqTdv4LYjzJRTVcPpiBaLV0DqNOXD4Rpoz7azq2t96+PaBWpa6P0plr8HaaT5sLvz1Jz4BnKaqqKvg= Received: from SN6PR04MB4543.namprd04.prod.outlook.com (52.135.120.29) by SN6PR04MB4942.namprd04.prod.outlook.com (52.135.114.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Fri, 8 Nov 2019 08:59:29 +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.023; Fri, 8 Nov 2019 08:59:29 +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 v4 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Topic: [PATCH v4 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Index: AQHVlhLT9mIfq1mje06JeNP9Te/Hmg== Date: Fri, 8 Nov 2019 08:59:27 +0000 Message-ID: <67ccead807b7d0a50df479cab2c9d325041224bc.1573203023.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: HK0PR03CA0036.apcprd03.prod.outlook.com (2603:1096:203:2f::24) 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: 782ee8a9-9f06-4456-7310-08d76429f4e4 x-ms-traffictypediagnostic: SN6PR04MB4942: 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: 0215D7173F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39850400004)(396003)(366004)(376002)(136003)(346002)(189003)(199004)(71200400001)(256004)(2501003)(486006)(8676002)(54906003)(2906002)(6486002)(107886003)(6512007)(6306002)(11346002)(446003)(6436002)(2616005)(4326008)(476003)(25786009)(102836004)(66066001)(8936002)(26005)(118296001)(7416002)(52116002)(7736002)(66446008)(66476007)(66556008)(66946007)(99286004)(316002)(5660300002)(86362001)(71190400001)(186003)(36756003)(305945005)(386003)(81166006)(110136005)(81156014)(3846002)(6506007)(76176011)(14454004)(6116002)(64756008)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB4942;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: DBLSB9luvgYbuGSsNVOTbiyltskqmeKuDE2mgktBGrVI9Dtji22ITF+8POKHN2xobynzSsuDy8E4dPffclr3J0c9frW7TMGT4oxAZf6iZVcd33qrcyN3cyvvDOrFFhV5wDyX/vjM3gQVdegF9E4IgVhQlno0BEE4XGum1ZVo3NyPSDhljuVS/vmKw/pqcBJcw9DPhnbYyrWU9wIAup+9iOwIo/N/p1Y096KNOcPsKVaT7MYYYAZBSjGyKRsDzVMQVEuj/ZBsID7rHrmUSlJQgFE9w6jM2lE/U0ND9cY9Qe+ECrln9LjKItnMqq4pGkPv74ZYUjulvCkOfakGLrmBkFT3bVkoiZrTKl5a2OxJ6W3UTW0HBnxK7V5fGvAnN5rDDlmwN+bylaH5bLf+gX+GiPGPXxsTG/ON2UBA9IqlUXPSbkCrhj1HuaOKRfPOKXRk/it/qdm9W7vT2gUb3toxwDFKmbM0UtlmI5DcOvlKQiQ= Content-Type: text/plain; charset="us-ascii" Content-ID: <457F594ADA47CC4FBDFBC5F56E002D87@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 782ee8a9-9f06-4456-7310-08d76429f4e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2019 08:59:28.3150 (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: hiu1z2SSoVEDFsKT9cLQ1LCv5eWmMJbvXh7MISMY9KPIDWr14UGQ56/Xes9hmms1dQeqT2BkVi3N01JU0ksi2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4942 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