Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2565431ybz; Sun, 26 Apr 2020 23:20:07 -0700 (PDT) X-Google-Smtp-Source: APiQypJtDDTPB5Iu6G0IPUcbJBq1btnUDZEL+nptYVbojFr04CUn9kme4fjXM693C/yNirSiUfZu X-Received: by 2002:a05:6402:1b91:: with SMTP id cc17mr16592865edb.46.1587968407138; Sun, 26 Apr 2020 23:20:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587968407; cv=pass; d=google.com; s=arc-20160816; b=xKOYytzvgEcx/hir+LtBIXEwwH7pf99YU2dQwaWEh3B3QUDe4LdRwebS+b04EISAGi U1XMUiNEcnpk7PTUBkyC4RJGNo0kt8OD+umDTdpN52hA3hQsUU9TzZBXCjBbOk5D6niM exkBukp3K4i6KWAtBwSQIElcaEmrPSX93Z5DHuQ89cr6TczlS6ucQ9WKzQVrZiXlhz+6 WNwv6cKK7Do+joXUtcGByg5wGViEbXY2SlN37Ihmy1R32R+rsECjGm0FZaRXePwaRPJT imXNnTDIB+Un1hgze9IuTOSm6zs0mMMVxqdBUPEj5PE2t5QQWOV/TpKeEiDdHmwfbMAP i6Wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=h3dfc4ziFptkt/bkpbGubhkAqjkBfgj2Sy9MOVNPYkU=; b=loZp2suYQ+adM+d+kftwtHMFAR/ClVYlkBGX4NLabKTirw7HiKTpTKIPhuhXt2CFLL dZUaPbcuWG6gpNQLOnwfRHFVsJ6put1ZXf/0Myzaqvt/tDgdl7JIx2E0VbGA51MhwDko 1TotFfykkoN1GKLHwVr6t2hBTp9ypPjqvR1ZnfxrYEIisSaeHN1DG7bsZlSiHYzO2dJX oKpEsaSJF8dIjmuGatZdDfII3XMoZ0Cv0BMqPCLajZ8nknQkRjNT3qEZxk0bmAWp4d/H 6DXSqCOPA39TwJC2cTaZA/UN2w6iOwoxsWYLu1nJW/wgerVFFoo+OE6C7wnFcqkadBej 6Oug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=mwRZWTVg; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t13si7323071eds.358.2020.04.26.23.19.44; Sun, 26 Apr 2020 23:20:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=mwRZWTVg; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726701AbgD0GRz (ORCPT + 99 others); Mon, 27 Apr 2020 02:17:55 -0400 Received: from mail-eopbgr750114.outbound.protection.outlook.com ([40.107.75.114]:16801 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726242AbgD0GRy (ORCPT ); Mon, 27 Apr 2020 02:17:54 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GWduBtI0zquMtmAOubanQOmGySMeHZ1SmapWa9w8tow2ivkaUvwKZ5T2lZcfvDOrX/YT1efhEHZV34esvPxVZDmTQeElgUEpQA7G5iu3lpJAar9XBhRdr8kRCdncbyk/C148VYxrvRC2nBDTdAuyU0McOnd9YyWOvuhN9Ic1bU0tRQ1s0E8rAbeGHPaJ5g30P9TRbK6K1OfYQgKDpJoQGxOJF89xOnsKf62VGyPFuAZbNSKPFbjSgjyDD6/KGitMhHymslZKyf07t+/A/zVSido0JzRdOau3JnvLtqVwzYxP4TRJcmDzKpuZD6ixyU+Tye5eVGcMFH856Qd36hRCcQ== 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=h3dfc4ziFptkt/bkpbGubhkAqjkBfgj2Sy9MOVNPYkU=; b=PKEZvk0mOJJBFYWLP2kfm0tVCdINFk9ZGwMBjiSEPjV+JUhKABoZd9zzob9UV9i+pHEL95uxoTb4JVZhil4FNw+Ad7NV7xAilG894uj8eBET4K98taNJHSROEvKk54KP24Ci6J/gF88xnSMUOPrNebqQBy+MsQzPpQLANx2Y5kOm29+Ylv4OLjL1LbHkjvRQZZ2vCipcy3hvkaLxcrosuiwFZIr8mhb28Ns0vucmY3TwpfiJOiqPotJEwAQx4jRpNnoMGLdW+8AxrkFQNTFIQXpKkPi4sE/Tv82WtKo9/wWt+w3TxKigEhCvZMxJzbJ3tmqwmz8CUkB1KvwLZwD+IQ== 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=h3dfc4ziFptkt/bkpbGubhkAqjkBfgj2Sy9MOVNPYkU=; b=mwRZWTVgZq+qzF8Ne9FjM+8CsAB/aibYw7h0oAHhQncSd54o8PEFyilkN7GM5TV9cnsxOzCeri8E2U4L+SwPRF/K+y/SXmWQoRLBtvlse/XSFayb62ES/Iq/tALnwdzTzlCI0I3hawux2NpXw4aK6i02dDgrzxlAbWQ6zxB/Dl8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=xji@analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BY5PR04MB6518.namprd04.prod.outlook.com (2603:10b6:a03:1d4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Mon, 27 Apr 2020 06:17:51 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::4517:bcc8:a3bd:407f]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::4517:bcc8:a3bd:407f%6]) with mapi id 15.20.2937.023; Mon, 27 Apr 2020 06:17:51 +0000 Date: Mon, 27 Apr 2020 14:17:46 +0800 From: Xin Ji To: devel@driverdev.osuosl.org, Laurent Pinchart , Andrzej Hajda , Nicolas Boichat 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 v8 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Message-ID: <67ccead807b7d0a50df479cab2c9d325041224bc.1587880280.git.xji@analogixsemi.com> References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-ClientProxiedBy: HK2PR02CA0175.apcprd02.prod.outlook.com (2603:1096:201:21::11) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xin-VirtualBox (114.247.245.254) by HK2PR02CA0175.apcprd02.prod.outlook.com (2603:1096:201:21::11) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.2937.13 via Frontend Transport; Mon, 27 Apr 2020 06:17:50 +0000 X-Originating-IP: [114.247.245.254] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 72ed83a8-ba5c-40e3-2f3c-08d7ea72b6db X-MS-TrafficTypeDiagnostic: BY5PR04MB6518: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-Forefront-PRVS: 0386B406AA X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR04MB6739.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(366004)(376002)(136003)(346002)(39840400004)(396003)(6486002)(81156014)(8936002)(5660300002)(36756003)(8676002)(26005)(2906002)(6496006)(52116002)(110136005)(54906003)(66476007)(66556008)(66946007)(956004)(2616005)(7416002)(6666004)(4326008)(186003)(16526019)(478600001)(316002)(86362001)(107886003);DIR:OUT;SFP:1102; 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: Sz9TiZNg3TWlejVBTxHJ6ARUwZ7mWB/7w/2SUi0jegod7+whUYyLzzJpL91y8ejuOXFHJtziVD5ZKmG/2oxup09HtXk/KkPKtZzpYlh38Ue0zzDRXvAv3vlemi/sRUC8qFPwV5dLY4fDTrDC72YeGLE6/nXi+DeAOCBrrvM+mngi+epE4xvneli6gv0th2UffUd8NsDx30Cww37w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kwpCg7Z0tN+uU7xqXXjkPj/JMfMLzEjwcV21SIMWIOq95atSZHgb4joe+EEEZCb96ae3H5dYUiHe5LzU13ARS/f4hopykuC X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72ed83a8-ba5c-40e3-2f3c-08d7ea72b6db X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2020 06:17:51.4548 (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: lhiEb3tBfLqCSADDcYDplw0PETnOpNOefWtkGSpZfyVAXDK4DQnV1MZnEqYMaV4HwLb6jX+aCGaNbxVpxX0Q0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR04MB6518 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 = "analogix,anx7625"; reg = <0x58>; status = "okay"; panel-flags = <1>; enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; anx_1_in: endpoint { remote-endpoint = <&mipi_dsi>; }; }; port@2 { reg = <2>; anx_1_out: endpoint { remote-endpoint = <&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/anx7625.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 = "analogix,anx7625"; + reg = <0x58>; + status = "okay"; + panel-flags = <1>; + enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + anx_1_in: endpoint { + remote-endpoint = <&mipi_dsi>; + }; + }; + + port@2 { + reg = <2>; + anx_1_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; -- 2.7.4