Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2122495ybp; Thu, 10 Oct 2019 02:34:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwC1v4X09PLwcd9grwvoPEb+E+iObPqr+kvlWflYCNNhfrRN2g11UAfxpk15/ziaDi8PEvl X-Received: by 2002:a17:906:470d:: with SMTP id y13mr7136459ejq.241.1570700066369; Thu, 10 Oct 2019 02:34:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570700066; cv=pass; d=google.com; s=arc-20160816; b=UULadjQ+wxQ5AST3EAxG/hYnqaIMYlvR9ss9Oo3b0x2fkbcb9jC2tcPzR1G1qWo6YX piPc70XoihFmEoiY94MTbMygeEDTcTBrXiLAt4BS3b+9ZZJjx/rxpRUdFw4eKTKrT9mO tI06rd5GJcHBjBuIczsKfy18+QHgmPum5oWUI3q8DXVADiMSJ+D9SJuOo64v8RjuH0TV y9N6pUW++mnJh+b7sXt6rDJSYgCxnkX15xTNdoX3nWYmtdTkERJ1JZXW9/6icfWDr126 RwlvKh63jCUwiVtBkFPQfeVTInhK3UDD/czm8Gq93i7KHlHa9HlPo3fFkS9FZLIAkolR Kp5A== 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=rrgTNskGg8ZuhmFhtCjGXkTrtLDGZr+OZQHgY6yQ/BY=; b=A0IAkSklrzKFIbEvWwwt6RcJBcvZg3CFVpGKnJ34FhTlDRI3IJxwMWAIXj4A2NwazE AchMi/IVsH7Wzs59g7istKE38AScx6LCWCHkMNhl6jSz1BycGsRirimuzagxNBV38iib fS61D2gQhTYYycHS0TlQU53fFaitoxwU1feXxFTDsfnz+F3fOUxwXLqoAAnxUFf2sGbO gfdTY2qH6I87dkXymeCCA+95azWIOhQQTzOYpg4tgdFqWeMMeHe+u2QbzW+7FxIdNOR+ gHL0nBkUfsD5ioJQV6Faxto7bOirkrl5Lguxn3b09Ump6WecM4TXMz1czCw5KMlhW7Lm xxRQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=rEAgOEFU; 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 w18si3256687eda.445.2019.10.10.02.34.03; Thu, 10 Oct 2019 02:34:26 -0700 (PDT) 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=rEAgOEFU; 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 S2387629AbfJJJc4 (ORCPT + 99 others); Thu, 10 Oct 2019 05:32:56 -0400 Received: from mail-eopbgr770132.outbound.protection.outlook.com ([40.107.77.132]:7502 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733134AbfJJJc4 (ORCPT ); Thu, 10 Oct 2019 05:32:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bcVtowPkP7jwJJ5bqOm+J9nzzmQcX/KCdEB+rcpCgaftjUKGK6fuZtWS/8C0UeDk745suaSsDJDhwvQcVp+wjKe4SrXPTuT/DtoFQ0qa62r4fwocAx10S6KwvVgItetsAF8kyMNLbiePZuHwYcR9NVaX4nwUiVCCzTozLGrdKC/bYSjXZYLHiRTdFll2uuZCfrGWA/2+SrYl4TzvUd5W500Cbiy04dy/jh0ZD2dxm/36BX5bCRILJecicm5xzSx82c0E5wNBQWL3IZejwAin0ZQNOHFiY8YTY1pEfFsVx2732XYqHqk4PSphC/ml4bO34Npm0xul22Jro8Fogt4A1A== 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=rrgTNskGg8ZuhmFhtCjGXkTrtLDGZr+OZQHgY6yQ/BY=; b=UzQh2Yprnxob11qgJyfhmfCA4Ysvx11nxXrj3qBhIGSXhvHeX2mB6iO3QDVTdjd5E/bGg9GZF2BlCCjsuexAouzq3/1dfCjEQ+Dm4qsxJls66adPz7QyCFvp33A1IpU8uvngMg+oPGlU2zwinceynLMuyffhG15bRyGJKbsMgRXJEOpM2Eq8ZWddOdIH0nMXE9brk+yB9aLOM69OJGh4Adu6Nwt5miC2Avbv1ncayWYBSJmAfkdZs3yQI9izaL7YMLJMYTj4DoDfvP5FIhffN+5Z37FboWHei8pVrnLUXsVrnwOv/syE3YlYp9JQ3TflMcp+PtdQmhQwU/+KkFAkOQ== 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=rrgTNskGg8ZuhmFhtCjGXkTrtLDGZr+OZQHgY6yQ/BY=; b=rEAgOEFUHoPvhEJ3NyR/nEy5N/dTH/EWRwBOuBH0oDbkNDJ598RcwLKtqWX3+R37y3T6C7G34dsgX1beFPv5jCRWa4tE1erGhHeFZX2z76DiAE5Gg/hRnUAqEbi5DhbXlCFmyf2E9L8lnUnK2Xtr9SrBBZqgyvh0NbiDC/vXA6c= Received: from SN6PR04MB4543.namprd04.prod.outlook.com (52.135.120.29) by SN6PR04MB5374.namprd04.prod.outlook.com (20.178.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.18; Thu, 10 Oct 2019 09:32:53 +0000 Received: from SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::c55e:6c70:adbb:cf87]) by SN6PR04MB4543.namprd04.prod.outlook.com ([fe80::c55e:6c70:adbb:cf87%5]) with mapi id 15.20.2347.016; Thu, 10 Oct 2019 09:32:53 +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" , Sheng Pan Subject: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Topic: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Index: AQHVf02w0tar4Vo+gkmhei+cTfK0uQ== Date: Thu, 10 Oct 2019 09:32:53 +0000 Message-ID: <75bb8a47d2c3c1f979c6d62158c21988b846e79b.1570699576.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: HK0P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:203:17::22) 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: a98796f1-9818-403c-f437-08d74d64d346 x-ms-traffictypediagnostic: SN6PR04MB5374: 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: 018632C080 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39850400004)(366004)(136003)(346002)(376002)(199004)(189003)(99286004)(4326008)(71200400001)(71190400001)(6506007)(256004)(52116002)(386003)(76176011)(316002)(305945005)(2906002)(7736002)(186003)(102836004)(478600001)(25786009)(118296001)(26005)(14454004)(66066001)(8676002)(446003)(11346002)(86362001)(6436002)(5660300002)(8936002)(6306002)(2501003)(81166006)(81156014)(6512007)(486006)(54906003)(110136005)(7416002)(6116002)(3846002)(2616005)(6486002)(476003)(66556008)(66946007)(66476007)(107886003)(64756008)(66446008)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB5374;H:SN6PR04MB4543.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX: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: VNKIk+ezn9/3Oq0wGijk9CdJElpYUOP9DKOfMMxD+12e/jpY2j1DZ+uCwdgjvIcVPI2YBEoFmkMpdmmqlNnPj3Odpb5CvNBr6HhMUEMfeMVuXPJrhx+Oo+j5yzHowFXsMw744UYzeDLpKEJ3KTN4DZehvgCQRBDmYieH3MXgy/kuntEbHNzlZ5LOBlroU4PGQH3oippssDEPxB3zSESK55IGChKCWvcoic8mdHA1FGzEcRC3xUc11ahE7zy8iIq5slkNc+3qgl1u6cM8xehNuAV6kupF2vVOQFWKMfyV0Fevv25egBvrraCHJWeWWePeekusQnzpgxmmNaH/zXEcXrneMEZWLRMSzlhnAtakFMHSTHGruyWRWHrkz0vCoymZoj//BAuO5BxB7cLg9UpRU7O1paVTX1TX9javd+Z9sZ5pjpMYTEIuaYJS/Ld8NJC40Paj0RXX4gBWFbUXl4inug== Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: a98796f1-9818-403c-f437-08d74d64d346 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2019 09:32:53.6443 (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: 9ttDePMQPlv/HbvZHwTUYZlKGjgabEC7gzxNUNyxB0emIBYp/EBr/jyjmOZX036t1346PuDi17nTfilsUObOug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB5374 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@3 { reg =3D <3>; anx_1_out: endpoint { remote-endpoint =3D <&panel_in>; }; }; }; Signed-off-by: Xin Ji --- .../bindings/display/bridge/anx7625.yaml | 96 ++++++++++++++++++= ++++ 1 file changed, 96 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..fc84683 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/anx7625.yaml @@ -0,0 +1,96 @@ +# 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 external connector port node. + + port@3: + type: object + description: + A port node pointing to eDP port node. + +required: + - "#address-cells" + - "#size-cells" + - compatible + - reg + - port@0 + - port@3 + +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@3 { + reg =3D <3>; + anx_1_out: endpoint { + remote-endpoint =3D <&panel_in>; + }; + }; + }; --=20 2.7.4